[libdc1394-devel] Re: dma_multi_capture hang
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: <Chr...@sk...> - 2004-06-24 10:12:25
|
Hello everybody, > I am guessing that your camera is not transmitting frames for some=20 > reason. I know that some cameras are sensitive to the exact order in=20 > which their registers are initialized. You may have to ask=20 > specifically if anyone else on this list is successfully running a=20 > Sony DFW-V300 and, if so, in what order they are setting things up. >=20 > I would have thought that dc1394=5Fmultiview works for most cameras. If = > you are desperate you could also try my Cammonitor example (in the=20 > Camwire URL below). Cammonitor sets up registers in the order the=20 > Basler A301fc camera requires. =20 First of all, thanks for Camwire and Cammonitor! With my Basler A602f the=20 only libdc1394 example that works is dc1394=5Fmultiview, but what I need is= =20 something like grab=5Fpartial=5Fimage. With Cammonitor, it works fine, exce= pt=20 for one problem: Both Camwire and my own (DirectFB-based) app freeze after a while when=20 continously acquiring and displaying and AOI of 656 by 10 by 8. Desktop switching or running KDE System guard seems to increase the=20 problem, despite the fact that my CPU load is between 20 and 30 percent=20 when I use Cammonitor. Cammonitor stops displaying and reacting to=20 commands, when Ctrl-C is pressed, I get=20 (dc1394=5Fcapture.c) VIDEO1394=5FIOC=5FLISTEN=5FWAIT/POLL=5FBUFFER ioctl fa= iled! camwire=5F1394.c (1422): dc1394=5Fdma=5FSingle=5Fcapture() failed in=20 camwire=5Fpoint=5Fnext=5Fframe(). Here are my tech. specs: SuSE 9.1 (2.6.5-7.75-smp) on a DSM 3.06 GHz P4 w/ Hyperthreading, 1GB=20 memory, Intel i845 integrated graphics The contents of my A602f.config: Camwire IEEE 1394 IIDC DCAM hardware configuration: speed: 2 format: 391 mode: 288 max=5Fpackets: 4095 min=5Fpixels: 512 bus=5Fperiod: 0.000125 trig=5Fsetup=5Ftime: 0 exposure=5Fquantum: 2e-05 exposure=5Foffset: 0 line=5Ftransfer=5Ftime: 0 transmit=5Fsetup=5Ftime: 0 do=5Fextra=5Fbuffering: 0 drop=5Fframes: 0 dma=5Fdevice=5Fname: /dev/video1394 =20 and A602f.settings: Camwire settings: num=5Fframe=5Fbuffers: 10 left: 0 top: 245 width: 656 height: 10 depth: 8 frame=5Frate: 3000 shutter: 0.0005 external=5Ftrigger: 0 trigger=5Fpolarity: 1 single=5Fshot: 0 running: 1 frame rate is actually 2666.67 fps Does anybody have a clue what I might be doing wrong? Beste Gr=FC=DFe / Kind regards / Meilleures Salutations ---------------------------------------------------------------------------= ------ Ing. Dipl. Ing. (FH) Christian Daschill Business Development & Projects SKF QTC Austria Christian dot Daschill at skf dot com www.qtc.skf.com +43 72 52 797 573 Voice +43 72 52 797 88573 Fax |