Lossy compression
Lossy compression is a way to shrink video, audio or image files by permanently removing details people are unlikely to notice. Lossy compression produces far smaller files than lossless methods, which makes streaming practical. H.264, HEVC, AV1 and AAC are all lossy. Higher compression saves more space but can cause visible blur, blockiness or audio artifacts.
Why it matters
Lossy compression is what makes streaming affordable. Without it, video files would be far too large to send over home and mobile networks. The business decision is how hard to compress: too little wastes bandwidth, too much makes video look cheap.
How it works
- The encoder analyzes the video or audio for detail that people are unlikely to notice.
- It rounds or discards that detail, which permanently removes it.
- The remaining information is packed into a much smaller file.
- On playback, the decoder rebuilds a close approximation of the original, not an exact copy.
What is the difference between lossy and lossless compression?
Lossy compression permanently removes some detail to make files much smaller, while lossless compression keeps every bit and can restore the exact original. Lossy formats such as H.264 and AAC are used for streaming. Lossless formats such as FLAC are used for archives and masters.
Does re-encoding a video lose quality?
Yes, re-encoding a lossy video loses some quality each time, because every lossy pass discards more detail. This is called generation loss. To limit it, keep a high-quality master and create each streaming version from that master rather than from another compressed copy.
Where it's used
Short video apps compress phone uploads heavily so feeds load fast on mobile data, while OTT services compress premium films more lightly so they look sharp on big TVs.


