小R科技-WIFI机器人网·机器人创意工作室

 找回密码
 立即注册
查看: 6250|回复: 0

关于mjpg_streamer的一个问题

[复制链接]
发表于 2013-7-12 17:01:07 | 显示全部楼层 |阅读模式
昨天我花了很长时间终于搞定了Openwrt挂载摄像头了。可是今天我发现了一个问题,如果我是用有线口连去路由器访问mjpg_streamer服务时,一切都是很正常的。但是如果换成无线连去路由器访问mjpg_streamer时,很快服务就会自动关闭。下面是我的测试信息。
root@OpenWrt:~# mjpg_streamer -i "input_uvc.so -r 640x480 -f 30" -o "output_http
.so -p 8080 -w /www/webcam"
MJPG Streamer Version: svn rev: exported
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 30
i: Format............: MJPEG
Adding control for Pan (relative)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Tilt (relative)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Pan Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Tilt Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Pan/tilt Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Focus (absolute)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
mapping control for Pan (relative)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Tilt (relative)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Pan Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Tilt Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Pan/tilt Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Focus (absolute)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for LED1 Mode
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for LED1 Frequency
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Disable video processing
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Raw bits per pixel
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
o: www-folder-path...: /www/webcam/
o: HTTP TCP port.....: 8080
o: username:password.: disabled
o: commands..........: enabled
Unable to dequeue buffer: Input/output error
i: Error grabbing frames

我觉得后面的这两句应该是重点。。
Unable to dequeue buffer: Input/output error
i: Error grabbing frames

捕获错误,有没有方法解决。为什么用有线访问没有这问题,但是无线就会出现呢。


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

新品特惠推荐上一条 /2 下一条

QQ|QQ技术咨询1|QQ技术咨询2|商务合作微信1:xiaorgeek001|商务合作微信2:XiaoRGEEK|诚聘英才|Archiver|手机版|小R科技-WIFI机器人网·机器人创意工作室 ( 粤ICP备15000788号-6 )

GMT+8, 2024-11-23 05:15 , Processed in 1.141789 second(s), 19 queries .

Powered by XiaoR GEEK X3.4

© 2014-2021 XiaoR GEEK

快速回复 返回顶部 返回列表