Lossless and lossy

From VideoLAN Wiki
Revision as of 01:29, 22 January 2019 by DoesItReallyMatter (talk | contribs) (Remove wikilink to quality (not about audio quality), fix grammar)
Jump to navigation Jump to search

Lossless is a way of compressing data which is fully reversible, i.e., does not "throw away" data. A losslessly compressed file can be used to create an exact copy of the source file.

Lossy is the opposite of lossless. A certain amount of data is discarded; how much is usually dependent upon a quality or bit rate setting of the codec. This makes the file (or stream) much smaller that lossless compression, but reduces the quality. It is impossible to transcode from one lossy format to another without further degrading quality.

Lossless Codecs

  • WAVE (WAVE is technically a container format, but usually contains lossless PCM audio.)
  • FLAC
  • HuffYUV video codec

Lossy Codecs