[Bug 640859] basesink incorrectly categorizes timestamp jitter as drift

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 3 08:29:29 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=640859
  GStreamer | gst-plugins-base | git

--- Comment #40 from Håvard Graff (hgr) <havard.graff at tandberg.com> 2011-05-03 15:29:22 UTC ---
I thought I would share the sort of behavior we see in logs of people with
sound-problems at the moment:

2011-05-02 09:53:35,688 WARNING PID 4424 TID 6504 GStreamer
audio-sink [gstbaseaudiosink.c(1404), gst_base_audio_sink_get_alignment()]->
Unexpected discontinuity in audio timestamps of +0:00:00.483520833, resyncing

2011-05-02 09:53:35,825 WARNING PID 4424 TID 6504 GStreamer
audio-sink [gstbaseaudiosink.c(1404), gst_base_audio_sink_get_alignment()]->
Unexpected discontinuity in audio timestamps of -0:00:00.227854166, resyncing

2011-05-02 09:53:36,001 WARNING PID 4424 TID 6504 GStreamer
audio-sink [gstbaseaudiosink.c(1404), gst_base_audio_sink_get_alignment()]->
Unexpected discontinuity in audio timestamps of -0:00:00.226895833, resyncing

---

2011-05-02 09:54:03,757 WARNING PID 4424 TID 6504 GStreamer
audio-sink [gstbaseaudiosink.c(1404), gst_base_audio_sink_get_alignment()]->
Unexpected discontinuity in audio timestamps of +0:00:00.531645833, resyncing

2011-05-02 09:54:03,889 WARNING PID 4424 TID 6504 GStreamer
audio-sink [gstbaseaudiosink.c(1404), gst_base_audio_sink_get_alignment()]->
Unexpected discontinuity in audio timestamps of -0:00:00.233062500, resyncing

2011-05-02 09:54:03,988 WARNING PID 4424 TID 6504 GStreamer
audio-sink [gstbaseaudiosink.c(1404), gst_base_audio_sink_get_alignment()]->
Unexpected discontinuity in audio timestamps of -0:00:00.230000000, resyncing

As you can see, it does one violent jump forwards, followed by two smaller
jumps back, all within a timeframe of a few hundred milliseconds. Now if there
was a window operating here, the sum of these jumps would fall under the
alignment-threshold, and we would have glitch-free playback.

I think this is a great feature for BaseAudioSink to have, and would be very
useful for all use of GStreamer involving networks.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list