|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
GStreamer capturing video frameby pablacho (Initiate) |
| on Oct 12, 2012 at 14:52 UTC ( #998711=perlquestion: print w/ replies, xml ) | Need Help?? |
|
pablacho has asked for the
wisdom of the Perl Monks concerning the following question:
Hi there!, With this translated to my perl program, i obtain a nice window for about 5 seconds (I added a timeout) and a beautifull copy of the first frame. (using multifilesink gives me about 25 pictures per second) Any attempt of triggering that frame capture on any other instant fails: I've tried making different bins and pausing one untill I need to capture, using different pipelines, using a 'valve' element to drop frames and enabling/disabling it as fast as possible, blocking some pads and unblocking them assynchronously, and had absolutely no luck. I ended up with freezed xvimagesinks, null images and/or hundreds of pictures taken... Do you have any advice? I'm sure that it is me that is blind and there is an obvious way of doing this, but, as we say here in Argentina, "the turtle is getting away from me"... Thanks for your help! Pablo
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||