GNOME Bugzilla – Bug 679818
[0.11] playbin, oggdemux: chained audio ogg don't work any more
Last modified: 2012-09-20 16:55:26 UTC
1) download http://people.freedesktop.org/~tpm/samples/chained.ogg 2) gst-launch-1.0 playbin uri=file:///path/to/chained.ogg -v After the first change, it stops playback and just skips through the entire file. It looks like that's because the timestamps aren't adjusted/offset, but start from 0 again, and then they get dropped at the sink: 0:00:24.660701828 gst_base_sink_chain_unlocked:<audiosink-actual-sink-pulse> rendering object 0x23f65f0 0:00:24.660730882 gst_audio_base_sink_render:<audiosink-actual-sink-pulse> time 0:00:02.821224489, offset 18446744073709551615, start 0:00:00.000000000, samples 128 0:00:24.660750368 gst_audio_base_sink_render:<audiosink-actual-sink-pulse> sync-offset 0, render-delay 0:00:00.000000000, ts-offset 0 0:00:24.660765035 gst_audio_base_sink_render:<audiosink-actual-sink-pulse> running: start 0:00:02.821224489 - stop 0:00:02.824126983 0:00:24.660779492 gst_audio_base_sink_render:<audiosink-actual-sink-pulse> final timestamps: start 0:00:02.821224489 - stop 0:00:02.824126983 0:00:24.660792273 gst_audio_base_sink_render:<audiosink-actual-sink-pulse> apply time offset 0:00:23.054044000 0:00:24.660803867 gst_audio_base_sink_render:<audiosink-actual-sink-pulse> dropping late sample Not sure who's responsible for adjusting things - oggdemux, streamsynchronizer, the audio sink ?
This seems to work in principle now, though there's still a small (noticable) gap when switching chains.
Seems to work really nicely now, both in pull and push mode, closing.