Maximum Frame Size Supported by Opus Audio Format

This article provides a direct answer to the maximum frame size supported by the Opus audio format, detailing the specific millisecond limits, how these frame sizes are structured, and the practical implications of choosing different frame sizes for audio quality and latency.

The maximum frame size supported by the Opus audio format is 120 milliseconds (ms).

While Opus natively defines individual frame sizes of 2.5 ms, 5 ms, 10 ms, 20 ms, 40 ms, and 60 ms, the specification allows for multiple frames to be combined into a single packet. By packing multiple 60 ms frames together, Opus can achieve a maximum total packet duration of 120 ms.

Frame Sizes and Latency Trade-Offs

The choice of frame size in Opus directly impacts both latency and compression efficiency: