Playback delay after seeking on Ogg/Vorbis files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Playback delay after seeking on Ogg/Vorbis files

Johannes H. Jensen
Hi,

I'm trying to loop the playback of an audio file, by calling
gst_element_seek() to position 0 when GST_MESSAGE_EOS is received on
the bus, like in this example[1]. This works fine with most audio
files except Ogg/Vorbis. When playing an Ogg/Vorbis file, there is a
silent gap during the first few seconds of playback after the call to
gst_element_seek(). For short audio files, this means only the first
playback can be heard, after which there is only silence.

Is this the "correct" way to loop playback? Is there a way to reduce
this seek delay? Is this a known issue?

(Tested on Ubuntu 12.04 with GStreamer 0.10.36)


Best regards,

Johannes H. Jensen

[1] http://tristanswork.blogspot.com/2010/10/looping-playback-with-gstreamer.html
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel