[gst-devel] Gtreamer play video from X minutes

Stefan Kost ensonic at hora-obscura.de
Mon Jul 21 11:38:37 CEST 2008


hi,
Fabien ROCHER schrieb:
> I forgot to precise, I want to do it using gst-launch: I want to play a 
> file (audio and/or video) skipping the 50 first seconds.

You can't do that using gst-launch. You need to write a simple application (e.g. 
using gst-python). Create a playbin, set uri, set it to paused, send a 
seek-event with start=50sec and stop=-1 and go to playing.

Stefan

> 
> 2008/7/18 Fabien ROCHER <fabienrocher at gmail.com 
> <mailto:fabienrocher at gmail.com>>:
> 
>     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 ??
> 
>     Any help is gratefully appreciated,
>     Thanks
> 
>     Fab
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list