Lossy image, audio and video compression
Transforms drop detail people cannot see or hear, shrinking media files tenfold or more.
Moving information · Audio and visual media · No. 266
- Digital age
- Readiness 9 of 9
- Process
A two-hour film would fill more than 1.3 terabytes uncompressed; lossy coding shrinks it by throwing away what you would never notice.
Chart: Illustration: Lossy image, audio and video compression
Where it comes from
Chart: Map of where it comes from
Nasir Ahmed, an engineer whose first grant request for the idea was turned down, published the discrete cosine transform with two colleagues in 1974. Standards bodies later built JPEG and MPEG on it.
Three things to know
- Nasir Ahmed's discrete cosine transform of 1974 underlies JPEG images, published as a standard in 1992.
- The name mp3 was coined in 1995, and the first popular portable mp3 player went on sale in 1998.
- At the end of 2025 video, which travels compressed, made up about 75% of mobile data traffic.
The journey
- 1 SamplesA camera or microphone records the picture or sound as numbers
- 2 TransformBlocks of samples are turned into a set of frequencies
- 3 DiscardFine detail the eye or ear barely notices is rounded off or dropped
- 4 PackWhat is left is coded in as few bits as possible
- 5 Play backThe decoder rebuilds a close copy, not an exact one