Lossless comparison: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
The '''lossless comparison page''' aims to gather information about lossless codecs available so users can make an informed decision as to what lossless codec to choose for their needs. | The '''lossless comparison page''' aims to gather information about lossless codecs available so users can make an informed decision as to what lossless codec to choose for their needs. | ||
==Introduction== | == Introduction == | ||
Given the enormous amount of [[lossless]] audio compressor choices available, it is a very difficult task to choose the one most suited for each person's needs. | Given the enormous amount of [[lossless]] audio compressor choices available, it is a very difficult task to choose the one most suited for each person's needs. | ||
Line 12: | Line 12: | ||
'''Note:''' for latest comparison of lossless compression, scroll down to the [[Lossless comparison#External links|Links section of this page]]. | '''Note:''' for latest comparison of lossless compression, scroll down to the [[Lossless comparison#External links|Links section of this page]]. | ||
== Comparison Table == | |||
==Comparison Table== | |||
<!-- Do NOT add links to the table. It's cluttered and colourful enough as it is. Please add them to the article itself if needed. Thanks --> | <!-- Do NOT add links to the table. It's cluttered and colourful enough as it is. Please add them to the article itself if needed. Thanks --> | ||
Line 90: | Line 88: | ||
|! align="left" style="background: #FFFF99" | Hybrid/lossy ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no | |! align="left" style="background: #FFFF99" | Hybrid/lossy ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no | ||
|-| | |-| | ||
|! align="left" style="background: #FFFF99" | | |! align="left" style="background: #FFFF99" | Replay Gain ||! style="background: #00FF00" | yes ||! style="background: #FFFFFF" | sort of ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no | ||
|-| | |-| | ||
|! align="left" style="background: #FFFF99" | RIFF chunks ||! style="background: #00FF00" | yes ||! style="background: #FFFFFF" | ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #00FF00" | yes ||! style="background: #00FF00" | yes | |! align="left" style="background: #FFFF99" | RIFF chunks ||! style="background: #00FF00" | yes ||! style="background: #FFFFFF" | ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #00FF00" | yes ||! style="background: #00FF00" | yes | ||
Line 148: | Line 146: | ||
|! align="left" style="background: #FFFF99" | Hybrid/lossy ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no | |! align="left" style="background: #FFFF99" | Hybrid/lossy ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no | ||
|-| | |-| | ||
|! align="left" style="background: #FFFF99" | | |! align="left" style="background: #FFFF99" | Replay Gain ||! style="background: #FF9900" | no ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no | ||
|-| | |-| | ||
|! align="left" style="background: #FFFF99" | RIFF chunks ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FFFFFF" | ||! style="background: #FFFFFF" | ||! style="background: #FFFFFF" | | |! align="left" style="background: #FFFF99" | RIFF chunks ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FF9900" | no ||! style="background: #00FF00" | yes ||! style="background: #FFFFFF" | ||! style="background: #FFFFFF" | ||! style="background: #FFFFFF" | | ||
Line 170: | Line 168: | ||
<nowiki>**</nowiki> Flexibility refers to the amount of encoding choices offered to the users (Fast/low compression, Slow/high compression and everything inbetween) | <nowiki>**</nowiki> Flexibility refers to the amount of encoding choices offered to the users (Fast/low compression, Slow/high compression and everything inbetween) | ||
These are the most popular lossless codecs, in alphabetical order: | These are the most popular lossless codecs, in alphabetical order: | ||
==ALAC - Apple Lossless Audio Codec== http://www.apple.com/itunes/import.html | == ALAC - Apple Lossless Audio Codec == | ||
http://www.apple.com/itunes/import.html | |||
[[ALAC]] is a codec developed by Apple for usage in [[Apple iPod|iPod]] and AirPort Express. | [[ALAC]] is a codec developed by Apple for usage in [[Apple iPod|iPod]] and AirPort Express. | ||
=== ALAC PROS === | |||
===ALAC PROS=== | |||
* Very fast decoding | * Very fast decoding | ||
* [[Open source]] ([http://craz.net/programs/itunes/alac.html decoding only]) | * [[Open source]] ([http://craz.net/programs/itunes/alac.html decoding only]) | ||
Line 189: | Line 186: | ||
* Supports [[multichannel]] audio and [[high resolution]]s | * Supports [[multichannel]] audio and [[high resolution]]s | ||
===ALAC CONS=== | === ALAC CONS === | ||
* Closed source (encoding) | * Closed source (encoding) | ||
* Limited software support | * Limited software support | ||
Line 195: | Line 192: | ||
* No hybrid/lossy mode | * No hybrid/lossy mode | ||
===ALAC Other features=== | === ALAC Other features === | ||
* Fits in the [[MP4]] container | * Fits in the [[MP4]] container | ||
* Can be used with the AirPort Express gadget | * Can be used with the AirPort Express gadget | ||
==FLAC - Free Lossless Audio Codec== http://flac.sourceforge.net/ | == FLAC - Free Lossless Audio Codec== | ||
http://flac.sourceforge.net/ | |||
[[FLAC]] is a lossless codec developed by Josh Coalson. It's part of the Xiph multimedia portfolio, along with [[Ogg]], [[Vorbis]], [[Speex]] and [[Theora]]. | [[FLAC]] is a lossless codec developed by Josh Coalson. It's part of the Xiph multimedia portfolio, along with [[Ogg]], [[Vorbis]], [[Speex]] and [[Theora]]. | ||
=== FLAC PROS === | |||
===FLAC PROS=== | |||
* [[Open source]] | * [[Open source]] | ||
* Very fast decoding | * Very fast decoding | ||
Line 216: | Line 213: | ||
* Tagging support (FLAC tags) | * Tagging support (FLAC tags) | ||
* Pipe support | * Pipe support | ||
* [[ | * [[Replay Gain]] compatible | ||
===FLAC CONS=== | === FLAC CONS === | ||
* No hybrid/lossy mode | * No hybrid/lossy mode | ||
* Doesn't support [[RIFF]] chunks | * Doesn't support [[RIFF]] chunks | ||
===FLAC Other features=== | === FLAC Other features === | ||
* Supports embedded CUE sheets (with [http://flac.sourceforge.net/faq.html#general__no_cuesheet_tags limitations]) | * Supports embedded CUE sheets (with [http://flac.sourceforge.net/faq.html#general__no_cuesheet_tags limitations]) | ||
* Includes MD5 hashes for quick integrity checking | * Includes MD5 hashes for quick integrity checking | ||
Line 228: | Line 225: | ||
==LA | == LosslessAudio (LA) == | ||
http://www.lossless-audio.com/ | |||
[[LA]] is a lossless codec developed by Michael Bevin. | [[LA]] is a lossless codec developed by Michael Bevin. | ||
=== LA PROS === | |||
===LA PROS=== | |||
* Very high compression | * Very high compression | ||
* Tagging support ([[ID3v1]]) | * Tagging support ([[ID3v1]]) | ||
Line 239: | Line 236: | ||
* Pipe support | * Pipe support | ||
===LA CONS=== | === LA CONS === | ||
* Closed source | * Closed source | ||
* Very slow encoding and decoding | * Very slow encoding and decoding | ||
Line 246: | Line 243: | ||
* No hybrid/lossy mode | * No hybrid/lossy mode | ||
* Bad software support | * Bad software support | ||
* Doesn't support [[ | * Doesn't support [[Replay Gain]] | ||
'''''It's important to mention that the LA foobar plugin is buggy and doesn't produce lossless streams!''''' | '''''It's important to mention that the LA foobar plugin is buggy and doesn't produce lossless streams!''''' | ||
==LPAC== http://www.nue.tu-berlin.de/wer/liebchen/lpac.html | == LPAC == | ||
http://www.nue.tu-berlin.de/wer/liebchen/lpac.html | |||
Lossless Predictive Audio Coder ([[LPAC]]) is a lossless codec developed by Tilman Liebchen. Development of it has been halted in favour of development of [[MPEG-4]] ALS. | Lossless Predictive Audio Coder ([[LPAC]]) is a lossless codec developed by Tilman Liebchen. Development of it has been halted in favour of development of [[MPEG-4]] ALS. | ||
=== LPAC PROS === | |||
===LPAC PROS=== | |||
* Reasonable compression ratios | * Reasonable compression ratios | ||
* [[High resolution]] audio support | * [[High resolution]] audio support | ||
* Supports [[RIFF]] chunks | * Supports [[RIFF]] chunks | ||
===LPAC CONS=== | === LPAC CONS === | ||
* Closed source | * Closed source | ||
* No error robustness | * No error robustness | ||
Line 269: | Line 266: | ||
* No hybrid/lossy mode | * No hybrid/lossy mode | ||
* No hardware support | * No hardware support | ||
* Doesn't support [[ | * Doesn't support [[Replay Gain]] | ||
==Monkey's Audio== http://www.monkeysaudio.com/ | == Monkey's Audio == | ||
http://www.monkeysaudio.com/ | |||
[[Monkey's Audio]] is a very efficient lossless compressor developed by Matt Ashland. | [[Monkey's Audio]] is a very efficient lossless compressor developed by Matt Ashland. | ||
=== APE PROS === | |||
===APE PROS=== | |||
* [[Open source]] | * [[Open source]] | ||
* High efficiency | * High efficiency | ||
Line 288: | Line 285: | ||
* Pipe support (only in a [http://www.etree.org/shnutils/shntool/ special] version) | * Pipe support (only in a [http://www.etree.org/shnutils/shntool/ special] version) | ||
===APE CONS=== | === APE CONS === | ||
* No [[multichannel]] support | * No [[multichannel]] support | ||
* No error robustness | * No error robustness | ||
* No hybrid/lossy mode | * No hybrid/lossy mode | ||
* Limited hardware support ([http://www.engadget.com/2006/08/17/gemei-x-21-offers-ape-support/ Gemei X21]) | * Limited hardware support ([http://www.engadget.com/2006/08/17/gemei-x-21-offers-ape-support/ Gemei X21]) | ||
* Doesn't support [[ | * Doesn't support [[Replay Gain]] | ||
===APE Other features=== | === APE Other features === | ||
* Includes MD5 hashes for quick integrity checking | * Includes MD5 hashes for quick integrity checking | ||
* Supports APL image link files (similar to CUE sheets) | * Supports APL image link files (similar to CUE sheets) | ||
==MPEG-4 SLS== | == MPEG-4 SLS == | ||
MPEG-4 SLS allows audio encoding from lossless scalable to [[AAC]]. | MPEG-4 SLS allows audio encoding from lossless scalable to [[AAC]]. | ||
=== SLS PROS === | |||
===SLS PROS=== | |||
* Transcoding to standard AAC or any higher lossy bitrate at the speed of copying a file | * Transcoding to standard AAC or any higher lossy bitrate at the speed of copying a file | ||
* Scalable decoding from lossless, to any bitrate down to the AAC core track | * Scalable decoding from lossless, to any bitrate down to the AAC core track | ||
Line 312: | Line 307: | ||
* Multi channel audio support | * Multi channel audio support | ||
* [[Open source]] (MPEG-4 Reference code) | * [[Open source]] (MPEG-4 Reference code) | ||
* Embedded in standard MP4 files, so supports same tagging and | * Embedded in standard MP4 files, so supports same tagging and Replay Gain features as AAC does. | ||
===SLS CONS=== | === SLS CONS === | ||
* No usable software available yet | * No usable software available yet | ||
* Pure lossless compression not the best there is | * Pure lossless compression not the best there is | ||
* Seems to be slow in encoding and decoding, but we have to wait for released software | * Seems to be slow in encoding and decoding, but we have to wait for released software | ||
===SLS Other features=== | === SLS Other features === | ||
* Transform based lossless codec with optional LC AAC core track | * Transform based lossless codec with optional LC AAC core track | ||
==OptimFROG== http://losslessaudiocompression.com/ | == OptimFROG == | ||
http://losslessaudiocompression.com/ | |||
[[OptimFROG]] is a lossless format developed by Florin Ghido to become the champion in audio compression. | [[OptimFROG]] is a lossless format developed by Florin Ghido to become the champion in audio compression. | ||
=== OFR PROS === | |||
===OFR PROS=== | |||
* Very high compression | * Very high compression | ||
* Good software support | * Good software support | ||
Line 337: | Line 332: | ||
* Tagging support ([[ID3]], [[APE tags]]) | * Tagging support ([[ID3]], [[APE tags]]) | ||
* Supports [[RIFF]] chunks | * Supports [[RIFF]] chunks | ||
* [[ | * [[Replay Gain]] compatible | ||
===OFR CONS=== | === OFR CONS === | ||
* Closed source | * Closed source | ||
* No [[multichannel]] audio support | * No [[multichannel]] audio support | ||
Line 345: | Line 340: | ||
* Quite slow decoding | * Quite slow decoding | ||
===OFR Other features=== | === OFR Other features === | ||
* Supports 32bit float streams | * Supports 32bit float streams | ||
* Includes MD5 hashes for quick integrity checking | * Includes MD5 hashes for quick integrity checking | ||
==RealAudio Lossless== http://www.realnetworks.com/products/codecs/realaudio.html | == RealAudio Lossless == | ||
http://www.realnetworks.com/products/codecs/realaudio.html | |||
RealAudio lossless is the lossless codec developed by Real Networks for their multimedia portfolio | RealAudio lossless is the lossless codec developed by Real Networks for their multimedia portfolio | ||
=== RAL PROS === | |||
===RAL PROS=== | |||
* Very fast decoding | * Very fast decoding | ||
* Streaming support | * Streaming support | ||
* Tagging support (proprietary) | * Tagging support (proprietary) | ||
===RAL CONS=== | === RAL CONS === | ||
* Closed source | * Closed source | ||
* No [[multichannel]] and [[high resolution]] audio support | * No [[multichannel]] and [[high resolution]] audio support | ||
Line 368: | Line 363: | ||
* No hybrid/lossy mode | * No hybrid/lossy mode | ||
* No pipe support | * No pipe support | ||
* Doesn't support [[ | * Doesn't support [[Replay Gain]] | ||
==Shorten== http://www.etree.org/shnutils/shorten/ | == Shorten == | ||
http://www.etree.org/shnutils/shorten/ | |||
[[Shorten]] is a very old and featureless lossless codec developed by Tony Robinson at SoftSound. | [[Shorten]] is a very old and featureless lossless codec developed by Tony Robinson at SoftSound. | ||
=== SHN PROS === | |||
===SHN PROS=== | |||
* [[Open source]] | * [[Open source]] | ||
* Fast decoding | * Fast decoding | ||
Line 383: | Line 378: | ||
* Pipe support | * Pipe support | ||
===SHN CONS=== | === SHN CONS === | ||
* Quite inefficient | * Quite inefficient | ||
* No [[multichannel]] or [[high resolution]] audio support | * No [[multichannel]] or [[high resolution]] audio support | ||
Line 391: | Line 386: | ||
* No hardware support | * No hardware support | ||
* No native tagging | * No native tagging | ||
* Doesn't support [[ | * Doesn't support [[Replay Gain]] | ||
==True Audio (TTA)== http://www.true-audio.com/ | == True Audio (TTA) == | ||
http://www.true-audio.com/ | |||
[[TTA]] is a new lossless codec developed by a team of russian programmers. | [[TTA]] is a new lossless codec developed by a team of russian programmers. | ||
=== TTA PROS === | |||
===TTA PROS=== | |||
* [[Open source]] | * [[Open source]] | ||
* Good efficiency | * Good efficiency | ||
Line 405: | Line 400: | ||
* Supports [[multichannel]] audio and [[high resolution]]s | * Supports [[multichannel]] audio and [[high resolution]]s | ||
* Tagging support ([[ID3]]) | * Tagging support ([[ID3]]) | ||
* [[ | * [[Replay Gain]] compatible | ||
* Error robustness | * Error robustness | ||
===TTA CONS=== | === TTA CONS === | ||
* No streaming support | * No streaming support | ||
* No hybrid/lossy mode | * No hybrid/lossy mode | ||
Line 414: | Line 409: | ||
* No pipe support | * No pipe support | ||
===TTA Other features=== | === TTA Other features === | ||
* Fits the [[Matroska]] container | * Fits the [[Matroska]] container | ||
==WavPack== http://www.wavpack.com/ | == WavPack == | ||
http://www.wavpack.com/ | |||
[[WavPack]] is a fast and featureful lossless codec developed by David Bryant. | [[WavPack]] is a fast and featureful lossless codec developed by David Bryant. | ||
=== WV PROS === | |||
===WV PROS=== | |||
* [[Open source]] | * [[Open source]] | ||
* Very fast decoding | * Very fast decoding | ||
Line 438: | Line 433: | ||
* Pipe support | * Pipe support | ||
* Good software support | * Good software support | ||
* [[ | * [[Replay Gain]] compatible | ||
===WV CONS=== | === WV CONS === | ||
* Limited hardware player support | * Limited hardware player support | ||
===WV Other features=== | === WV Other features === | ||
* Supports 32bit float streams | * Supports 32bit float streams | ||
* Supports embedded CUE sheets | * Supports embedded CUE sheets | ||
Line 451: | Line 446: | ||
==Windows Media Audio Lossless== http://www.microsoft.com/windows/windowsmedia/9series/codecs/audio.aspx | == Windows Media Audio Lossless == | ||
http://www.microsoft.com/windows/windowsmedia/9series/codecs/audio.aspx | |||
WMA Lossless is the lossless codec developed by Microsoft to be featured in their Windows Media codec portfolio. | WMA Lossless is the lossless codec developed by Microsoft to be featured in their Windows Media codec portfolio. | ||
=== WMAL PROS === | |||
===WMAL PROS=== | |||
* Streaming support | * Streaming support | ||
* Very good software support | * Very good software support | ||
Line 463: | Line 458: | ||
* Pipe support | * Pipe support | ||
===WMAL CONS=== | === WMAL CONS === | ||
* Closed source | * Closed source | ||
* No hybrid/lossy mode | * No hybrid/lossy mode | ||
* Limited hardware support ([http://en.wikipedia.org/wiki/Gigabeat Gigabeat V and S line from Toshiba]) | * Limited hardware support ([http://en.wikipedia.org/wiki/Gigabeat Gigabeat V and S line from Toshiba]) | ||
* Doesn't support [[RIFF]] chunks | * Doesn't support [[RIFF]] chunks | ||
* Doesn't support [[ | * Doesn't support [[Replay Gain]] | ||
===WMAL Other features=== | === WMAL Other features === | ||
* Fits the [[ASF]] container | * Fits the [[ASF]] container | ||
==Oddball Formats== | == Oddball Formats == | ||
There are several old lossless formats that aren't being featured in the article above. Reasons are: lack of widespread support, lack of features, bad efficiency and, most importantly, it seems noone is really interested in them. | There are several old lossless formats that aren't being featured in the article above. Reasons are: lack of widespread support, lack of features, bad efficiency and, most importantly, it seems noone is really interested in them. | ||
Most of those would have disappeared by now, but they are being preserved for posterity at [[User:Rjamorim|rjamorim]]'s [http://www.rjamorim.com/rrw/ ReallyRareWares] | Most of those would have disappeared by now, but they are being preserved for posterity at [[User:Rjamorim|rjamorim]]'s [http://www.rjamorim.com/rrw/ ReallyRareWares] | ||
=== Advanced Digital Audio (ADA) === | |||
===Advanced Digital Audio (ADA)=== | |||
* http://www.rjamorim.com/rrw/ada.html | * http://www.rjamorim.com/rrw/ada.html | ||
===Bonk=== | === Bonk === | ||
* http://www.logarithmic.net/pfh/bonk | * http://www.logarithmic.net/pfh/bonk | ||
===Marian's a-Pac=== | === Marian's a-Pac === | ||
* http://www.marian.de/en/downloads#APAC | * http://www.marian.de/en/downloads#APAC | ||
* http://www.rjamorim.com/rrw/apac.html | * http://www.rjamorim.com/rrw/apac.html | ||
===AudioZip=== | === AudioZip === | ||
* http://www.rjamorim.com/rrw/audiozip.html | * http://www.rjamorim.com/rrw/audiozip.html | ||
===Dakx WAV=== | === Dakx WAV === | ||
* http://www.dakx.com/ | * http://www.dakx.com/ | ||
* http://www.rjamorim.com/rrw/daxwav.html | * http://www.rjamorim.com/rrw/daxwav.html | ||
===Entis Lab MIO=== | === Entis Lab MIO === | ||
* http://www.entis.gr.jp/eri/frame.html | * http://www.entis.gr.jp/eri/frame.html | ||
* http://www.rjamorim.com/rrw/mio.html | * http://www.rjamorim.com/rrw/mio.html | ||
===LiteWave=== | === LiteWave === | ||
* http://www.clearjump.com/products/LiteWave.html | * http://www.clearjump.com/products/LiteWave.html | ||
* http://www.rjamorim.com/rrw/litewave.html | * http://www.rjamorim.com/rrw/litewave.html | ||
===Pegasus SPS=== | === Pegasus SPS === | ||
* http://www.krishnasoft.com/sps.htm | * http://www.krishnasoft.com/sps.htm | ||
* http://www.rjamorim.com/rrw/pegasussps.html | * http://www.rjamorim.com/rrw/pegasussps.html | ||
===RKaudio== | === RKaudio == | ||
* http://www.rjamorim.com/rrw/split2000.html | * http://www.rjamorim.com/rrw/split2000.html | ||
===Sonarc=== | === Sonarc === | ||
* http://www.rjamorim.com/rrw/sonarc.html | * http://www.rjamorim.com/rrw/sonarc.html | ||
===VocPack=== | === VocPack === | ||
* http://www.rjamorim.com/rrw/vocpack.html | * http://www.rjamorim.com/rrw/vocpack.html | ||
===WavArc=== | === WavArc === | ||
* http://www.rjamorim.com/rrw/wavarc.html | * http://www.rjamorim.com/rrw/wavarc.html | ||
===WaveZip/MUSICompress=== | === WaveZip/MUSICompress === | ||
* http://members.aol.com/_ht_a/sndspace/ | * http://members.aol.com/_ht_a/sndspace/ | ||
* http://www.rjamorim.com/rrw/wavezip.html | * http://www.rjamorim.com/rrw/wavezip.html | ||
==See also== | == See also == | ||
*[[Lossless]] | * [[Lossless]] | ||
===Other lossless compressions comparisons=== | == External links == | ||
=== Other lossless compressions comparisons === | |||
''Sorted based on last '''update''' date.'' | ''Sorted based on last '''update''' date.'' | ||
Line 563: | Line 537: | ||
* [http://members.home.nl/w.speek/comparison.htm Speek's] (last updated 2005-02-07) | * [http://members.home.nl/w.speek/comparison.htm Speek's] (last updated 2005-02-07) | ||
===More on lossless compressions=== | === More on lossless compressions === | ||
* [http://losslessaudioblog.com/ The Lossless Audio Blog] - by windmiller, is a reliable and complete source of news about lossless compression. | * [http://losslessaudioblog.com/ The Lossless Audio Blog] - by windmiller, is a reliable and complete source of news about lossless compression. | ||
* Go to the [http://www.hydrogenaudio.org/forums/index.php?showtopic=33226 Hydrogenaudio thread] to discuss this article. | * Go to the [http://www.hydrogenaudio.org/forums/index.php?showtopic=33226 Hydrogenaudio thread] to discuss this article. | ||
[[Category:Guides]] | [[Category:Guides]] |
Revision as of 19:27, 13 June 2007
The lossless comparison page aims to gather information about lossless codecs available so users can make an informed decision as to what lossless codec to choose for their needs.
Introduction
Given the enormous amount of lossless audio compressor choices available, it is a very difficult task to choose the one most suited for each person's needs.
Several people only take into consideration compression performance when choosing a codec. But as the following table and article shows, there are several other features worth taking into consideration when making that choice.
For example, users wanting good multiplatform compatibility and robustness (E.G, people sharing live recordings) would favour WavPack or FLAC. Another user, looking for the very highest compression available, would go with OptimFROG. Someone wanting portable support would use FLAC or ALAC, and so on.
En fin, this is not a matter worth getting too worked up about. If you later find out the codec you chose isn't the best for your needs, you can just transcompress to another format, without risk of losing quality.
Note: for latest comparison of lossless compression, scroll down to the Links section of this page.
Comparison Table
Features | WavPack | ALAC | FLAC | Monkey's | OptimFROG | Shorten |
Encoding speed | very fast | average | fast | fast | slow | very fast |
Decoding speed | very fast | fast | very fast | average | average | very fast |
Compression* | 58.0% | 58.50% | 58.70% | 55.50% | 54.70% | 63.50% |
Flexibility** | very good | bad | very good | very good | very good | bad |
Error handling | yes | yes | no | yes | no | |
Seeking | yes | yes | yes | yes | yes | yes |
Tagging | ID3/APE | QT tags | Vorbis tags | ID3/APE | ID3/APE | no |
Hardware support | limited | good | very good | limited | no | limited |
Software support | good | bad | very good | good | average | very good |
Hybrid/lossy | yes | no | no | no | yes | no |
Replay Gain | yes | sort of | yes | no | yes | no |
RIFF chunks | yes | no | yes | yes | yes | |
Streaming | yes | yes | yes | no | yes | no |
Pipe support | yes | no | yes | yes | yes | yes |
Open source | yes | Yes (decoding) | yes | yes | no | yes |
Multichannel | yes | yes | yes | no | no | no |
High resolution | yes | yes | yes | yes | yes | no |
OS support | All | Win/Mac | All | All | Win/Mac/Linux | All |
(table continued below)
Features | WMA | LA | TTA | LPAC | MPEG-4 ALS | MPEG-4 SLS | Real Lossless |
Encoding speed | average | slow | very fast | average | average | slow | slow |
Decoding speed | average | slow | fast | fast | fast | slow | fast |
Compression* | 56.30% | 53.50% | 57.10% | 57.20% | 57.10% | ? | 57.0% |
Flexibility** | bad | average | bad | bad | very good | bad | bad |
Error handling | yes | no | yes | no | yes | yes | |
Seeking | yes | yes | yes | slow | yes | yes | yes |
Tagging | Proprietary | ID3v1 | ID3 | no | yes | yes | Proprietary |
Hardware support | limited | no | limited | no | no | no | no |
Software support | good | bad | average | average | bad | bad | bad |
Hybrid/lossy | no | no | no | no | no | yes | no |
Replay Gain | no | no | yes | no | yes | yes | no |
RIFF chunks | no | yes | no | yes | |||
Streaming | yes | no | no | yes | yes | yes | |
Pipe support | yes | yes | no | no | |||
Open source | no | no | yes | no | yes | yes | no |
Multichannel | yes | no | yes | no | yes | yes | no |
High resolution | yes | no | yes | yes | yes | yes | no |
OS support | Win/Mac | Win/Linux | All | Win/Linux/Sol | All | All | Win/Mac/Linux |
* The Compression ratio is calculated with the division of compressed size by uncompressed size * 100. So, lower is better.
Encoding speed, Decoding speed and Compression ratio are based on each encoder's default settings.
** Flexibility refers to the amount of encoding choices offered to the users (Fast/low compression, Slow/high compression and everything inbetween)
These are the most popular lossless codecs, in alphabetical order:
ALAC - Apple Lossless Audio Codec
http://www.apple.com/itunes/import.html
ALAC is a codec developed by Apple for usage in iPod and AirPort Express.
ALAC PROS
- Very fast decoding
- Open source (decoding only)
- Hardware support (iPod, AirPort Express)
- Streaming support
- Tagging support (QT tags)
- Excellent hardware-software-lossy format integration with iTunes/iPod.
- Supports multichannel audio and high resolutions
ALAC CONS
- Closed source (encoding)
- Limited software support
- Compression efficiency not on par with other lossless codecs
- No hybrid/lossy mode
ALAC Other features
- Fits in the MP4 container
- Can be used with the AirPort Express gadget
FLAC - Free Lossless Audio Codec
FLAC is a lossless codec developed by Josh Coalson. It's part of the Xiph multimedia portfolio, along with Ogg, Vorbis, Speex and Theora.
FLAC PROS
- Open source
- Very fast decoding
- Fast encoding
- Hardware support (Karma, Phatbox, etc.)
- Very good software support
- Error robustness
- Streaming support
- Supports multichannel audio and high resolutions
- Tagging support (FLAC tags)
- Pipe support
- Replay Gain compatible
FLAC CONS
- No hybrid/lossy mode
- Doesn't support RIFF chunks
FLAC Other features
- Supports embedded CUE sheets (with limitations)
- Includes MD5 hashes for quick integrity checking
- Fits the Ogg and Matroska containers
LosslessAudio (LA)
http://www.lossless-audio.com/
LA is a lossless codec developed by Michael Bevin.
LA PROS
LA CONS
- Closed source
- Very slow encoding and decoding
- Doesn't support multichannel audio and high resolutions
- No hardware support
- No hybrid/lossy mode
- Bad software support
- Doesn't support Replay Gain
It's important to mention that the LA foobar plugin is buggy and doesn't produce lossless streams!
LPAC
http://www.nue.tu-berlin.de/wer/liebchen/lpac.html
Lossless Predictive Audio Coder (LPAC) is a lossless codec developed by Tilman Liebchen. Development of it has been halted in favour of development of MPEG-4 ALS.
LPAC PROS
- Reasonable compression ratios
- High resolution audio support
- Supports RIFF chunks
LPAC CONS
- Closed source
- No error robustness
- Slow seeking
- No tagging
- No multichannel support
- No hybrid/lossy mode
- No hardware support
- Doesn't support Replay Gain
Monkey's Audio
Monkey's Audio is a very efficient lossless compressor developed by Matt Ashland.
APE PROS
- Open source
- High efficiency
- Good software support
- Simple and user friendly. Official GUI provided.
- Java version (multiplatform)
- Tagging support (ID3v1, APE tags)
- High resolution audio support
- Supports RIFF chunks (only in the GUI encoder)
- Pipe support (only in a special version)
APE CONS
- No multichannel support
- No error robustness
- No hybrid/lossy mode
- Limited hardware support (Gemei X21)
- Doesn't support Replay Gain
APE Other features
- Includes MD5 hashes for quick integrity checking
- Supports APL image link files (similar to CUE sheets)
MPEG-4 SLS
MPEG-4 SLS allows audio encoding from lossless scalable to AAC.
SLS PROS
- Transcoding to standard AAC or any higher lossy bitrate at the speed of copying a file
- Scalable decoding from lossless, to any bitrate down to the AAC core track
- Best lossless compression available when you count the AAC track (~5% gain over any other lossless compression + AAC)
- High resolution audio support
- Multi channel audio support
- Open source (MPEG-4 Reference code)
- Embedded in standard MP4 files, so supports same tagging and Replay Gain features as AAC does.
SLS CONS
- No usable software available yet
- Pure lossless compression not the best there is
- Seems to be slow in encoding and decoding, but we have to wait for released software
SLS Other features
- Transform based lossless codec with optional LC AAC core track
OptimFROG
http://losslessaudiocompression.com/
OptimFROG is a lossless format developed by Florin Ghido to become the champion in audio compression.
OFR PROS
- Very high compression
- Good software support
- Error robustness
- Streaming support
- Supports high resolutions
- Hybrid/lossy mode
- Tagging support (ID3, APE tags)
- Supports RIFF chunks
- Replay Gain compatible
OFR CONS
- Closed source
- No multichannel audio support
- No hardware support
- Quite slow decoding
OFR Other features
- Supports 32bit float streams
- Includes MD5 hashes for quick integrity checking
RealAudio Lossless
http://www.realnetworks.com/products/codecs/realaudio.html
RealAudio lossless is the lossless codec developed by Real Networks for their multimedia portfolio
RAL PROS
- Very fast decoding
- Streaming support
- Tagging support (proprietary)
RAL CONS
- Closed source
- No multichannel and high resolution audio support
- Little software support (Real Player)
- No hardware support
- Compression efficiency not on par with other lossless codecs
- No hybrid/lossy mode
- No pipe support
- Doesn't support Replay Gain
Shorten
http://www.etree.org/shnutils/shorten/
Shorten is a very old and featureless lossless codec developed by Tony Robinson at SoftSound.
SHN PROS
- Open source
- Fast decoding
- Very good software support
- Supports RIFF chunks
- Pipe support
SHN CONS
- Quite inefficient
- No multichannel or high resolution audio support
- No hybrid/lossy mode
- No error robustness
- Not streamable
- No hardware support
- No native tagging
- Doesn't support Replay Gain
True Audio (TTA)
TTA is a new lossless codec developed by a team of russian programmers.
TTA PROS
- Open source
- Good efficiency
- Hardware support (obscure DVD player)
- Supports multichannel audio and high resolutions
- Tagging support (ID3)
- Replay Gain compatible
- Error robustness
TTA CONS
- No streaming support
- No hybrid/lossy mode
- Doesn't support RIFF chunks
- No pipe support
TTA Other features
- Fits the Matroska container
WavPack
WavPack is a fast and featureful lossless codec developed by David Bryant.
WV PROS
- Open source
- Very fast decoding
- Very fast encoding
- Good efficiency
- Error robustness
- Streaming support
- Hardware support (RockBox)
- Supports multichannel audio and high resolutions
- Hybrid/lossy mode
- Tagging support (ID3v1, APE tags)
- Supports RIFF chunks
- Ability to create self extracting files for Win32 platform
- Pipe support
- Good software support
- Replay Gain compatible
WV CONS
- Limited hardware player support
WV Other features
- Supports 32bit float streams
- Supports embedded CUE sheets
- Includes MD5 hashes for quick integrity checking
- Can encode in both symmetrical and assymmetrical modes.
- Fits the Matroska container
Windows Media Audio Lossless
http://www.microsoft.com/windows/windowsmedia/9series/codecs/audio.aspx
WMA Lossless is the lossless codec developed by Microsoft to be featured in their Windows Media codec portfolio.
WMAL PROS
- Streaming support
- Very good software support
- Supports multichannel audio and high resolutions.
- Tagging support (proprietary)
- Pipe support
WMAL CONS
- Closed source
- No hybrid/lossy mode
- Limited hardware support (Gigabeat V and S line from Toshiba)
- Doesn't support RIFF chunks
- Doesn't support Replay Gain
WMAL Other features
- Fits the ASF container
Oddball Formats
There are several old lossless formats that aren't being featured in the article above. Reasons are: lack of widespread support, lack of features, bad efficiency and, most importantly, it seems noone is really interested in them.
Most of those would have disappeared by now, but they are being preserved for posterity at rjamorim's ReallyRareWares
Advanced Digital Audio (ADA)
Bonk
Marian's a-Pac
AudioZip
Dakx WAV
Entis Lab MIO
LiteWave
Pegasus SPS
= RKaudio
Sonarc
VocPack
WavArc
WaveZip/MUSICompress
See also
External links
Other lossless compressions comparisons
Sorted based on last update date.
- Johan De Bock's speed oriented comparison - best choices speedwise are indicated in green, mostly electronic music (last updated 2006-07-22)
- Hans Heijden's -- used as reference to build the table (last updated 2006-07-07)
- Synthetic Soul's comparison (last update 2006-09-14)
- Josef Pohm's comparison, hosted by Synthetic Soul (last update 2006-05-29)
- Bobulous' lossless audio comparison — a look at six lossless formats in terms of speed and file size (last updated 2006-05-22)
- Johan De Bock's size oriented comparison - aimed only at the maximum compression setting for each codec (based on a somewhat limited set of samples, however) (last updated 2006-05-19)
- Guruboolez' -- comparing only classical music (last updated 2005-02-27)
- Speek's (last updated 2005-02-07)
More on lossless compressions
- The Lossless Audio Blog - by windmiller, is a reliable and complete source of news about lossless compression.
- Go to the Hydrogenaudio thread to discuss this article.