Comparison of audio codecs
From Wikipedia, the free encyclopedia
The following tables compare general and technical information for a variety of audio codecs.
Contents |
Basic general information about the codecs: creator/company, license/price etc.
| Codec | Creator | First public release date | Latest stable version | Cost (USD) | Common implementations | Application | Patented | |
|---|---|---|---|---|---|---|---|---|
| Authoring | User | |||||||
| AAC | ISO/IEC MPEG Audio Committee | 1997 | ISO/IEC 14496-3 | varies | Free | OSI: FAAC; | Yes | |
| ALAC | Apple Computer | 2004-04-28 | QuickTime 7.1.3 | User: Free | Proprietary: QuickTime, iTunes, Real Player | Lossless Ripping | ? | |
| FLAC | Xiph.Org Foundation | 2001-07-20 | 1.1.4 | Free | Free | OSI: reference | Lossless Ripping | No |
| Monkey's Audio | Matthew T. Ashland | 200?-??-?? | 4.01b2 | Free | Free | Proprietary | Lossless | ? |
| MP3 | ISO/IEC MPEG Audio Committee | 1993 | ISO/IEC 11172-3 | (See note) | ? | OSI: LAME; Proprietary: Nero | Yes (but see note) |
|
| Speex | Xiph.Org Foundation | 2003-03-24 | 1.1.12 | Free | Free | OSI: reference | voice recording | No |
| Vorbis | Xiph.Org Foundation | 2002-07-20 | 1.1.2 | Free | Free | OSI: reference, aoTuV | No | |
| WavPack | Conifer Software | 1998 | 4.31 | Free | Free | OSI: reference | No | |
| Windows Media Audio | Microsoft Corp. | 1999 | 9.2 | ? | Free for owners of the Windows operating system [2] | ? | Yes | |
| Musepack | Frank Klemm/MDT | 1997 | 1.16 | Free | Free | OSI: reference | No | |
Notes:
- First public release date is first of either specification publishing or source releasing, or in the case of closed-specification, closed-source codecs, is the date of first binary releasing. Many developing codecs have pre-releases consisting of pre-1.0 versions and perhaps 1.0 release candidates (RCs), although 1.0 may not necessarily be the release version.
- Latest stable version is that of specification or reference tools.
- If there happens to be OSI licensed software available for a particular codec, this does not necessarily permit one to use said codec free of charge. Likewise, if there is only proprietary licensed software available for a particular codec, one might be able to use the codec free of charge.
- MP3 licence and patent status: - The MP3 format is patented and therefore subject to license (expires latest: 2011). However with multiple contenders for the patent, it is far from certain in the market whom is the patent holder with the right to set pricing and royalties. A sample of prices for one patent-holder can be found here. In practice, there is a wide range of MP3 authoring softare and MP3 encoding worldwide is often performed on a private basis and unpaid, with patent rights unenforced against end users. See MP3#Licensing and patent issues.
| Codec | Windows | Mac OS X | Linux | BSD | Unix |
|---|---|---|---|---|---|
| AAC | Yes | Yes | Yes | Yes | Yes |
| ALAC[1] | Yes | Yes | Yes | Yes | Yes |
| FLAC | Yes | Yes | Yes | Yes | Yes |
| Monkey's Audio | Yes | Yes | Yes | Yes | Yes |
| MP3 | Yes | Yes | Yes | Yes | Yes |
| Musepack | Yes | Yes | Yes | Yes | Yes |
| RealAudio[2] | Yes | Yes | Yes | Yes | Yes |
| Speex | Yes | Yes | Yes | Yes | Yes |
| Vorbis | Yes | Yes | Yes | Yes | Yes |
| WavPack | Yes | Yes | Yes | Yes | Yes |
| WMA[2] | Yes | Yes[3] | Partial | Partial | Partial |
| Codec | Algorithm | Sample Rate | Bit rate[4] | Bits per sample | CBR | VBR | Stereo | Mono |
|---|---|---|---|---|---|---|---|---|
| AAC | Lossy, Hybrid | 8 Hz to 192 kHz[5] | 8 to 529 kbit/s (stereo) | Any (typically uses fp internally) | Yes | Yes | Yes: Dual, Mid/Side, Intensity, Parametric | Yes |
| ALAC | Lossless | 44.1, 48 kHz | variable | ? | No | Yes | Yes | Yes |
| FLAC | Lossless | 1 Hz to 1048.57 kHz | variable | 4, 8, 16, 24(, 32) | No | Yes | Yes | Yes |
| Monkey's Audio | Lossless | 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48 kHz | variable | ? | No | Yes | Yes | Yes |
| MP3 | Lossy | 8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48 kHz | 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320 kbit/s | Any (typically uses fp internally) | Yes | Yes | Yes: Dual, Mid/Side, Intensity | Yes |
| RealAudio | Lossless, Lossy | Varies (see article) | Varies (see article) | Varies (see article) | Yes | Yes | Yes | Yes |
| Speex | Speech | 8, 16, 32(, 48) kHz | NB: 2.15 to 24.6 kbit/s WB: 4 to 44.2 kbit/s | ? | Yes | Yes | Yes: Intensity | Yes |
| Vorbis | Lossy | 1 Hz to 200 kHz | variable | Any (typically uses fp internally) | Yes | Yes | Yes: Dual, Lossless, Phase, Point (Intensity) | Yes |
| WavPack | Lossless, Lossy, Hybrid | 1 Hz to 16777.216 kHz | variable in lossless mode; 196 kbit/s and up in lossy mode (for CD audio) | varies in lossless mode; 2.2 minimum in lossy mode | Yes | Yes | Yes | Yes |
| Windows Media Audio | Lossless, Lossy | 8, 11.025, 16, 22.05, 32, 44.1, 48, 88.2, 96 kHz | 4 to 768kbit/s, variable in lossless encoding | 16, 24 for lossless mode, any in lossy mode (typically uses fp internally) | Yes | Yes | Yes | Yes |
- ^ An open-source decoder for ALAC has been reverse engineered.
- ^ a b The ffmpeg project has reverse engineered some codecs of the RealAudio and Windows Media Audio (DivX Audio v1 and DivX Audio v2) formats. This enables their use on any POSIX compatible system.
- ^ Microsoft has outsourced their WMA support on Mac OS X to Telestream, Inc. who created and maintain Windows Media Components for QuickTime, a product surprisingly superior to Windows Media Player for Mac OS.
- ^ Lossless compression is always VBR. [1]
- ^ MPEG 2 AAC was limited to a 96khz sampling rate, however, with MPEG 4 AAC, a later version part of the MPEG 4 specification, the maximum sampling rate has been increased to 192khz.