Skip to content

Commit

Permalink
allow TrackTimestampScale in Matroska v4
Browse files Browse the repository at this point in the history
Following the investigation in #422 it seems like a good tool to achieve sample accurate timestamp in many (more) cases.
  • Loading branch information
robUx4 committed Mar 14, 2021
1 parent 53f00ba commit a7054ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ebml_matroska.xml
Expand Up @@ -360,9 +360,9 @@ see (#defaultdecodedfieldduration) for more information</documentation>
<extension type="webmproject.org" webm="0"/>
<extension type="libmatroska" cppname="TrackDefaultDecodedFieldDuration"/>
</element>
<element name="TrackTimestampScale" path="\Segment\Tracks\TrackEntry\TrackTimestampScale" id="0x23314F" type="float" maxver="3" range="&gt; 0x0p+0" default="0x1p+0" minOccurs="1" maxOccurs="1">
<documentation lang="en" purpose="definition">DEPRECATED, DO NOT USE. The scale to apply on this track to work at normal speed in relation with other tracks
(mostly used to adjust video speed when the audio length differs).</documentation>
<element name="TrackTimestampScale" path="\Segment\Tracks\TrackEntry\TrackTimestampScale" id="0x23314F" type="float" range="&gt; 0x0p+0" default="0x1p+0" minOccurs="1" maxOccurs="1">
<documentation lang="en" purpose="definition">The scale to apply on this track to work at normal speed in relation with other tracks.
Mostly used to adjust video speed when the audio length differs or to have more accurate timestamps on each track.</documentation>
<extension type="webmproject.org" webm="0"/>
<extension type="libmatroska" cppname="TrackTimecodeScale"/>
</element>
Expand Down

0 comments on commit a7054ea

Please sign in to comment.