[Bug 550064] [vorbisenc] Doesn't handle non-zero start timestamps properly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 19 10:40:53 PDT 2011


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

--- Comment #4 from David Schleef <ds at schleef.org> 2011-05-19 17:40:51 UTC ---
(In reply to comment #3)
> I guess we need to define this as preferred behaviour of encoders somewhere.
> IMHO the encoders should just passthrough timestamps and timing
> information/segments and muxers should then muxers should mux them based on the
> running time.

This is what vorbisenc does (pipline above):

00:00:00.000: serialno 0316912248, granulepos 0, packetno 0 *** bos: 30 bytes
00:00:00.000: serialno 0316912248, calc. gpos 0, packetno 1: 91 bytes
00:00:00.000: serialno 0316912248, granulepos 0, packetno 2: 3.114 kB
00:00:03.000: serialno 0316912248, calc. gpos 132300, packetno 3: 43 bytes
00:00:03.002: serialno 0316912248, calc. gpos 132428, packetno 4: 20 bytes
00:00:03.015: serialno 0316912248, calc. gpos 133004, packetno 5: 56 bytes
00:00:03.039: serialno 0316912248, calc. gpos 134028, packetno 6: 38 bytes

First non-header packet is at 132300, or ~3*44100.

I'm not sure what the problem is here.

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