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

Pro Max 4K OTT

Reading signed Matroska DiscardPadding at an audio boundary

Matroska DiscardPadding tells a reader how much added silent data to exclude at a block boundary.

Picture without sound. Report the affected programme and selected audio setting to support. Pro Max 4K OTT, promax4k.tv.
Picture without sound. Report the affected programme and selected audio setting to support. Pro Max 4K OTT, promax4k.tv.

Matroska DiscardPadding tells a reader how much added silent data to exclude at a block boundary. Its signed value also identifies which end is affected: positive values concern the end, while negative values concern the beginning. Interpreting the sign and nanosecond unit is necessary before calling the missing output truncated audio.

Convert an explicit boundary

An illustrative positive value of 5,000,000 nanoseconds identifies five milliseconds at the block’s end. A negative value of the same magnitude identifies five milliseconds at its beginning. These values do not identify five million samples or bytes. The payload can still contain the coded padding even though the intended audible presentation excludes it.

Separate storage from presentation

Codecs and packaging can produce complete coded units containing more decoded samples than the intended presentation interval needs. The container can describe the portion to discard without cutting arbitrary bytes out of those coded units. Deleting bytes directly from the block is a different operation and can destroy the codec framing. A metadata-based trim and a damaged compressed payload should therefore be inspected separately.

Keep other delay fields distinct

CodecDelay affects timestamp correction, and SeekPreRoll describes preparation after a discontinuity. DiscardPadding describes silent data added at the particular block boundary. Applying all three as one global user-facing offset can remove or misplace the wrong material. A maintainer should preserve which track and block each value belongs to, alongside the relevant codec mapping and decoded sample interval.

Compare the intended tail with the actual tail

For a repeatable final-click or missing-opening report, identify the first or last affected block and compare the signaled trim with the presentation samples. A viewer can note whether the problem occurs only at an ending, after a seek or throughout playback. That distinction narrows the task without diagnosing it from silence alone. The useful result is a precise boundary calculation, leaving source validity and player implementation as separately verified questions rather than assuming the account failed to deliver the whole programme.

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↑