Lossless comparison: Difference between revisions
m (Update data of most recent external comparison) |
(Update speeds and compression in table according to latest comparison with CDDA material) |
||
Line 21: | Line 21: | ||
! width="90px" | [[#OptimFROG (OFR)|OptimFROG]] | ! width="90px" | [[#OptimFROG (OFR)|OptimFROG]] | ||
! width="90px" | [[#True Audio (TTA)|TTA]] | ! width="90px" | [[#True Audio (TTA)|TTA]] | ||
|- <!-- *** Encoding speed is very fast if | |- <!-- *** Encoding speed is very fast if < 2%, fast if < 5%, average if < 10%, slow if < 20%, very slow if < 50% *** --> | ||
<!-- *** Numbers are taken from most recent CDDA comparison under 'External links' *** --> | <!-- *** Numbers are taken from most recent CDDA comparison under 'External links' *** --> | ||
| Encoding speed{{ref label|speed|A|A}} | | Encoding speed{{ref label|speed|A|A}} | ||
Line 28: | Line 28: | ||
| style="background: #00FF00" | very fast | | style="background: #00FF00" | very fast | ||
| style="background: #00FF00" | very fast | | style="background: #00FF00" | very fast | ||
| style="background: #00FF00" | very fast | | style="background: #00FF00" | very fast | ||
|- <!-- *** For decoding speed thresholds are | | style="background: #00FF00" | very fast | ||
| style="background: #FFCC66" | moderate | |||
| style="background: #00FF00" | very fast | |||
|- <!-- *** For decoding speed thresholds are one step down, i.e., very fast if < 1%, fast if < 2%, average if < 5% etc *** --> | |||
| Decoding speed{{ref label|speed|A|A}} | | Decoding speed{{ref label|speed|A|A}} | ||
| style="background: #00FF00" | very fast | | style="background: #00FF00" | very fast | ||
| style="background: #CCFFCC" | fast | | style="background: #CCFFCC" | fast | ||
| style="background: #00FF00" | very fast | |||
| style="background: #00FF00" | very fast | |||
| style="background: #FFCC66" | moderate | |||
| style="background: #CCFFCC" | fast | | style="background: #CCFFCC" | fast | ||
| style="background: #FFCC66" | moderate | |||
| style="background: #FFCC66" | | |||
| style="background: #CCFFCC" | fast | | style="background: #CCFFCC" | fast | ||
|- <!-- *** Thresholds for compression are at | |- <!-- *** Thresholds for compression are at 51% and 53% *** --> | ||
| Compression{{ref label|speed|A|A}}{{ref label|comp|B|B}} | | Compression{{ref label|speed|A|A}}{{ref label|comp|B|B}} | ||
| style="background: #CCFFCC" | | | style="background: #CCFFCC" | 52.0% | ||
| style="background: # | | style="background: #FFCC66" | 53.2% | ||
| style="background: #CCFFCC" | | | style="background: #CCFFCC" | 52.6% | ||
| style="background: #00FF00" | | | style="background: #00FF00" | 50.5% | ||
| style="background: #00FF00" | | | style="background: #00FF00" | 50.7% | ||
| style="background: #FFCC66" | | | style="background: #FFCC66" | 53.8% | ||
| style="background: #00FF00" | | | style="background: #00FF00" | 49.6% | ||
| style="background: #CCFFCC" | | | style="background: #CCFFCC" | 52.1% | ||
|- | |- | ||
| # presets | | # presets | ||
Line 166: | Line 166: | ||
{| | {| | ||
|- | |- | ||
|{{note label|speed|A|A}} Speed and Compression are based on '''each encoder's default settings''' and taken from [http://www.audiograaf.nl/downloads.html this comparison]. | |{{note label|speed|A|A}} Speed and Compression are based on '''each encoder's default settings''' and taken from the last CDDA results of [http://www.audiograaf.nl/downloads.html this comparison]. | ||
|- | |- | ||
|{{note label|comp|B|B}} The Compression ratio is compressed size/uncompressed size * 100. So, lower is better. | |{{note label|comp|B|B}} The Compression ratio is compressed size/uncompressed size * 100. So, lower is better. | ||
Line 460: | Line 460: | ||
''Sorted based on last '''update''' date.'' | ''Sorted based on last '''update''' date.'' | ||
* [http://www.audiograaf.nl/downloads.html Martijn van Beurden's comparison] - tries to compare all codecs and settings with a balanced pool of music, with separate sections on hi-res and multichannel material (last updated 2022- | * [http://www.audiograaf.nl/downloads.html Martijn van Beurden's comparison] - tries to compare all codecs and settings with a balanced pool of music, with separate sections on hi-res and multichannel material (last updated 2022-05-26) | ||
* [http://www.squeezechart.com/audio.html Squeezechart audio] - tests as much codecs as possible, but not all their settings and with a limited test corpus (last updated 2013-10-31) | * [http://www.squeezechart.com/audio.html Squeezechart audio] - tests as much codecs as possible, but not all their settings and with a limited test corpus (last updated 2013-10-31) | ||
* <s>[http://synthetic-soul.co.uk/comparison/lossless/index.asp Synthetic Soul's comparison] (last update 2007-07-28)</s> | * <s>[http://synthetic-soul.co.uk/comparison/lossless/index.asp Synthetic Soul's comparison] (last update 2007-07-28)</s> |
Revision as of 06:07, 27 May 2022
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 number of lossless audio compressor choices available, it is a very difficult task to choose the one most suited for each person's needs. Some people take into consideration only 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 a 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 | FLAC | ALAC | WavPack | TAK | Monkey's | WMAL | OptimFROG | TTA |
---|---|---|---|---|---|---|---|---|
Encoding speed[A] | very fast | fast | very fast | very fast | very fast | very fast | moderate | very fast |
Decoding speed[A] | very fast | fast | very fast | very fast | moderate | fast | moderate | fast |
Compression[A][B] | 52.0% | 53.2% | 52.6% | 50.5% | 50.7% | 53.8% | 49.6% | 52.1% |
# presets | 9 | 2 | > 10 | > 10 | 5 | 1 | > 10 | 1 |
Error handling[C] | yes | no | yes | yes | yes[D] | yes | yes | yes |
Tagging | Vorbis tags | iTunes | ID3/APEv2 | APEv2 | APEv2 | ASF | ID3/APEv2 | ID3v1/2 or APEv2 |
Hardware support | very good | good | limited | no | limited | limited | no | limited |
Software support | very good | good | good | average | good | good | average | good |
Hybrid/lossy | LossyWAV | no | yes | LossyWAV | no | LossyWAV | yes | no |
RIFF chunks | yes | no | yes | yes | yes | no | yes | no |
Streaming | yes | yes | yes | yes | no | yes | yes | yes |
Open source | yes | yes | yes | no[F] | no[F] | no[F] | no | yes |
Multichannel | yes | yes | yes | yes | yes[E] | yes | no | yes |
OS support | All | All | All | Win/Wine | All | Win/Mac | Win/Mac/Linux | All |
A Speed and Compression are based on each encoder's default settings and taken from the last CDDA results of this comparison. |
B The Compression ratio is compressed size/uncompressed size * 100. So, lower is better. |
C Error handling means that a codec can detect a corruption (flipped bit) in a file and warn the user about it, but it will still decode the rest of the file. |
D The official Monkey's Audio decoder does not support decoding through errors, but this may be achieved with FFmpeg or Winamp, though likely not, when the "Insane" preset is used. |
E Since version 4.86 |
F Unofficial (but properly working) open source decoder is available as part of ffmpeg
CodecsThese are the most popular lossless codecs, in alphabetical order: Apple Lossless Audio Codec (ALAC)https://alac.macosforge.org/trac ALAC is a codec developed by Apple and used across their hardware and software platforms. ALAC pros
ALAC cons
ALAC Other features
Free Lossless Audio Codec (FLAC)FLAC is a lossless codec developed by Josh Coalson. It's part of the Xiph multimedia portfolio, along with Opus, Ogg, Vorbis, Speex and Theora. FLAC pros
FLAC cons
FLAC Other features
Monkey's Audio (APE)Monkey's Audio is a very efficient lossless compressor developed by Matt Ashland. APE pros
APE cons
APE Other features
OptimFROG (OFR)OptimFROG is a lossless format developed by Florin Ghido to become the champion in audio compression. OFR pros
OFR cons
OFR Other features
Tom's verlustfreier Audiokompressor (TAK)http://www.thbeck.de/Tak/Tak.html TAK is a lossless codec developed by Thomas Becker. TAK pros
TAK cons
TAK Other features
True Audio (TTA)TTA is a lossless codec developed by a international team of programmers. TTA pros
TTA cons
TTA Other features
WavPack (WV)WavPack is a fast and featureful lossless codec developed by David Bryant. WV pros
WV cons
WV Other features
Windows Media Audio Lossless (WMAL)https://msdn.microsoft.com/en-us/library/ff819508(v=vs.85).aspx WMA Lossless is the lossless codec developed by Microsoft to be featured in their Windows Media codec portfolio. WMAL pros
WMAL cons
WMAL Other features
Other FormatsAside from the formats mentioned above, there are in fact quite a lot of other lossless formats. To keep the table and list brief and readable, a few formats have not been mentioned. DTS-HD Master AudioSimilar to the MPEG-4 SLS format, this format has a core track in an older, more widely supported format, DTS. This core lossy track is made lossless by a secondary track with correction data. It is an optional codec in Blu-ray implementations. Its main use is surround sound encoding, and as is the case with MLP, the price of the encoder ensures it is only used in mastering of Blu-ray discs. LAhttp://www.lossless-audio.com/ LA features an extremely high compression (on par with OptimFrog highest modes, but a bit faster), but it hasn't been updated for more than 10 years. Furthermore, backward compatibility is not guaranteed, so using it for archiving might pose a few problems. It isn't able to cope with file corruption either, software support is very limited and isn't open source. MLP/Dolby TrueHDThe MLP codec (of which the mathematical basis was used in Dolby TrueHD) is the codec used for DVD-Audio. It was mandatory in any HD-DVD implementation and optional for Blu-Ray in its Dolby TrueHD form. It is known to support the 'wasted bits' scheme used in LossyWAV. As encoders are very expensive, its use outside DVD/Blu-ray mastering environments is non-existent. Its main use is encoding surround sound data. MPEG-4 ALSMPEG-4 ALS is the successor to LPAC, which it was based on. It has been as a ISO standard and there is a reference encoder/decoder, but like TTA, it does not have features that make it stand out from other codecs, nor backing by a large organisation, so it hasn't much software and no hardware support. MPEG-4 SLSMPEG-4 SLS is a special codec, having a AAC core track and a 'correction track'. Also known as HD-AAC, SLS stands for Scalable to Lossless. However, there is to date still no affordable software to play, encode or decode (the lossless part of) SLS files. Shortenhttp://www.etree.org/shncom.html Shorten was one of the first widely-used lossless formats, and it still occasionally found on the internet, especially in archives, for example etree.org. It is quite fast in both encoding and decoding, but doesn't compress very much. Furthermore, seeking has a troubled past as well as tagging. It is considered obsolete. Real LosslessPart of the Real codec suite, Real Lossless too hasn't any very special features that make it stand out. Just like WMA Lossless and Apple Lossless, it was created to fit in a codec suite, but unlike WMA Lossless and Apple Lossless, there is no hardware support and software support is limited. Compression is on par with most other codecs, but it is rather slow to encode. Oddball formatsThere are a few archaic formats of which encoders and decoders are hard to come by. Most of those would have disappeared by now, but some of them are being preserved for posterity at rjamorim's
See alsoExternal linksOther lossless compressions comparisons Sorted based on last update date.
More on lossless compressions
References |