Re: dvgrab wait for device

Dan Dennedy <[email protected]>
Newsgroups gmane.comp.video.kino.devel
Message-ID <[email protected]>
On Mon, Jun 29, 2009 at 11:16 AM, Carl Karsten<[email protected]> wrote:
> On Mon, Jun 29, 2009 at 12:41 PM, Dan Dennedy<[email protected]> wrote:
>> On Mon, Jun 29, 2009 at 7:35 AM, Carl Karsten<[email protected]> wrote:
>>> if there is no device when dvgrab is first run, it aborts.  Yet if it
>>> is streaming I can unplug the device and plug it back in, and the
>>> stream continues.  If there were some way to get dvgrab to just wait
>>> for a device, that would be great.  Or if someone can replace the
>>> execvp(dvgrab with the C code from dvgrab... then I can take that off
>>> my list of things to look into :)
>>
>> Hmm, well, there can be multiple Firewire buses on your system, and
>> dvgrab looks for a device across all the buses to see which bus to
>> use, which is required to acquire a  libraw1394 handle. You would have
>> to add some loop around that with a limited retry.
>
> Would it help if this was limited to being told what -card was in use?
>  or guid, or something to avoid the scan?

It should work today using -card and -noavc, but it will time out
waiting for DV after 10 seconds. Thiis timeout is a feature. Do you
need AV/C and what do you want to do about this timeout?

-- 
+-DRD-+

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.