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

Pro Max 4K OTT

What WebCodecs color-space metadata can tell a player

VideoColorSpace carries metadata about how a decoded video's color values should be interpreted.

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.

VideoColorSpace carries metadata about how a decoded video's color values should be interpreted. Its fields include primaries, transfer, matrix and fullRange, and some values can be unspecified. Reading this metadata helps a developer inspect color handling; it does not measure the television's calibration or prove how the final screen reproduced the picture.

Keep the fields together

Primaries, transfer characteristics and matrix coefficients describe different aspects of color interpretation. The range field describes another part of that interpretation. A diagnostic that retains only a label such as bt709 can discard which field contained it. Preserve the named fields together and retain null values as unknown information, rather than converting an unspecified value into a confident assumption about the source.

Follow an override carefully

WebCodecs can obtain color-space information through the codec implementation, with detection dependent on the codec and implementation. A VideoDecoderConfig can also supply colorSpace values that override in-band values. In a custom player, a mismatch may therefore arise before the pixels reach the display. The useful investigation compares the incoming source information, decoder configuration and resulting VideoFrame metadata.

Use a visible comparison responsibly

Imagine a player rewrite produces a visibly different result for the same authorized clip on the same browser and display. Record the configuration and metadata in each build, holding the other conditions stable where possible. That comparison can identify a change worth investigating. A screenshot alone cannot establish the exact transfer function used by every stage or certify the display's output, especially when screenshot capture itself changes the rendering path.

Choose the owner of the correction

A viewer should report the affected title, timestamp, app and display path, with an example of the visible symptom. A developer can inspect metadata propagation before changing the user's television controls. This article concerns a WebCodecs-based integration; it does not imply that all players expose these fields or that a service offers every HDR format. Accurate color interpretation requires the actual source, decoder and rendering path to agree on their responsibilities.

Sources & further reading

From the ProMax collection

A question? Let's sort it out.

Tell us your device, player and what happened. Start a direct conversation with Pro Max support.

Pro Max WhatsApp support card with the contact number +44 7532 814802.
Tell us your device, player and what happened. Start a direct conversation with Pro Max support.

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↑