Difference between revisions of "Lossless"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m
(Oddball Formats)
(35 intermediate revisions by 22 users not shown)
Line 1: Line 1:
Unlike [[lossy]] compression, lossless is a mathematically perfect way of representing your audio data. After decompression, you will have a bit-perfect copy of your original wave file - just as the name states, it is without loss. You can think of the various lossless compressors as highly tuned versions of Winzip or Winrar that are specifically for audio.
+
Compression is '''lossless''' when decoding the compressed data gives a result which is identical bit-by-bit to the uncompressed original.
  
 +
Generic file compression formats, like ZIP or RAR, are lossless. However, trying to compress raw audio with those generally results in files which are only slightly- if at all- smaller than the originals. Lossless audio formats take advantage of knowledge about real-world audio data to provide compression ratios averaging around 50% on most music.
  
=Lossless compression explained=
+
[[Lossy]] encoders only attempt to approximate the sound of the original waveform rather than preserving all the information present in it. Losslessly compressed audio will therefore unavoidably be larger than audio compressed with any reasonable [[lossy]] encoder. However, this disadvantage is offset by lossless files' ability to be [[transcoding|transcoded]] to other lossless formats without any quality degradation.
 
+
 
+
==Popular lossless formats==
+
 
+
* [[Monkey's Audio]] ([[APE]])
+
 
+
* [[FLAC]]
+
 
+
* [[WavPack]]
+
 
+
* [[Lossless Audio]] ([[LA]])
+
  
 +
== Popular lossless formats ==
 +
* [[Apple Lossless]] ([[ALAC]])
 +
* [[Free Lossless Audio Codec]] (FLAC)
 +
* [[Lossless Audio]] (LA)
 +
* [[Lossless Predictive Audio Compression]] (LPAC)
 +
* [[Meridian Lossless Packing]] (MLP)
 +
* [[Monkey's Audio]] (APE)
 
* [[OptimFROG]]
 
* [[OptimFROG]]
 
+
* [[RK Audio]] (RKAU)
* [[Shorten]] ([[SHN]])
+
* [[Shorten]] (SHN)
 
+
* [[TAK]]
* [[RKAU]]
+
 
+
* [[BonkEnc]]
+
 
+
* [[LPAC]]
+
 
+
* [[WMA | WMA lossless]]
+
 
+
* [[MLP]]
+
 
+
 
* [[TTA]]
 
* [[TTA]]
 +
* [[WavPack]]
 +
* [[Windows Media Audio|WMA lossless]]
  
 +
== Oddball Formats ==
 +
There are several old lossless formats that aren't really deserving of having an article all for themselves. Reasons are: lack of widespread support, lack of features, bad efficiency and, most importantly, it seems no one is really interested in them.
  
==Oddball Formats==
+
Most of those would have disappeared by now, but they are being preserved for posterity at [[User:Rjamorim|rjamorim]]'s 
  
There are several old lossless formats that aren't really deserving of having an article all for themselves. Reasons are: lack of widespread support, lack of features, bad efficiency and, most importantly, it seems noone is really interested in them.
+
* Advanced Digital Audio (ADA)
 +
* AudioZip
 +
* Dakx WAV
 +
* Entis Lab MIO
 +
* LiteWave
 +
* Marian's a-Pac
 +
* mp3HD
 +
* Pegasus SPS
 +
* RKaudio
 +
* Split2000
 +
* Sonarc
 +
* VocPack
 +
* WavArc
 +
* WaveZip/MUSICompress
 +
 +
Note that currently '''no single format can be considered best for all applications'''. Rather, the best format depends on the ''intended use'', as well as a number of other factors (such as licensing and file structure). For example, Shorten and FLAC are widely used for sharing live music because of their cross-platform support and speed. Monkey's Audio is popular among Windows users for its superior compression ratio.
  
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]
+
== Comparisons ==
 
+
''Note the specific assumptions and limitations of each comparison; in particular, results are sensitive to the music selected'''
 
+
; Advanced Digital Audio (ADA)
+
 
+
* http://www.rjamorim.com/rrw/ada.html
+
 
+
; Marian's a-Pac
+
 
+
* http://www.marian.de/en/downloads#APAC
+
* http://www.rjamorim.com/rrw/apac.html
+
 
+
; AudioZip
+
 
+
* http://www.rjamorim.com/rrw/audiozip.html
+
 
+
; Dakx WAV
+
 
+
* http://www.dakx.com/
+
* http://www.rjamorim.com/rrw/daxwav.html
+
 
+
; LiteWave
+
 
+
* http://www.clearjump.com/products/LiteWave.html
+
* http://www.rjamorim.com/rrw/litewave.html
+
 
+
; Pegasus SPS
+
 
+
* http://www.krishnasoft.com/sps.htm
+
* http://www.rjamorim.com/rrw/pegasussps.html
+
 
+
; Split2000
+
 
+
* http://www.rjamorim.com/rrw/split2000.html
+
 
+
; Sonarc
+
 
+
* http://www.rjamorim.com/rrw/sonarc.html
+
 
+
; VocPack
+
 
+
* http://www.rjamorim.com/rrw/vocpack.html
+
 
+
; WavArc
+
 
+
* http://www.rjamorim.com/rrw/wavarc.html
+
 
+
; WaveZip/MUSICompress
+
 
+
* http://members.aol.com/_ht_a/sndspace/
+
* http://www.rjamorim.com/rrw/wavezip.html
+
 
+
 
+
 
+
Note that currently no single format can be considered best for all applications. Rather, the best format depends on the intended use, as well as a number of other factors (such as licensing and file structure). For example, Shorten and FLAC are widely used for sharing live music because of their cross-platform support and speed. Monkey's Audio is popular among Windows users for its superior compression ratio.
+
 
+
Lossless compressors comparisons (note the specific assumptions and limitations of each comparison; in particular, results are sensitive to the music selected):
+
 
+
; http://web.inter.nl.net/users/hvdh/lossless/lossless.htm : Includes an interesting graph of encode/decode speeds vs. file size on the All Albums page
+
  
 
; [[Lossless comparison]] : A comparision focusing more on codec features and less on absolute encoding efficiency. Also features a table comparing most popular codecs based on their features.
 
; [[Lossless comparison]] : A comparision focusing more on codec features and less on absolute encoding efficiency. Also features a table comparing most popular codecs based on their features.
  
; http://home.wanadoo.nl/~w.speek/comparison.htm : Performance Comparison of Lossless Audio Compressors - Compares file size, encode speed, decode speed for [[APE]], [[FLAC]], [[LPAC]], [[WavPack]], Shorten ([[SHN]]), [[RKAU]], [[OptimFROG]], [[LA]], [[WMA | WMA Lossless]]. Updated 5-2003
+
* Lossless audio formats [http://www.bobulous.org.uk/misc/lossless_audio_2006.html here] - A comparison of the rip-and-encode speed and album file size of six different lossless formats: [[WAV|uncompressed Wave]], [[FLAC]], [[WavPack]], [[SHN|Shorten]], [[APE|Monkey's Audio]], and [[OptimFROG]]. First published on 22nd May 2006.
 
+
; http://www.firstpr.com.au/audiocomp/lossless/ : Includes a variety of notes, but the testing was completed in 2000, making the results largely obsolete.
+
  
=See Also=
+
[[Category:Codecs|*]]
* [[Lossy]]
+

Revision as of 14:59, 9 June 2017

Compression is lossless when decoding the compressed data gives a result which is identical bit-by-bit to the uncompressed original.

Generic file compression formats, like ZIP or RAR, are lossless. However, trying to compress raw audio with those generally results in files which are only slightly- if at all- smaller than the originals. Lossless audio formats take advantage of knowledge about real-world audio data to provide compression ratios averaging around 50% on most music.

Lossy encoders only attempt to approximate the sound of the original waveform rather than preserving all the information present in it. Losslessly compressed audio will therefore unavoidably be larger than audio compressed with any reasonable lossy encoder. However, this disadvantage is offset by lossless files' ability to be transcoded to other lossless formats without any quality degradation.

Popular lossless formats

Oddball Formats

There are several old lossless formats that aren't really deserving of having an article all for themselves. Reasons are: lack of widespread support, lack of features, bad efficiency and, most importantly, it seems no one is really interested in them.

Most of those would have disappeared by now, but they are being preserved for posterity at rjamorim's

  • Advanced Digital Audio (ADA)
  • AudioZip
  • Dakx WAV
  • Entis Lab MIO
  • LiteWave
  • Marian's a-Pac
  • mp3HD
  • Pegasus SPS
  • RKaudio
  • Split2000
  • Sonarc
  • VocPack
  • WavArc
  • WaveZip/MUSICompress

Note that currently no single format can be considered best for all applications. Rather, the best format depends on the intended use, as well as a number of other factors (such as licensing and file structure). For example, Shorten and FLAC are widely used for sharing live music because of their cross-platform support and speed. Monkey's Audio is popular among Windows users for its superior compression ratio.

Comparisons

Note the specific assumptions and limitations of each comparison; in particular, results are sensitive to the music selected'

Lossless comparison 
A comparision focusing more on codec features and less on absolute encoding efficiency. Also features a table comparing most popular codecs based on their features.