[gst-devel] Changing playback rate in ogg-Vorbis

Bastian Hecht hechtb at googlemail.com
Fri May 15 18:39:34 CEST 2009


Hello,

I develop an application for blind people. They hear much better than the
average and are able to listen to higher playback rates for speech.

I tried the sample Application from the documentation and wanted to change
the rate.

So I called

gboolean b = gst_element_seek (pipeline, 2.0, GST_FORMAT_TIME,
 GST_SEEK_FLAG_FLUSH,
 GST_SEEK_TYPE_SET, 0,
 GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE);

b is true, but the playback rate is still the same. I read something that
the decoder must support this kind of operation, but that vorbis should be
able to do it.

I do this before calling  g_main_loop_run (loop);

There is a plugin called scaletempo to remove the higher pitch. Where do I
have to include that? Simply after the decoder?

Thanks for your help,

 Bastian Hecht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090515/7d38b945/attachment.htm>


More information about the gstreamer-devel mailing list