After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679818 - [0.11] playbin, oggdemux: chained audio ogg don't work any more
[0.11] playbin, oggdemux: chained audio ogg don't work any more
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.11.x
Other Linux
: Normal major
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-12 18:37 UTC by Tim-Philipp Müller
Modified: 2012-09-20 16:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2012-07-12 18:37:05 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 ?
Comment 1 Tim-Philipp Müller 2012-07-23 15:05:17 UTC
This seems to work in principle now, though there's still a small (noticable) gap when switching chains.
Comment 2 Tim-Philipp Müller 2012-09-20 16:55:26 UTC
Seems to work really nicely now, both in pull and push mode, closing.