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

Pro Max 4K OTT

Reading Matroska CodecDelay and SeekPreRoll together

Matroska CodecDelay and SeekPreRoll both describe time associated with decoding, but they serve different stages.

Your first setup message. Name the device model, operating system and player edition. Pro Max 4K OTT, promax4k.tv.
Your first setup message. Name the device model, operating system and player edition. Pro Max 4K OTT, promax4k.tv.

Matroska CodecDelay and SeekPreRoll both describe time associated with decoding, but they serve different stages. CodecDelay participates in the correction applied to frame timestamps. SeekPreRoll describes how much preceding data must be decoded after a discontinuity before output becomes valid. Treating them as one generic audio-delay control loses that distinction.

Convert the metadata first

Both values are expressed directly in nanoseconds under RFC 9559. An illustrative CodecDelay of 6,500,000 nanoseconds is 6.5 milliseconds; a SeekPreRoll of 80,000,000 nanoseconds is 80 milliseconds. They are not scaled through the segment’s TimestampScale. The two example numbers describe independent properties and should not simply be added to a viewer’s lip-sync setting.

Follow normal playback and a seek

During ordinary timestamp mapping, CodecDelay is subtracted from the relevant frame timestamp. After a seek or other discontinuity, the decoder can additionally need earlier compressed data to rebuild valid internal state. The warm-up data does not necessarily belong in the audible output at the requested seek position. This explains why retrieving media before a target can be a correct preparation step.

Inspect the failed stage

If uninterrupted playback is synchronized but a fresh seek starts with a short artifact, compare preroll handling with the track’s declared requirement. If every point has a constant offset, inspect timestamp correction and the rest of the output path separately. Neither symptom alone proves these fields are wrong. Preserve the selected track, requested position and the distinction between decoded warm-up data and presented samples.

Keep the remedy in the media pipeline

A maintainer can compare declared values with the applicable codec mapping and the player’s seek implementation. A viewer should provide the action and audible result, rather than edit the values in a personal copy. Changing a television’s sound delay may mask one symptom without reconstructing missing decoder history. The useful result is a specific question about initial timestamp correction or discontinuity recovery, with the two timing roles and their units retained.

Sources & further reading

From the ProMax collection

Different places. Shared screen time.

From Indian cinema to South African sporting interests. Make a regional shortlist that reflects your household.

India and South Africa flags against a world-map background in a Pro Max regional television card.
From Indian cinema to South African sporting interests. Make a regional shortlist that reflects your household.

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↑