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

Pro Max 4K OTT

Why a FLAC seek table’s offsets depend on its storage context

A native FLAC seek table records offsets in the unmuxed FLAC stream. Those byte coordinates generally cannot be used directly after FLAC is embedded in another container that interleaves it with other data. The audio can remain valid while its original seek coordinates no longer identify positions in the enclosing file.

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.

A native FLAC seek table records offsets in the unmuxed FLAC stream. Those byte coordinates generally cannot be used directly after FLAC is embedded in another container that interleaves it with other data. The audio can remain valid while its original seek coordinates no longer identify positions in the enclosing file.

Follow a remuxed offset

Imagine a native seek point locating a target frame 50,000 bytes after the first FLAC frame header. A container can insert its own headers and other tracks between audio pieces. Adding 50,000 to the enclosing file’s start, or even to an early audio payload, does not necessarily locate that target. The coordinate origin and storage arrangement have both changed.

Read the native table correctly

RFC 9639 defines each ordinary seek point using the first sample number in its target frame, an offset from the first frame header and that frame’s sample count. The sample coordinate and byte coordinate answer different questions. The table also allows placeholders with a special sample-number value; their other fields are undefined and must not be treated as useful target locations.

Use the enclosing container’s index

The RFC explicitly notes that native seek tables are generally unsuitable for direct seeking in encapsulated FLAC, and containers often provide their own seeking methods. A remuxer can still preserve the metadata so it can be restored when returning to a native stream. Preservation for later extraction and direct usability in the current enclosing file are therefore different properties.

Check which index failed

For a seek fault, a maintainer should identify whether the reader used the native FLAC table or the container’s applicable index. A viewer can report a requested position and whether continuous playback works across it. Preserve the original media before conversion. The useful outcome is a correctly chosen coordinate system and index path, avoiding a false conclusion that the audio needs re-encoding simply because an offset copied from another storage context no longer finds the intended frame.

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↑