[gst-devel] how to play a video with different speed

thiagossantos at gmail.com thiagossantos at gmail.com
Fri Mar 26 03:50:35 CET 2010


On Thu, Mar 25, 2010 at 8:59 PM, Farkas Levente <lfarkas at lfarkas.org> wrote:

> hi,
> is it possible to play a pipeline with a different speed as it was in
> the timestamps? ie. i like to play a video file in double speed.
> is there any easy way to set the playing speed of a stream?
>

You can speed up by issuing a seek event to the pipeline, one of the
parameters is the rate.

Just send this event on the pipeline with the desired rate:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstEvent.html#gst-event-new-seek



> thanks in advance.
> regards.
>
> --
>   Levente                               "Si vis pacem para bellum!"
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Thiago Sousa Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100325/e9e23650/attachment.htm>


More information about the gstreamer-devel mailing list