Opus
The most efficient audio codec, mandatory for WebRTC.
Advanced Audio Coding (AAC) is a lossy audio compression standard developed by the MPEG consortium as the successor to MP3. Standardized in 1997 (ISO/IEC 13818-7) and updated through multiple profiles (LC, HE-AAC, HE-AACv2, xHE-AAC), AAC delivers better audio quality than MP3 at equivalent bitrates. AAC is the mandatory audio codec for HLS streaming and the default audio format across Apple’s ecosystem (iTunes, Apple Music, iOS). AAC-LC at 128 kbps is the most common audio configuration for streaming video, offering excellent quality for music and dialogue.
| Standard | ISO/IEC 13818-7 (MPEG-2) / ISO/IEC 14496-3 (MPEG-4) |
| Bitrate range | 8 kbps – 529 kbps |
| Sweet spot bitrate | 128 kbps (AAC-LC — high quality for most content) |
| Channels | Up to 48 channels (typically stereo or 5.1) |
| Latency | ~20ms (algorithmic delay, AAC-LC) |
| Sample rates | 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48, 64, 88.2, 96 kHz |
| Royalty status | Licensed (Via Licensing patent pool) |
| Container support | MP4, HLS, DASH |
| Browser support | All browsers — Chrome, Firefox, Safari, Edge |
| Typical use case | HLS audio, VOD streaming, Apple ecosystem, broadcast |
Platform | AAC | MP3 | Opus | Vorbis |
|---|---|---|---|---|
Chrome (desktop) | 33+ | |||
Firefox (desktop) | 15+ | |||
Safari (macOS) | 14.1+ | |||
Edge | 79+ | |||
iOS Safari | 14.5+ | |||
Android Chrome |
AAC is the default audio codec for HLS and MP4 output in Qencode. Unless you specify a different audio codec, Qencode automatically uses AAC-LC. Configure bitrate, sample rate, and channel layout through API parameters.
Pair AAC audio with Audio Normalization to standardize loudness levels across your library before encoding.
AAC audio in MP4 output
{
"query": {
"source": "https://your-storage.com/video.mp4",
"format": [
{
"output": "mp4",
"video_codec": "libx264",
"resolution": 2160,
"optimize_bitrate": 1,
"audio_codec": "aac"
}
]
}
}Copy this payload and use it with your API key to encode AAC audio from any source.
Learn how to configure audio codec settingsAAC | Opus | |
|---|---|---|
Transparent quality | 192 kbps | 128 kbps |
Royalty status | Licensed | Royalty-free |
HLS support | Required (default) | Not standard in HLS |
WebRTC support | Not standard | Required (mandatory) |
Latency | ~20ms | 2.5–60ms (configurable) |
Best for | HLS streaming, Apple ecosystem | WebRTC, low-bitrate, low-latency |
For a detailed Opus breakdown, see Opus
The most efficient audio codec, mandatory for WebRTC.
The adaptive streaming format that requires AAC audio.
Standardize audio levels across your library.
We love creating powerful solutions that are aligned with the needs of your business.
Please send us a message if you have a question or Schedule a call for a demo to discuss your integration.
Contact us with any questions. We'd love to help.
Los Angeles, CA - (HQ)
San Francisco, CA
New York, NY