Grab a single poster frame at a given point in time

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Grab a single poster frame at a given point in time

Matt Veenstra
Hi there,

I have searched without any luck.  I am trying to understand what a
pipeline looks like that lets me grab a poster frame at any given
point in time.

I can use something like this to capture images...
src ! demux ! jpegenc ! filesink location=test.jpg

But how do I only capture the one?  That is the part I don't
understand.  Should I use playbin to handle seeking?  Should I write a
simple python app to disconnect and change the sinks?

Thanks for the advice.
Matt Veenstra
tribalmedia
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Grab a single poster frame at a given point in time

Olivier Aubert-2
Hello

You can find a working example (GPL2+) here:
http://svn.gna.org/viewcvs/advene/trunk/lib/advene/util/snapshotter.py?view=markup

Regards,
Olivier

On Wed, 2011-05-11 at 22:28 -0700, Matt Veenstra wrote:

> Hi there,
>
> I have searched without any luck.  I am trying to understand what a
> pipeline looks like that lets me grab a poster frame at any given
> point in time.
>
> I can use something like this to capture images...
> src ! demux ! jpegenc ! filesink location=test.jpg
>
> But how do I only capture the one?  That is the part I don't
> understand.  Should I use playbin to handle seeking?  Should I write a
> simple python app to disconnect and change the sinks?
>
> Thanks for the advice.
> Matt Veenstra
> tribalmedia
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel