vorbis timeline

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Jun 4 06:23:35 PDT 2013


On Tue, 2013-06-04 at 15:11 +0200, lestoilfante wrote:

Hi,


> $ oggz-dump video02.ogv |grep pos|head -5
> 00:00:00.000: serialno 1209677529, granulepos 0|0, packetno 0 *** bos:
> 42 bytes
> 00:00:00.000: serialno 1209677529, calc. gpos 0|0, packetno 1: 58
> bytes
> 00:00:00.000: serialno 1209677529, granulepos 0|0, packetno 2: 2.552
> kB
> 00:00:00.375: serialno 1209677529, granulepos 4|0, packetno 3: 34.163
> kB
> 00:00:00.500: serialno 1209677529, granulepos 4|1, packetno 4: 3.213
> kB
> 
> 
> Packet 3 which I think is the first video packet driving the timeline
> now start with a gap of 0.375 seconds and it is always the same in
> every following videoN.ogv file.  I don't know if this gap could be
> fixed totally, but until now this is a good workaround and it's ok for
> my project.

Note that the granulepos usually refers to the *end* of the samples in
the packet, so depending on what oggz-dump prints exactly this may or
may not indicate a "gap" at the start.

Cheers
 -Tim




More information about the gstreamer-devel mailing list