Lesson 2 of 6

Weaknesses of Existing Codecs

Blocking, ringing, banding, and the trade-offs we accept

You've probably noticed it before: that strange grid-like pattern in dark scenes of a streaming movie, or the slight shimmer around sharp edges in a fast-moving sports broadcast. These aren't transmission errors – they're fundamental artifacts of how video codecs work. Every compression technique involves trade-offs, and understanding these limitations is key to appreciating why newer codecs keep emerging and why we can never quite eliminate all visual imperfections.
TL;DR

All lossy video codecs produce characteristic artifacts due to block-based processing, quantization, and frequency domain transformations. These include blocking artifacts at boundaries, ringing (Gibbs phenomenon) around edges, banding in smooth gradients, detail loss from high-frequency removal, and color artifacts from chroma subsampling. Understanding these trade-offs helps explain codec design decisions and the ongoing evolution of compression standards.

1. Blocking Artifacts

The most recognizable artifact in compressed video is blocking – visible boundaries between processing blocks that appear as a grid-like pattern, especially in flat or low-contrast areas.

Blocking occurs because modern codecs divide frames into blocks (typically 4×4 to 32×32 pixels) and process each block independently. When quantization is coarse (high QP values), each block gets quantized to slightly different values, creating discontinuous jumps at block boundaries.

Why it happens: Block-based transform coding processes each block independently. At low bitrates, coarse quantization means adjacent blocks may have significantly different average values, creating visible seams.

Blocking is most noticeable in: