当前位置: 技术问答>linux和unix
spcaview的问题,各位高手帮忙看看呐
来源: 互联网 发布时间:2016-08-08
本文导语: 环境:ubuntu9.04 、spcaview-20071224 我在终端运行spcaview -d /dev/video0 出现如下信息,并显示花屏, Spcaview version: 1.1.8 date: 25:12:2007 (C) mxhaard@magic.fr Initializing SDL. SDL initialized. bpp 3 format 15 Using video device /dev/video0....
环境:ubuntu9.04 、spcaview-20071224
我在终端运行spcaview -d /dev/video0
出现如下信息,并显示花屏,
Spcaview version: 1.1.8 date: 25:12:2007 (C) mxhaard@magic.fr
Initializing SDL.
SDL initialized.
bpp 3 format 15
Using video device /dev/video0.
Initializing v4l.
**************** PROBING CAMERA *********************
Camera found: PC Camera
Hmm did not support Video_channel
*****************************************************
grabbing method default MMAP asked
VIDIOCGMBUF size 475136 frames 4 offets[0]=0 offsets[1]=118784
VIDIOCGPICT
brightnes=32896 hue=0 color=0 contrast=32768 whiteness=39321
depth=8 palette=0
VIDIOCSPICT
brightness=32896 hue=0 color=0 contrast=32768 whiteness=39321
depth=24 palette=15
cvsync err
.......
当我运行spcaview -f yuv -o myavifile.avi
信息如下:
Spcaview version: 1.1.8 date: 25:12:2007 (C) mxhaard@magic.fr
*** buffer overflow detected ***: spcaview terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7dadda8]
/lib/tls/i686/cmov/libc.so.6[0xb7dabeb0]
/lib/tls/i686/cmov/libc.so.6[0xb7dab7b7]
/lib/tls/i686/cmov/libc.so.6(__snprintf_chk+0x34)[0xb7dab6a4]
spcaview[0x804e3e5]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7cc6775]
spcaview[0x80499e1]
======= Memory map: ========
08048000-0805b000 r-xp 00000000 08:0b 18650 /usr/local/bin/spcaview
0805b000-0805c000 r--p 00012000 08:0b 18650 /usr/local/bin/spcaview
0805c000-0805d000 rw-p 00013000 08:0b 18650 /usr/local/bin/spcaview
我在终端运行spcaview -d /dev/video0
出现如下信息,并显示花屏,
Spcaview version: 1.1.8 date: 25:12:2007 (C) mxhaard@magic.fr
Initializing SDL.
SDL initialized.
bpp 3 format 15
Using video device /dev/video0.
Initializing v4l.
**************** PROBING CAMERA *********************
Camera found: PC Camera
Hmm did not support Video_channel
*****************************************************
grabbing method default MMAP asked
VIDIOCGMBUF size 475136 frames 4 offets[0]=0 offsets[1]=118784
VIDIOCGPICT
brightnes=32896 hue=0 color=0 contrast=32768 whiteness=39321
depth=8 palette=0
VIDIOCSPICT
brightness=32896 hue=0 color=0 contrast=32768 whiteness=39321
depth=24 palette=15
cvsync err
.......
当我运行spcaview -f yuv -o myavifile.avi
信息如下:
Spcaview version: 1.1.8 date: 25:12:2007 (C) mxhaard@magic.fr
*** buffer overflow detected ***: spcaview terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7dadda8]
/lib/tls/i686/cmov/libc.so.6[0xb7dabeb0]
/lib/tls/i686/cmov/libc.so.6[0xb7dab7b7]
/lib/tls/i686/cmov/libc.so.6(__snprintf_chk+0x34)[0xb7dab6a4]
spcaview[0x804e3e5]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7cc6775]
spcaview[0x80499e1]
======= Memory map: ========
08048000-0805b000 r-xp 00000000 08:0b 18650 /usr/local/bin/spcaview
0805b000-0805c000 r--p 00012000 08:0b 18650 /usr/local/bin/spcaview
0805c000-0805d000 rw-p 00013000 08:0b 18650 /usr/local/bin/spcaview
|
Hmm did not support Video_channel
|
重装一下你的 摄像头驱动试试。
http://www.linux-wiki.cn/index.php/%E9%A9%B1%E5%8A%A8%E6%91%84%E5%83%8F%E5%A4%B4
http://www.linux-wiki.cn/index.php/%E9%A9%B1%E5%8A%A8%E6%91%84%E5%83%8F%E5%A4%B4
|
1.花屏问题可能是你采集的帧格式/大小跟你的SDL定义的不一样。
2.有可能是内核驱动问题,你下载一个spcaview-20061208试试
2.有可能是内核驱动问题,你下载一个spcaview-20061208试试
|
估计驱动问题吧..