版主请急救以下问题。主要是现用spcaview来采集摄像头上数据存放成avi文件. 我移植spcaview到mini2440时出现
Segmentation fault。我用的是spcaview-20061208.tar.gz。按照网上的方法先编译SDL-1.2.13.tar.gz。
以下我在mini2440上运行显示的信息。谢谢!
[root@FriendlyARM /tmp]# ./spcaview -d /dev/video0 -f jpg -s 320x240
Spcaview version: 1.1.7 date: 06:11:2006 (C)
mxhaard@magic.fr size width: 320 height: 240
Initializing SDL.
SDL initialized.
bpp 3 format 21
Using video device /dev/video0.
Initializing v4l.
**************** PROBING CAMERA *********************
Camera found: Generic Zc0305b
Bridge found: ZC301-2
Bridge find ZC301-2 number 13
StreamId: JPEG Camera
quality 1 autoexpo 1 Timeframe 0 lightfreq 50
Bridge find ZC301-2 number 13
Available Resolutions width 640 heigth 480 native
Available Resolutions width 352 heigth 288 decoded
Available Resolutions width 320 heigth 240 native *
Available Resolutions width 176 heigth 144 decoded
unable to probe size !!
*****************************************************
grabbing method default MMAP asked
VIDIOCGMBUF size 2457616 frames 2 offets[0]=0 offsets[1]=1228808
VIDIOCGPICT
brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0
depth=8 palette=4
VIDIOCSPICT
brightness=32768 hue=0 color=0 contrast=32768 whiteness=0
depth=24 palette=21
Segmentation fault
[root@FriendlyARM /tmp]#