Re: Video::Capture example?
From: Stan Brown (stanb_at_panix.com)
Date: 10/31/03
- Next message: James Willmore: "Re: Get Windows Task-Names?!"
- Previous message: Uri Guttman: "Re: Projects"
- In reply to:(deleted message) zentara: "Re: Video::Capture example?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Oct 2003 16:10:50 +0000 (UTC)
In <kps4qv06cg99h8ombm4hukbeejsg1l9ffh@4ax.com> zentara <zentara@highstream.net> writes:
>On Fri, 31 Oct 2003 00:32:20 +0000 (UTC), Stan Brown <stanb@panix.com>
>wrote:
>>In <4u32qvgthijulq4baguj941i6a9jhr8g7p@4ax.com> zentara <zentara@highstream.net> writes:
>>
>>>On Wed, 29 Oct 2003 15:15:27 +0000 (UTC), Stan Brown <stanb@panix.com>
>>>wrote:
>>
>>>>I'm writing a perl script to capture images from some cameras, and make
>>>>mpes out of them on Linux.
>>
>>Thanks for the help on this again!
>>First, why do we go through the capture/convert loop twice per grab?
>>
>>for ( 0 .. 1 ) {
>> my $nfr = $grab->capture( 1 - $frame, 640, 480 );
>>
>>I've been benchmarking, and it seems that the 2nd pass take much longer
>>than the first.
>Try it without it and see what happens. It is a mystery to me too.
>It seems to have something with getting a sync for the image.
Thanks for the help on this!
My biggest remaining issue is geting this to support the 2nd card. I posted
a message about this in a new thread. I found the call to new in the
module, and the device is optionaly the 2nd argument. Problem is I don't
now what to pass for the first "class" argument.
-- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin
- Next message: James Willmore: "Re: Get Windows Task-Names?!"
- Previous message: Uri Guttman: "Re: Projects"
- In reply to:(deleted message) zentara: "Re: Video::Capture example?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|