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

Pro Max 4K OTT

FLAC block size and encoded frame size use different units

FLAC block size counts interchannel samples, while encoded frame size counts bytes.

Three counts, three meanings. An installation count, a player-licence count and simultaneous service use are different questions. Pro Max 4K OTT, promax4k.tv.
Three counts, three meanings. An installation count, a player-licence count and simultaneous service use are different questions. Pro Max 4K OTT, promax4k.tv.

FLAC block size counts interchannel samples, while encoded frame size counts bytes. STREAMINFO can describe minimum and maximum values for both. These are different measurements of the same encoded audio organization. A panel that labels every size as bytes can misstate duration, buffer requirements and the meaning of an unusually compact frame.

Calculate time from samples

An illustrative block containing 4096 interchannel samples at 48,000 Hz represents about 85.33 milliseconds. Its encoded byte size depends on the signal and coding. Another block can cover the same duration while occupying fewer bytes. That does not make the shorter encoded representation faster playback or a lower-quality version of those same reconstructed samples.

Read STREAMINFO’s limits in context

RFC 9639 defines minimum and maximum block size in samples, and minimum and maximum frame size in bytes. Zero in a frame-size field means the byte size is unknown. The minimum block-size declaration also excludes the last block, which can be shorter. A very short final frame therefore needs its actual sample count before being called inconsistent with an intended regular block size.

Separate encoded and decoded storage

The decoder reconstructs sample values from the encoded frame. Its decoded storage needs also depend on channel count and sample representation, not just compressed bytes. A maintainer estimating buffer sizes must retain both sample and byte units. A low encoded bitrate does not prove that a decoder can ignore its declared maximum block size or allocate only the average compressed-frame size.

Inspect one actual frame

For a parser or duration discrepancy, record the frame’s sample count, sample rate, encoded extent and relevant STREAMINFO declarations. A viewer can supply the repeated failure position while technical staff inspect those fields. Do not change sample rate merely to make a displayed block-size number look familiar. The useful result is a correct time interval and a separate encoded-byte measurement, with lossless reconstruction and actual playback compatibility left to their appropriate checks rather than inferred from one file-size comparison.

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↑