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

Pro Max 4K OTT

Reading a VP9 superframe index

VP9 can package several coded frames into a single chunk called a superframe.

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.

VP9 can package several coded frames into a single chunk called a superframe. Its index sits at the end of that chunk and gives the enclosed frame sizes. A container-level sample count therefore cannot always be substituted directly for the number of coded frames inside its VP9 payload.

Start from the complete chunk

The WebM Project’s published VP9 draft describes the chunk size as externally supplied. The decoder examines the final byte for the superframe marker, derives the number of frames and the width used for each size entry, and calculates the index length. It then checks that the index’s first byte matches its final byte. The tail marker alone is not the complete recognition procedure.

Calculate the index footprint

NumFrames is the stored frame-count value plus one; SzBytes is the stored size-width value plus one. The index length is two plus NumFrames multiplied by SzBytes. For an illustrative three-frame index with two bytes per size, that is eight bytes. If its frame sizes are 400, 600 and 500 bytes, the enclosing chunk occupies 1,508 bytes. The final eight bytes describe boundaries; they are not a fourth compressed picture.

Separate coded frames from output pictures

The document explains that superframes can contain unshown frames and can result in one, several or no output pictures. A superframe may legally contain only one coded frame as well. Consequently, ‘superframe’ does not mean a picture with a larger resolution, nor does it guarantee a particular display cadence. Each enclosed frame still needs to be passed to the decoding process in its specified order.

State the document and evidence used

The official WebM page labels the available version 0.7 document as a draft, so an implementation report should preserve that status. For a suspected framing problem, record the complete chunk length, repeated index header, entry width and each decoded size before blaming the video’s resolution or the network. This is documentary interpretation of a VP9 framing mechanism, not evidence that a particular ProMax player has passed a decoding test.

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↑