[gstreamer-bugs] [Bug 640859] basesink default drift-tolerance causes glitches on some clips

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 31 12:00:33 PST 2011


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

--- Comment #24 from Felipe Contreras <felipe.contreras at gmail.com> 2011-01-31 20:00:31 UTC ---
And here's another argument. Pick any mp3 file, convert it with GStreamer to
matroska vorbis or flac, and try this:

gst-launch-0.10 filesrc location=test.mka ! matroskademux ! flacdec ! pulsesink
drift-tolerance=100

You would hear glitches all the time, because basesink would do
resynchronization every buffer and apparently GStreamer timestamps have a
jitter of around 100us, while FFmpeg has 10ms.

Note that this is *not* drift, it's jitter, but basesink is wrongly detecting
it as drift, messing up all the playback.

With my patch now the playback would not be affected by jitter, you can even
set a drift-tolerance of 1, and clips with any jitter would play fine.

And streams with drift would also play fine, the re-sync would only be slightly
delayed but it would also be detected.

-- 
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