[gstreamer-bugs] [Bug 305231] New: [theoraenc] messes up granulepos

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon May 23 09:36:13 PDT 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=305231
 GStreamer | gst-plugins | Ver: 0.8.8

           Summary: [theoraenc] messes up granulepos
           Product: GStreamer
           Version: 0.8.8
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Theoraenc tries to adjust the granulepos of outgoing theora packets if the video
stream doesn't start at offset 0. The way it does that is wrong though, the
result is that transcoded theora/ogg streams with a nonzero initial discont play
back with jerks every couple of seconds in totem/playbin, xine and vlc.

The reason for that is that the granulepos is not the frame number, but a more
complicated construct involving some bitshifting and the number of frames since
the last keyframe, so just doing granulepos += first_frame is plain wrong.

This should probably be fixed before the release.

Cheers
 -Tim

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list