GNOME Bugzilla – Bug 631993
[flacparse] imperfect timestamping
Last modified: 2010-10-13 09:08:02 UTC
gst-launch-0.10 http://media.xiph.org/BBB/BigBuckBunny-stereo.flac ! flacparse ! identity check-imperfect-timestamp=true ! fakesink -m ... Got message #100 from element "identity0" (element): imperfect-timestamp, prev-timestamp=(guint64)6058666666, prev-duration=(guint64)85333333, prev-offset=(guint64)6143999999, prev-offset-end=(guint64)294912, cur-timestamp=(guint64)6144000000, cur-duration=(guint64)85333333, cur-offset=(guint64)6229333333, cur-offset-end=(guint64)299008; Got message #101 from element "identity0" (element): imperfect-timestamp, prev-timestamp=(guint64)6314666666, prev-duration=(guint64)85333333, prev-offset=(guint64)6399999999, prev-offset-end=(guint64)307200, cur-timestamp=(guint64)6400000000, cur-duration=(guint64)85333333, cur-offset=(guint64)6485333333, cur-offset-end=(guint64)311296; Got message #102 from element "identity0" (element): imperfect-timestamp, prev-timestamp=(guint64)6570666666, prev-duration=(guint64)85333333, prev-offset=(guint64)6655999999, prev-offset-end=(guint64)319488, cur-timestamp=(guint64)6656000000, cur-duration=(guint64)85333333, cur-offset=(guint64)6741333333, cur-offset-end=(guint64)323584; ... This messes up transcoding to vorbis big time, because vorbisenc resets the encoder whenever there's a discontinuity that's too large, which causes nasty crackles/pops when played back.
IMHO, vorbisenc is far too picky, but following commit is in any case The Way To Go: commit 697419b7556f8d5f59e1ea6877885f1cd1a1fdfe Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Wed Oct 13 11:00:01 2010 +0200 flacparse: tweak setting buffer metadata; avoid timestamp jitter Fixes #631993.