Lossy

From Hydrogenaudio Knowledgebase
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lossy compression is a form of compression that significantly reduce multimedia file size by throwing away information imperceptible to humans.

Human audio perception is not perfect. Lossy compression takes advantage of this characteristic. By selective discarding, much unnecessary information is thrown away. The amount of information discarded is usually adjustable, giving a compromise between smaller size with less quality and larger size with higher quality.

The downside to this is that waveform reconstructed from compressed information will never exactly match the original waveform.

Does Lossy Encoding Preserve Surround Information?

It's better to first ask "does lossy encoding preserve localization" at all. At high bitrates, yes. At lower bitrates, phase information gets sacrificed first, so the stereo image suffers. This applies also to surround-in-stereo formats (Dolby Pro Logic; More discussion), ambisonics-in-stereo (UHJ), and raw B-format ambisonic.[1]

Why does this happen?

  • Obviously, the bitrate controls how much sacrifice happens. Use higher bitrate to prevent this from happening. The lower the bitrate, the worse you can expect the surround imaging become.
  • Multi-mono encoding processes each channel separately with no regard to the phase relationship between each channel, so phase errors are more likely to happen. Use joint stereo (or matrix demixng for more channels).

Mid/Side stereo of LAME or AAC does not destroy surround information. Also MPC preserves surround information with standard settings reasonably well.

List of common lossy formats

See Also

  1. Phase/ambisonic issue discussed in: Mahé, Pierre; Ragot, Stéphane; Marchand, Sylvain (2 September 2019). First-Order Ambisonic Coding with PCA Matrixing and Quaternion-Based Interpolation. 22nd International Conference on Digital Audio Effects (DAFx-19), Birmingham, UK. p. 284.