
在ubuntu 11.10环境下安装zoneminder
步骤按照官方wiki
http://www.zoneminder.com/wiki/index.ph ... 29_Desktop
和
http://www.linuxscrew.com/2007/11/05/ho ... nd-ubuntu/
最后始终不得要领,怎么样也启动不了摄像头,可是摄像头在cheese等软件下运行良好。
难道是不兼容,不支持国产摄像头?翻遍了中文论坛,没有好的解决方法,无奈之下只能去啃英文论坛,久经折腾,在我快放弃的时候,看到这样一篇帖子,简直是神来之贴啊,链接如下
http://www.justlinux.com/forum/showthread.php?p=891203
查看一下我的摄像头
代码: 全选
zmu -d /dev/video0 -q -v
change the format of color palette from RGB into YUYV Bingo! It woks! lolVideo Device: /dev/video0
General Capabilities
Driver: uvcvideo
Card: USB2.0 PC CAMERA
Bus: usb-0000:00:1d.7-2
Version: 1.1.0
Type: 0x4000001
Supports video capture (X)
Does not support video output
Does not support frame buffer overlay
Does not support VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Does not support read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
Formats:
YUV 4:2:2 (YUYV) (YUYV)
Crop Capabilities
Bounds: 320 x 240
Default: 320 x 240
Inputs: 1
Input 0
Name: Camera 1
Type: Camera
Audioset: 00000000
Standards: 0x0
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected