GStreamer capturing video frameby pablacho (Initiate)
|on Oct 12, 2012 at 14:52 UTC||Need Help??|
pablacho has asked for the
wisdom of the Perl Monks concerning the following question:
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!