[gstreamer-bugs] [Bug 548913] vorbisenc being picky about rounding errors in timestamps

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Aug 22 00:23:59 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=548913

  GStreamer | gst-plugins-base | Ver: HEAD CVS

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|slomo at circular-chaos.org    |gstreamer-
                   |                            |bugs at lists.sourceforge.net
             Status|ASSIGNED                    |RESOLVED
          Component|gst-plugins-good            |gst-plugins-base
         Resolution|                            |NOTABUG
   Target Milestone|HEAD                        |0.10.21




------- Comment #2 from Sebastian Dröge  2008-08-22 07:23 UTC -------
Ok the timestamps of the vorbis audio in this particular matroska file are far
too inaccurate. The duration you can calculate from them for every vorbis frame
is about 16.5ms while in reality every vorbis frame has a duration of about
21.3ms.

The audiosink fixes this somehow but vorbisenc just drops every second buffer
because it arrives with a timestamp before the previous timestamp+duration.

Also the Matroska guys said that this file was created by a broken tool long
ago ;)

The best thing that can be done about this without breaking other things is:

2008-08-22  Sebastian Dröge  <sebastian.droege at collabora.co.uk>

        * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_chain):
        If a buffer arrives with a timestamp before the timestamp+duration
        of the previous buffer clip it instead of dropping it completely.
        Slight improvement for the unfixable bug #548913.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=548913.




More information about the Gstreamer-bugs mailing list