Re: beginner's problem with dvgrab
Brought to you by:
aeb,
bencollins
From: Alastair M. <ala...@aj...> - 2000-04-25 15:52:45
|
Steve Sutphen wrote: > > Hello, > I hate to trouble you, but I am having problems getting dvgrab > to work. I have installed the ieee1394-2.2.14-20000318 patch in > a 2.2.14 kernel and that seems to work just fine. At > boot time I see: [snip] For some reason the OCHI driver doesn't always seem to 'take' when first loaded, particularly when devices are plugged in later. My routine now is to wait until everything has booted up, make sure my devices are plugged in/powered on, and then insmod the driver modules. Then I run testlibraw or gscanbus to make sure I'm really seeing everything. (And if not, unload/reload the modules.) > I have built your dvgrab 0.7 with the libraw1394-0.6 library. > I am trying to capture the raw DV so I can decode it with playdv > (the libDV package from OGI). > > I have a SIIG card with a TI TSB12LV23 chip on it. > > If I run your dvgrab like this: > dvgrab --ntsc --raw --frames 200 raw.dv > without a camera connected I see these messages in the log file: > ohci1394_0: Got phy packet ctx=0 ... discarded > ohci1394_0: listening enabled on channel 63 Note, the "--raw" option to dvgrab isn't very helpful for further playback: it writes *every* packet, including the short (16-byte) ones, and prepends a 4-byte length field to each one. Also, the "--frames" count in this case is really a packet count, you have to grab a lot of those to make a real video frame. I submitted a patch yesterday that adds a "--dv" option that strips short packets and extraneous header info, "playdv" understands the output from that. [snip] > > Can you start me in the right direction? Do I need to supply more > information? > I found 'testlibraw' (in the libraw package) and 'gscanbus' (downloadable from ftp://ftp.fokus.gmd.de/pub/cc/cats/usr/ami/ ) to be helpful in getting my setup running. If you can control your camera's functions (ie with the camera in VTR mode) from the gscanbus GUI then all is communicating properly async, so iso grabs with dvgrab should then be okay. Hope this helps. -- Alastair |