- 论坛徽章:
- 0
|
回复 #2 天外闲云 的帖子
非常感激你的回复,由于我刚接触这个,还是个菜鸟,所以你说的我不太明白,不过我从网上找了一个程序测试摄像头的,好像和你说的有点像,我执行了一下,这是执行结果,你看一下,希望再次得到你的指点,非常非常感谢!!!!!
open /dev/video0 success.
query capability success.
name = Z-star Vimicro zc0301p.
type = VID_TYPE_CAPTURE.
channels = 1
maxwidth = 640,maxheight = 480
minwidth = 176,minheight = 144
channel 0 is available.
channel name = ZC301-2.
VIDEO_TYPE_CAMERA = channel is a camera.
channel norm = 0.
query window success.
x = 0,y = 0.
width = 320,height = 240.
query picture success.
brightness = 32768.
contrast = 32768.
depth = 24,palette = VIDEO_PALETTE_RGB24
linux-ku1o:~/mysoft # ./v4l
open /dev/video0 success.
query capability success.
name = Z-star Vimicro zc0301p.
type = VID_TYPE_CAPTURE.
channels = 1
maxwidth = 640,maxheight = 480
minwidth = 176,minheight = 144
channel 0 is available.
channel name = ZC301-2.
VIDEO_TYPE_CAMERA = channel is a camera.
channel norm = 0.
query window success.
x = 0,y = 0.
width = 320,height = 240.
query picture success.
brightness = 32768.
contrast = 32768.
depth = 24,palette = VIDEO_PALETTE_RGB24
linux-ku1o:~/mysoft # ./v4l
open /dev/video0 success.
query capability success.
name = Z-star Vimicro zc0301p.
type = VID_TYPE_CAPTURE.
channels = 1
maxwidth = 640,maxheight = 480
minwidth = 176,minheight = 144
channel 0 is available.
channel name = ZC301-2.
VIDEO_TYPE_CAMERA = channel is a camera.
channel norm = 0.
query window success.
x = 0,y = 0.
width = 320,height = 240.
query picture success.
brightness = 32768.
contrast = 32768.
depth = 24,palette = VIDEO_PALETTE_RGB24 |
|