On Thu, May 19, 2005 at 02:18:43PM +0200, Peter Poeml wrote: > Wild flickering on the display, but only for a short time. (It does look > more like initialising the screen than an actual video stream.) In fact, > the spcaview terminates quite soon: When I capture to a file rather, I can avoid the problem with the framebuffer. ...and it works! http://bro.poeml.de/~poeml/cl20.avi (1.3MB) (me waving) (The actual historical first stream is somewhat larger, 5MB ;) http://bro.poeml.de/~poeml/cl20-very_first_stream.avi It seems to work when the camera has powered on just before. In other words, if I try a second time without resetting the camera it doesn't work, and only a very small file is captured (2056 bytes), and spcaview logs something like "Used 26474ms for 1 images => 26474ms/image 0fps." The log of a successful attempt: # ./spcaview -f jpg -s 320x240 -j -o /tmp/bla.avi Spcaview version:1.0.4 date: 01:05:2005 (C) mxhaard_at_magic.fr size width: 320 height: 240 Initializing SDL. SDL initialized. bpp 3 format 21 Using video device /dev/video0. Initializing v4l. May 19 20:24:49 g3bw kernel: drivers/usb/spca5xx.c: [spca500_initialise:5921] Spca500 Sensor Address 0x00 **************** PROBING CAMERA ********************* Camera found: Agfa ephoto CL20 Bridge found: SPCA500 StreamId: JPEG Camera Available Resolutions width 640 heigth 480 native Available Resolutions width 352 heigth 288 native Available Resolutions width 320 heigth 240 native * Available Resolutions width 176 heigth 144 native ***************************************************** grabbing method default MMAP asked VIDIOCGMBUF size 4915232 frames 4 offets[0]=0 offsets[1]=1228808 VIDIOCGPICT brightnes=0 hue=0 color=0 contrast=0 whiteness=0 depth=8 palette=21 VIDIOCSPICT brightness=0 hue=0 color=0 contrast=0 whiteness=0 depth=24 palette=21 May 19 20:24:58 g3bw last message repeated 2 times May 19 20:25:22 g3bw sshd[1159]: Accepted publickey for root from ::ffff:192.168.0.180 port 34540 ssh2 cvsync err : Interrupted system call Used 64235ms for 1153 images => 55ms/image 17fps. Quiting SDL. Decoded frames:1153 Average decode time: 0.000000 unmapping closing closed close avi Destroy Picture thread ... Quiting.... Peter -- the big machine that goes "ping" ate the little can of spamReceived on Thu May 19 2005 - 20:46:23 CEST
This archive was generated by hypermail 2.2.0 : Tue Oct 20 2009 - 17:33:21 CEST