[Matroska-devel] New audio offset element
Paul Bryson
paul at msn.com
Fri Feb 27 17:48:58 CET 2004
I would like to introduce a new element for use in Matroska after version 1 is
finalized. I want to add an element to adjust the timecode of all of the Blocks
for a Track. For instance, if you write the file and then realize that the
offset is 100ms off, you could simply write a value of -100 to the element, and
on playback that value would be added to each Block's timecode, adjusting it
automatically for correct playback. Saves on remuxing.
A single element located under TrackEntry as a level 3 element. I think a
signed integer would work fine. A default value of 0. An ID of [53][7F]. But,
I'm not sure if you would want the value to be scaled by TimecodeScale, or
simply stored in nanoseconds.
The only problem that I can see is that if someone creates an offset of a few
seconds, the data would not be interleaved enough to produce smooth playback
without some serious buffering.
Any application re-muxing the file should just take the offset value and zero
it, writing the correct values into the Blocks.
I know this has been brought up previously, but does anyone have any concerns
about this element?
Pamel
More information about the Matroska-devel
mailing list