[gst-devel] About Gstreamer Fast Forward

Michael Smith msmith at fluendo.com
Wed Aug 23 13:54:17 CEST 2006


On Wed, 2006-08-23 at 19:47 +0800, Jim Liu wrote:
> Hello,everybody!
> 
> I am trying to inplement fast forwar in my application.
> I use API function `gst_element_seek`,  that change the value of second 
> parameter `rate` can  implement fast forward?
> For example,gst_element_seek (pipeline, 2.0, GST_FORMAT_TIME, 
> GST_SEEK_FLAG_FLUSH,
>                          GST_SEEK_TYPE_SET, time_nanoseconds,
>                          GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE).
> But the speed of playback has not be changed,how to change the speed?


That should be all that's needed.

However, many gstreamer plugins don't yet implement non-normal-speed
playback correctly.

I tested this using ogg theora last week, it certainly works there.

Mike






More information about the gstreamer-devel mailing list