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

Pro Max 4K OTT

Reading Matroska cue times and cluster byte positions

Matroska cues combine a media-time reference with a byte position. CueTime helps identify when the indexed content belongs; CueClusterPosition identifies where its cluster begins relative to the segment data. The values use different coordinate systems. A correct seek needs both, rather than treating the largest number as the programme’s duration.

A useful support message. Say what happened, when it happened and which device/player you use. Pro Max 4K OTT, promax4k.tv.
A useful support message. Say what happened, when it happened and which device/player you use. Pro Max 4K OTT, promax4k.tv.

Matroska cues combine a media-time reference with a byte position. CueTime helps identify when the indexed content belongs; CueClusterPosition identifies where its cluster begins relative to the segment data. The values use different coordinate systems. A correct seek needs both, rather than treating the largest number as the programme’s duration.

Work through two coordinates

Use an illustrative CueTime of 5000 with the default millisecond TimestampScale. That identifies five seconds in segment time. If CueClusterPosition is 120000, its separate meaning is a position 120000 octets from the beginning of the Segment element’s data. It does not mean the content begins 120000 seconds into the programme.

Keep the segment origin explicit

The segment-relative position does not start at the first byte of the entire file. An EBML header and the Segment element’s own ID and size can precede the data origin. A tool translating the cue into an absolute file position must include that origin. Confusing the two byte coordinate systems can send a reader to the wrong place even while its time conversion is correct.

Inspect refinement inside a cluster

Cues can provide further information, including the relevant track and an optional relative position within the cluster. A cluster can contain more than one block, so locating its first byte is not necessarily the final step toward the target frame. Preserve the cue fields together. Deleting an unfamiliar position field because the time already looks correct can remove useful seeking information.

Diagnose the seek without guessing URLs

If normal playback works but a specific seek fails, a maintainer can compare the cue’s time, track and translated byte location against the actual structure. A viewer can supply the requested content time and observed landing point. These file positions are container metadata, not new streaming addresses to invent. The useful result is a reproducible correspondence between a point on the timeline and its stored cluster, with byte-origin errors separated from timing and decoding errors.

Sources & further reading

From the ProMax collection

Make space for a lighter evening.

Comedy, drama and a different kind of watchlist. Choose around the mood, rather than the biggest title.

Hulu logo above a row of supplied programme posters in the Pro Max green theme.
Comedy, drama and a different kind of watchlist. Choose around the mood, rather than the biggest title.

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↑