[gst-devel] Gtreamer play video from X minutes

Benoit Fouet benoit.fouet at purplelabs.com
Fri Jul 18 14:23:27 CEST 2008


Hi,

Fabien ROCHER wrote:
> Hello,
>
> First of all, I am French and I apologize for my bad English!
> I am new on this mailing lists and I hope not deceive me to ask my
> question.
>
> In fact, I want to read a video or a music from 50 seconds for example
> with Gstreamer. But I don't find the element in Gstreamer to make that !
> Could you say how can I make that ??
>

you could do it by having a glib callback to check the progress and stop
the pipeline when the progress time meets your requirements.
(see for instance:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-queryevents.html#section-querying)

-- 
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com




More information about the gstreamer-devel mailing list