GlossaryLossless compression

Lossless compression

Lossless compression is a way to shrink files so they can be restored exactly, bit for bit, to the original. Lossless compression removes only redundant data, not real detail, so quality never drops. FLAC for audio and PNG for images are common examples. For video, lossless files remain very large, so they are used for editing and archiving rather than streaming.

Why it matters

Lossless compression protects the value of original content. Keeping lossless or near-lossless masters means every future version, whether 4K, HD or a new codec, starts from a perfect source. The cost is storage, since lossless files stay very large.

How it works

  1. The encoder looks for patterns and repetition in the data.
  2. It replaces repeated patterns with shorter descriptions, without discarding anything.
  3. The result is stored as a smaller file.
  4. On decoding, the exact original data is rebuilt, bit for bit.

Is lossless video practical for streaming?

No, lossless video is not practical for streaming because the files and bitrates are far too large for typical internet connections. It is used for editing, archiving and masters. Streaming services convert those masters into lossy formats such as H.264, HEVC or AV1 for viewers.

What are examples of lossless compression?

Common examples of lossless compression are FLAC for audio, PNG for images and ZIP for general files. For video, lossless modes exist in some codecs and in archive formats such as FFV1. All of them restore the exact original data when decoded.

Where it's used

Film studios and post-production houses keep lossless masters of restored films so every later 4K, HD or streaming version starts from a perfect original.

By the numbers

  • Audio compressed with FLAC is typically reduced to between 50 and 70 percent of its original size, with no loss of information. (Wikipedia: FLAC)