Re: help to grab frames from a Pyro 1394 web cam
Brought to you by:
aeb,
bencollins
From: D. Lopez-De-I. <dl...@en...> - 2001-04-29 09:16:21
|
Hi, > Check out Coriander at http://sourceforge.net/projects/coriander/. It lets > can improve upon the video I/O portions of the code because it works for me, I haven't managed to obtain images from my Pyro web-cam neither with coriander nor with the simple samplegrab application. My setup is as follows: camera: Pyro 1394 web cam kernel version = 2.4.2 ieee 1394 version = ieee1394-2.4.2-20010228 (I applied this patch to my kernel), the one available at linux1394.sourceforge.net site libraw version = 0.8.2 libdc version = 0.8.1 driver = OHCI adapter card = Belkin IEEE-1394 PCI (OHCI 1.0 compliant), IEEE1394a Rev 5 compliant version of coriander used: 0.12 output of /proc/ohci1394: IEEE-1394 OHCI Driver status report: bus number: 0x3ff Node ID: 0x0 ### Host data ### node_count: 2 node_id : 0000FFC0 irm_id : 0000FFFF busmgr_id : 0000FFFF initialized ---Iso Receive DMA--- Current buf: 0 offset: 0 ---Async Receive DMA--- Ar req current buf: 0 offset: 16 AR resp current buf: 1 offset: 3308 ---Async Transmit DMA--- AT req prg: 9 sent: 9 free: 32 branchAddrPtr: c8b4f008 AT req queue: first: 00000000 last: 00000000 AR resp prg: 0 sent: 0 free: 32 branchAddrPtr: 00000000 AT resp queue: first: 00000000 last: 00000000 ### HC Register dump ### Version : 01010000 GUID_ROM : 00000024 ATRetries : 00000822 CSRData : 00000000 CSRCompData : 00000000 CSRControl : 80000000 ConfigROMhdr: 0404ad02 BusID : 31333934 BusOptions : f07da002 GUIDHi : 0030bd0b GUIDLo : 00000000 ConfigROMmap: 08b6a000 PtdWrAddrLo : 00000000 PtdWrAddrHi : 00000000 VendorID : 00000000 HCControl : 000e0000 SelfIDBuffer: 08b68000 SelfIDCount : 00010014 IRMuChMaskHi: 00000000 IRMuChMaskLo: 00000000 IntEvent : 00700000 IntMask : 840300ff IsoXmIntEvnt: 00000000 IsoXmIntMask: 00000000 IsoRcvIntEvt: 00000000 IsoRcvIntMsk: 00000001 FairnessCtrl: 00000000 LinkControl : 00300200 NodeID : 8800ffc0 PhyControl : 0000017f IsoCyclTimer: ae03173d AsRqFilterHi: ffffffff AsRqFilterLo: ffffffff PhyReqFiltHi: ffffffff PhyReqFiltLo: ffffffff PhyUpperBnd : 00000000 AsRqTrCxtCtl: 00008012 AsRqTrCmdPtr: 08b4f000 AsRsTrCtxCtl: 00000000 AsRsTrCmdPtr: 00000000 AsRqRvCtxCtl: 00008409 AsRqRvCmdPtr: 08b26000 AsRsRvCtxCtl: 00008451 AsRsRvCmdPtr: 08bac000 IntEvent : 00700000 IsoRCtxCtl00: d0008400 IsoRCmdPtr00: 08af6001 IsoRCxtMch00: f0000000 IsoRCtxCtl01: 00000000 IsoRCmdPtr01: 00000000 IsoRCxtMch01: 00000000 IsoRCtxCtl02: 00000000 IsoRCmdPtr02: 00000000 IsoRCxtMch02: 00000000 IsoRCtxCtl03: 00000000 IsoRCmdPtr03: 00000000 IsoRCxtMch03: 00000000 IsoRCtxCtl04: 00000000 IsoRCmdPtr04: 00000000 IsoRCxtMch04: 00000000 IsoRCtxCtl05: 00000000 IsoRCmdPtr05: 00000000 IsoRCxtMch05: 00000000 IsoRCtxCtl06: 00000000 IsoRCmdPtr06: 00000000 IsoRCxtMch06: 00000000 IsoRCtxCtl07: 00000000 IsoRCmdPtr07: 00000000 IsoRCxtMch07: 00000000 IsoTCtxCtl00: 00000000 IsoTCmdPtr00: 00000000 IsoTCtxCtl01: 00000000 IsoTCmdPtr01: 00000000 IsoTCtxCtl02: 00000000 IsoTCmdPtr02: 00000000 IsoTCtxCtl03: 00000000 IsoTCmdPtr03: 00000000 IsoTCtxCtl04: 00000000 IsoTCmdPtr04: 00000000 IsoTCtxCtl05: 00000000 IsoTCmdPtr05: 00000000 IsoTCtxCtl06: 00000000 IsoTCmdPtr06: 00000000 IsoTCtxCtl07: 00000000 IsoTCmdPtr07: 00000000 The application coriander returns the message: node 0 is not a camera, and after a long while shows up a small window, saying something like that the connection with IEEE1394 may be slow. If I cancel the window, this still keeps coming back every now and then, till I Ctrl-C coriander. If there is somebody that can appreciate any problem with my setup that may make coriander not work I would appreciate their feedback. Although I used to manage to at least obtain a corrupted image using the samplegrab utility, now it hungs up in the call dc1394_start_iso_transmission to the libdc library. This application detects I have a Pyro web-cam attached to my system and manages to print out the list of features offered by this camera. Any hints and help are very much appreciated. Regards, ----- Diego Lopez de Ipina http://www-lce.eng.cam.ac.uk/~dl231 |