Comparison of audio coding formats
The following tables compare general and technical information for a variety of audio coding formats. For listening tests comparing the perceived audio quality of audio formats and codecs, see the article Codec listening test.
General information
Operating system support
Codec | Windows | macOS | Linux | BSD | Unix | Palm OS | Symbian OS | Rockbox | iOS | Android | Chromium |
AAC | |||||||||||
AC-3 | |||||||||||
ALAC | |||||||||||
ALS | |||||||||||
aptX | |||||||||||
CELT | |||||||||||
E-AC3 | |||||||||||
FLAC | |||||||||||
Monkey's Audio | |||||||||||
MP3 | |||||||||||
Musepack | |||||||||||
Opus | |||||||||||
RealAudio | |||||||||||
Speex | |||||||||||
Vorbis | |||||||||||
True Audio | |||||||||||
WavPack | |||||||||||
WMA |
Multimedia frameworks support
Audio compression format | ACM | DirectShow | QuickTime | GStreamer | FFmpeg | Media Foundation |
8SVX | ||||||
AAC | ||||||
AC3 | ||||||
ALS | ||||||
AMR | ||||||
ALAC | ||||||
aptX | ||||||
ATRAC3 | ||||||
ATRAC3plus | ||||||
CELT | ||||||
Cook Codec | ||||||
DCA aka DTS | ||||||
DTS-HD | ||||||
E-AC-3 | ||||||
FLAC | ||||||
HE-AAC | ||||||
Monkey's Audio | ||||||
WavPack | ||||||
Shorten | ||||||
Sonic Audio | ||||||
MP3 | ||||||
RealAudio | ||||||
Speex | ||||||
Vorbis | ||||||
La ??? | ||||||
LPAC | ||||||
Windows Media Audio v1 | ||||||
Windows Media Audio v2 | ||||||
Windows Media Audio Pro | ||||||
Windows Media Audio Lossless | ||||||
Windows Media Audio Voice | ||||||
Musepack | ||||||
Meridian Lossless Packing | ||||||
Nellymoser Asao Codec in Flash | ||||||
OptimFROG | ||||||
Truespeech | ||||||
True Audio | ||||||
QCELP | ||||||
Audio compression format | ACM | DirectShow | QuickTime | GStreamer | FFmpeg | Media Foundation |
Technical details
Audio compression format | Algorithm | Sample rate | Bits per sample | Latency | Stereo | Multichannel |
ALAC | Lossless | 1–384000 Hz | 16, 20, 24, 32 | : Up to 8 channels | ||
ALS | Lossless | 0–4 GHz | 8, 16, 24, 32 | : Up to 65536 channels | ||
ATRAC Advanced Lossless | ||||||
Dolby TrueHD | Lossless | 48, 96, 192 kHz | 16, 20, 24 | : 5.1, 7.1, and Dolby Atmos object-based audio | ||
DTS-HD Master Audio | Lossless | Up to 192 kHz | : Up to 7.1 | |||
FLAC | Lossless | 1–655350 Hz | 4, 8, 16, 20, 24, 32 | 4.3–92 ms | : Up to 8 channels | |
HD-AAC | ||||||
Monkey's Audio | Lossless | 1–655350 Hz | 8, 16, 24 | 1670 to 26,749 ms | ||
OptimFROG | ||||||
OSQ | ||||||
RealAudio Lossless | Lossless | Varies | Varies | Varies | : Up to 6 channels | |
True Audio | Lossless | 0–4 GHz | 1 to > 64 | approx. 1045 ms | : Up to 65535 channels | |
WavPack Lossless | Lossless, Hybrid | 1 Hz to 16.777216 MHz | Varies in lossless mode; supports 32-bit float input; 2.2 minimum in lossy mode | : Up to 256 channels | ||
Windows Media Audio Lossless | Lossless | 8, 11.025, 16, 22.05, 32, 44.1, 48, 88.2, 96 kHz | 16, 24 | >100 ms | : Up to 6 channels |
Audio compression format | Algorithm | Sample rate | Bit rate | Bits per sample | Latency | CBR | VBR | Stereo | Multichannel |
G.711 | companding A-law or μ-law, PCM | 8 kHz | 64 kbit/s | 8 bit | 125 µs | ||||
G.711.0 | Lossless compression of G.711 | 8 kHz | 0.2–65.6 kbit/s | 8 bit | 5–40 ms | ||||
G.711.1 | MDCT, A-law, μ-law | 8, 16 kHz | 64, 80, 96 kbit/s | 16 bit | 11.875 ms | ||||
G.718 | CELP, MDCT, Lossy | 8, 16 kHz | 8, 12, 12.65, 16, 24, 32 kbit/s | 16 bit | 42.875–43.875 ms | ||||
G.718B | CELP, MDCT, Lossy, Sinusoidal Coding | 32 kHz | 36, 40, 48 kbit/s | 16 bit | 49.625 ms | ||||
G.719 | MDCT, Lossy | 48 kHz | 32–88 kbit/s in 4 kbit/s steps, 88–128 kbit/s in 8 kbit/s steps | 16 bit | 40 ms | : only in MPEG-4 Part 12 container | : only in MPEG-4 Part 12 container | ||
G.721 | ADPCM, Lossy | 8 kHz | 32 kbit/s | 13 bit | |||||
G.722 | sub-band ADPCM, Lossy | 16 kHz | 64 kbit/s | 14 bit | 4 ms | ||||
G.722.1 | Modulated Lapped Transform, Lossy | 16 kHz | 24, 32 kbit/s | 16 bit | 40 ms | ||||
G.722.1C | Modulated Lapped Transform, Lossy | 32 kHz | 24, 32, 48 kbit/s | 16 bit | 40 ms | ||||
G.722.2 | multi-rate wideband ACELP, Lossy | 16 kHz | 6.60, 8.85, 12.65, 14.25, 15.85, 18.25, 19.85, 23.05, 23.85 kbit/s | 14 bit | 25 ms | : only in MPEG-4 Part 12 container | |||
G.723 | ADPCM, Lossy | 8 kHz | 24, 40 kbit/s | 13 bit | |||||
G.723.1 | MP-MLQ, ACELP, Lossy | 8 kHz | 5.3, 6.3 kbit/s | 13 bit | 37.5 ms | ||||
G.726 | ADPCM, Lossy | 8 kHz | 16, 24, 32, 40 kbit/s | 13 bit | 125 µs | ||||
G.727 | ADPCM, Lossy | 8 kHz | 16, 24, 32, 40 kbit/s | 13 bit | |||||
G.728 | low-delay CELP, Lossy | 8 kHz | 16 kbit/s | 13 bit | 0.625 ms | ||||
G.729 | CS-ACELP, Lossy | 8 kHz | 8 kbit/s | 13 bit | 15 ms | ||||
G.729D | CS-ACELP, Lossy | 8 kHz | 6.4 kbit/s | 13 bit | |||||
G.729E | CS-ACELP, Lossy | 8 kHz | 11.8 kbit/s | 13 bit | 15 ms | ||||
G.729.1 | CELP, TDBWE, TDAC, Lossy | 8, 16 kHz | 8 kbit/s, 12–32 kbit/s in 2 kbit/s steps | 16 bit | 48.9375 ms |