CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
123
返回列表 发新帖
楼主: tll

如何使用mjpg-streamer(视频流) 【教程】

[复制链接]
 楼主| 发表于 2013-6-1 05:32:23 | 显示全部楼层
SUNROC1 发表于 2013-5-30 15:09
我执行出现
如图:

设置一下,摄像头调调
回复 支持 反对

使用道具 举报

发表于 2013-6-1 10:16:40 | 显示全部楼层
tll 发表于 2013-6-1 05:32
设置一下,摄像头调调

我把 -y 去掉就行了
回复 支持 反对

使用道具 举报

发表于 2013-6-1 10:27:09 | 显示全部楼层
SUNROC1 发表于 2013-6-1 10:16
我把 -y 去掉就行了

http://cb.e-fly.org/cb-cam.html

我也装了
回复 支持 反对

使用道具 举报

发表于 2013-6-1 10:50:08 | 显示全部楼层
Cannikin 发表于 2013-6-1 10:27
http://cb.e-fly.org/cb-cam.html

我也装了

看到你了,很棒
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-6-1 14:46:08 | 显示全部楼层
SUNROC1 发表于 2013-6-1 10:16
我把 -y 去掉就行了

我说明了,如果你的摄像头是YUV要加-y,不是则不加,因为大部分摄像头都是yuv,所以我教程里有写-y
回复 支持 反对

使用道具 举报

发表于 2013-8-24 11:39:14 | 显示全部楼层
本帖最后由 yzbx 于 2013-8-24 11:40 编辑

驱动有.ls /dev/v* 会出现vedio0
加上了-y, 也试过不加-y, 系统是linaro 1.1,但和楼主的不一样。对比论坛里的帖子,发现多了"control exists, File exits",摄像头用的是环宇飞扬V8,在主机ubuntu上用没有问题。但在cubieboard 上运行就看不到图片。浏览器没有问题,在ubuntu主机上运行./start,可以远程查看视频。在cubieboard 上运行./start.sh,ubuntu主机和cubieboard上均显示没有空白,没有图片。免安装的版本XX.7z也是一样的情况。
是不是有驱动也不一定能用?
以下是执行情况
  1. cubie@cubieboard:~/mjpg-streamer$ ./start.sh
  2. MJPG Streamer Version: svn rev: 3:172
  3. i: Using V4L2 device.: /dev/video0
  4. i: Desired Resolution: 640 x 480
  5. i: Frames Per Second.: 5
  6. i: Format............: YUV
  7. i: JPEG Quality......: 80
  8. i: The format asked unavailable, so the width 320 height 240
  9. Adding control for Pan (relative)
  10. Control exists: File exists
  11. Adding control for Tilt (relative)
  12. Control exists: File exists
  13. Adding control for Pan Reset
  14. Control exists: File exists
  15. Adding control for Tilt Reset
  16. Control exists: File exists
  17. Adding control for Pan/tilt Reset
  18. Control exists: File exists
  19. Adding control for Focus (absolute)
  20. Control exists: File exists
  21. mapping control for Pan (relative)
  22. UVCIOC_CTRL_MAP - Error: No such file or directory
  23. mapping control for Tilt (relative)
  24. UVCIOC_CTRL_MAP - Error: No such file or directory
  25. mapping control for Pan Reset
  26. UVCIOC_CTRL_MAP - Error: No such file or directory
  27. mapping control for Tilt Reset
  28. UVCIOC_CTRL_MAP - Error: No such file or directory
  29. mapping control for Pan/tilt Reset
  30. UVCIOC_CTRL_MAP - Error: No such file or directory
  31. mapping control for Focus (absolute)
  32. UVCIOC_CTRL_MAP - Error: No such file or directory
  33. mapping control for LED1 Mode
  34. UVCIOC_CTRL_MAP - Error: No such file or directory
  35. mapping control for LED1 Frequency
  36. UVCIOC_CTRL_MAP - Error: No such file or directory
  37. mapping control for Disable video processing
  38. UVCIOC_CTRL_MAP - Error: No such file or directory
  39. mapping control for Raw bits per pixel
  40. UVCIOC_CTRL_MAP - Error: No such file or directory
  41. o: www-folder-path...: ./www/
  42. o: HTTP TCP port.....: 8080
  43. o: username:password.: disabled
  44. o: commands..........: enabled
复制代码
回复 支持 反对

使用道具 举报

发表于 2014-7-24 10:45:51 | 显示全部楼层
good,mark一下
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-16 19:13 , Processed in 0.022191 second(s), 13 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部