Your screen. Your subscription. Your ProMax. Start with a one-day trial ↗

Pro Max 4K OTT

How Matroska DefaultDuration differs from a block’s duration

Matroska DefaultDuration describes a frame duration in nanoseconds, while BlockDuration describes a block’s duration in Track Ticks.

An app licence or a service account. Keep player purchase details separate from the service activation record. Pro Max 4K OTT, promax4k.tv.
An app licence or a service account. Keep player purchase details separate from the service activation record. Pro Max 4K OTT, promax4k.tv.

Matroska DefaultDuration describes a frame duration in nanoseconds, while BlockDuration describes a block’s duration in Track Ticks. A block can contain several laced frames. Their names look similar, but copying one numeric value into the other without converting units and identifying what it covers can produce an incorrect timeline.

Use a multi-frame example

Imagine three contiguous audio frames, each lasting twenty milliseconds, placed into one laced block. A default frame duration of 20,000,000 nanoseconds describes each frame. The combined illustrative block duration is sixty milliseconds, which would be sixty Track Ticks under the default millisecond scale. The number of blocks is therefore not the number of frames or the number of twenty-millisecond intervals.

Read the applicable duration rules

RFC 9559 defines these fields in their own contexts. BlockDuration can be particularly useful at a track ending, where no later block exists to reveal the final interval. When neither an explicit duration nor a default is available, the specification describes an assumption based on the next block in display order. Do not replace that with the next byte-ordered block automatically.

Check a suspicious duration display

A parser showing twenty milliseconds for the whole three-frame example may have applied a frame duration at block scope. A parser showing millions of seconds may have treated nanoseconds as ticks. These are different implementation mistakes. Record the lacing count, relevant duration fields and scale before deciding that the source has variable playback speed or that its sample rate is wrong.

Preserve the distinction during conversion

A remuxing tool needs to carry the timing meaning into its target container, rather than copy similarly named integers. A maintainer can inspect a short frame sequence and its total duration before checking the converted output. Viewers can report an incorrect timer or a repeatable tail problem separately from audible speed changes. The calculation provides a focused metadata check; it does not establish universal player support or certify the complete audio stream.

Sources & further reading

An evening worth making time for

Get the player ready.
We’ll help with the rest.

Install the player for your screen, then WhatsApp the ProMax team for a one-day free trial. Already watching? Open the help desk for your next step.

Ask ProMax↑