Rate-distortion is the fundamental trade-off at the heart of every lossy compression system: how much data (rate) do you spend to achieve how little quality loss (distortion)? Spend more bits — bigger file, less distortion. Spend fewer bits — smaller file, more distortion. The whole field of video compression is essentially the study of how to move that trade-off curve as far down-and-to-the-left as possible — less distortion at the same rate, or less rate at the same distortion.

The trade-off shows up everywhere in encoding decisions. Rate-distortion optimisation (rdo) is the encoder's algorithm for picking which coding mode to use for each block by minimising a combined cost J = D + λ·R. Rate-distortion curves plot quality (PSNR, SSIM, VMAF — any distortion metric) against bitrate, letting you compare two codecs visually: the curve closer to the top-left corner is more efficient. BD-rate (Bjøntegaard Delta-rate) summarises the difference between two rate-distortion curves as a single percentage — "AV1 has -30 % BD-rate vs HEVC" means AV1's curve is shifted leftward enough that, on average, it needs 30 % less bitrate for the same quality.

For a product team, rate-distortion is the language industry papers and vendor benchmarks use to describe codec quality. When evaluating a new codec or encoder, the question is never "is it better?" but "where is its rate-distortion curve relative to ours?". The honest answer often involves showing curves for multiple content types — sports, drama, animation, screen recording — because rate-distortion behaviour varies dramatically by content. A codec that wins on natural-motion video might lose on animation. The deliverable from any serious codec evaluation should be rate-distortion plots, not single numbers.

Book cover: Video Encoding, Volume 1 of the Fora Soft Video Engineering Handbook

The book · Volume 1 of 7

Video Encoding: A Complete Guide to Video Compression — From Pixels and Color to H.264, HEVC, AV1, Quality Metrics, and AI

Rate-distortion is the language codec comparisons are written in, and misreading an RD curve leads to the wrong codec choice. Volume 1 explains rate-distortion in detail: RD curves, BD-rate and BD-PSNR, convex hulls for bitrate ladders, and how encoders optimise against rate and distortion together. Written by Nikolay Sapunov, CEO at Fora Soft.

Read it on Amazon →Kindle & paperback · Fora Soft Video Engineering Handbook

Comparing codecs or settings and need rate-distortion results you can trust?

Share your test content: we run a rate-distortion comparison with BD-rate on VMAF and PSNR and give you a clear codec and settings recommendation. 250+ video products shipped since 2005.

Book a 30-min call →WhatsApp →Email us →