|
From: Dorneles T. <dor...@x3...> - 2008-08-27 20:23:59
|
Hey Erik > > $ cd ~/src/libv4l-0.4.0 > > $ export LD_LIBRARY_PATH=`pwd`/libv4lconvert:`pwd`/libv4l2:`pwd`/libv4l1 > > $ export LD_PRELOAD=`pwd`/libv4l1/v4l1compat.so > > $ livecam > > > > I first tried with 640x480 BAYER, then 320x240 RGB24 and finally with > > 320x240 YUV420. In all cases livecam displayed "BisonCam @ 0 FPS" with > > a gray screen (I also tried to change the pitch, but without luck) and > > in all cases I had to kill livecam, because clicking in the 'Exit' > > option doesn't closed the program... :-/ > > YUV420 is known to be broken in livecam so don't bother with that. > Does it never work or just sometimes? it never work... :-( The interesting part is that it seems to wait for a frame and that frame never arrives, or arrives but maybe we're checking with wrong offsets: Initialize isochronous buffers and urbs, ISOC IN: 0x81 Number of urbs: 2, packet size: 2688, number of packets: 14 Transfer started Waiting for a frame Then, later, it seems to correctly free the urbs and buffers: Freeing isochronous buffers and urbs Freeing urb 1 Stream is off, resubmitting Freeing urb 0 Isochronous buffers and urbs freed Transfer stopped Releasing 8 allocated buffers Any idea on how to help debug this problem? -- Dorneles Treméa X3ng Web Technology http://nosleepforyou.blogspot.com |