主题 : 摄像头装上去后能测试到,为什么显示不了图像? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 639
精华: 0
发帖: 2
金钱: 20 两
威望: 2 点
综合积分: 4 分
注册时间: 2008-05-05
最后登录: 2008-05-11
楼主  发表于: 2008-05-05 21:24

 摄像头装上去后能测试到,为什么显示不了图像?

用的QQ2440V3,nec3.5的屏幕
接上摄像头后
# usb 1-1: new full speed USB device using s3c2410-ohci and address 2
drivers/usb/media/gspca/gspca_core.c: USB SPCA5XX camera found.(ZC3XX)

[root@FriendlyARM /]# ls /dev/v4l/video0
/dev/v4l/video0

这步能看到设备了,然后

[root@FriendlyARM /]# spcacat -p 100ms -N5

Spcaview version: 1.1.7 date: 06:11:2006 (C) mxhaard@magic.fr
video /dev/video0
Camera found: Z-star Vimicro zc0301p                                                                               
VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=24 palette=4
Bridge found: ZC301-2 
is_spca SPCA505
is_spca SPCA506
is_spca SPCA501
is_spca SPCA508         
is_spca SPCA504       
is_spca SPCA500           
is_spca SPCA504B                                                                                                   
is_spca SPCA533         
is_spca SPCA504C   
is_spca SPCA561   
is_spca SPCA536               
is_spca SN9C102           
is_spca ZR364XX     
is_spca ZC301-2       
wrong spca5xx device       
StreamId: 0  Camera       
try palette 21 depth 8         
Available  palette 21                     
try palette 15 depth 12       
Available  palette 15       
try palette 4 depth 24       
Available  palette 4                       
try palette 3 depth 16         
Available  palette 3         
try palette 5 depth 32         
Available  palette 5         
probe size in
Available Resolutions width 640  heigth 480 
Available Resolutions width 384  heigth 288 
Available Resolutions width 352  heigth 288 
Available Resolutions width 320  heigth 240 
Available Resolutions width 192  heigth 144 
Available Resolutions width 176  heigth 144 
Format asked 15 check 4   
VIDIOCSPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=12 palette=15
VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=12 palette=15
grabbing method default MMAP asked       
VIDIOCGMBUF size 2457616  frames 2  offets[0]=0 offsets[1]=1228808   
Waiting .... for Incoming Events. CTrl_c to stop !!!!   
picture jpeg 01:01:1970-00:04:51-P0000.jpg
Killed 
我是新手,这是哪出错了,我看不明白。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-05-05 21:42
看起来好像已经开始抓第一幅图了,接着程序收到信号被终止了,按了Ctrl+C?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 639
精华: 0
发帖: 2
金钱: 20 两
威望: 2 点
综合积分: 4 分
注册时间: 2008-05-05
最后登录: 2008-05-11
2楼  发表于: 2008-05-06 15:17
好像也是,但是我都没碰键盘啊!
级别: 新手上路
UID: 3358
精华: 0
发帖: 2
金钱: 20 两
威望: 20 点
综合积分: 4 分
注册时间: 2009-01-06
最后登录: 2009-01-07
3楼  发表于: 2009-01-07 09:13

 回 1楼(kasim) 的帖子

麻烦问一下这个问题到底是因为什么呢。。。我遇到了一样的问题。。。望指教啊~
级别: 新手上路
UID: 3358
精华: 0
发帖: 2
金钱: 20 两
威望: 20 点
综合积分: 4 分
注册时间: 2009-01-06
最后登录: 2009-01-07
4楼  发表于: 2009-01-07 09:14

 回 2楼(waterjoe) 的帖子

这个问题解决了么?求教啊~~~~~
级别: 新手上路
UID: 2245
精华: 0
发帖: 11
金钱: 105 两
威望: 83 点
综合积分: 22 分
注册时间: 2008-11-05
最后登录: 2009-12-15
5楼  发表于: 2009-04-06 13:05
我也遇到这个问题了 请问如果解决啊
谢谢
级别: 新手上路
UID: 2245
精华: 0
发帖: 11
金钱: 105 两
威望: 83 点
综合积分: 22 分
注册时间: 2008-11-05
最后登录: 2009-12-15
6楼  发表于: 2009-04-06 13:14
刚才google了一下,
shell启动后,输入命令行ln -s /dev/v4l/video0 /dev/video(或者在rcS文件中加入这一条)
发现可以了,
但是不知道怎么查看采集的图片 还是请求版主给与帮助 谢谢
级别: 新手上路
UID: 4346
精华: 0
发帖: 4
金钱: 40 两
威望: 40 点
综合积分: 8 分
注册时间: 2009-03-10
最后登录: 2009-06-13
7楼  发表于: 2009-05-07 23:58
我的也是这个情况,采集到的图片全是黑的。。