Lesson 4

Modern Codec Landscape

H.264, HEVC, AV1, VVC โ€” a tour of the battlefield

In 2010, the world decided to standardise on H.264. Every phone, every browser, every camera โ€” one codec to rule them all. Then someone figured out patent pools, and the royal road turned into a minefield. Today, we have at least eight major codec standards competing for your screen, each backed by a different coalition of tech giants, each claiming 30โ€“50% better compression than the last. It's a standards war โ€” but the real battlefield isn't technology, it's licensing.
TL;DR

The codec landscape fractured after H.264's patent-encumbered success. HEVC delivered real improvements but licensing chaos blocked adoption. VP9 and AV1 emerged as royalty-free alternatives from the web giants. VVC pushes compression further but repeats the same licensing mistakes. The market is now permanently fragmented: no single codec will ever again rule them all.

A Brief History of Video Coding Standards

Video compression standards didn't spring from nowhere. Each generation built on the last, and the choices made decades ago still constrain what's possible today.

Key insight: Every major codec innovation in the last 35 years rests on the same foundation laid by H.261: block-based motion compensation + transform coding + entropy coding. The improvements are evolutionary โ€” bigger blocks, smarter prediction, better entropy โ€” not revolutionary.

H.264 / AVC โ€” The Undisputed King

H.264 (2003), also known as MPEG-4 Part 10 or AVC (Advanced Video Coding), is the most successful video codec in history. It is the default video format for Blu-ray, YouTube, Netflix, Zoom, FaceTime, and virtually every surveillance camera manufactured in the last 15 years.

What made H.264 revolutionary:

Profiles: H.264 defined Baseline (videoconferencing, low power), Main (broadcast), and High (Blu-ray, highest quality). This profile system let hardware scale from phones to cinema.

H.264 delivered roughly 50% bitrate reduction over MPEG-2 at the same quality. Combined with widespread hardware support in GPUs, SoCs, and FPGAs, it became the universal bridging format โ€” the codec you can safely assume any device can decode.

H.265 / HEVC โ€” Great Codec, Terrible Politics

H.265 (2013), or HEVC (High Efficiency Video Coding), is what happens when engineers design an almost perfect successor and patent holders proceed to ruin it. Technically, HEVC delivers roughly 50% bitrate reduction over H.264 at the same quality. But the story of its adoption is a case study in how not to standardise technology.

Key technical improvements:

Licensing disaster: HEVC is covered by three separate patent pools (MPEG LA, HEVC Advance, Velos Media) plus many licensors operating outside those pools. Royalties can stack to several dollars per device, far exceeding any reasonable expectation for a video standard. This created a decade-long adoption freeze.

The result? HEVC has strong adoption in 4K Blu-ray (mandated by the spec), Apple devices (Apple pays the toll), and some streaming services for 4K content. But it never achieved the universal dominance of H.264 โ€” and likely never will.

VP9 โ€” Google's Royalty-Free Answer

While HEVC was floundering in patent politics, VP9 (2013) emerged from Google as a practical, royalty-free alternative. Developed from the earlier VP8 (acquired via On2 Technologies), VP9 targeted the same compression efficiency as HEVC but with a much simpler licensing story.

VP9's key advantages:

Adoption reality: VP9 dominates on YouTube and has good browser support (Chrome, Firefox, Opera, Edge) but is absent from Apple's Safari. This creates a split: VP9 for the open web, H.264/HEVC for the Apple ecosystem. No single codec works universally.

AV1 โ€” The Alliance Strikes Back

AV1 (2018) is the codec equivalent of the Avengers assembling. Faced with the HEVC licensing catastrophe, a consortium of tech giants formed the Alliance for Open Media (AOMedia) to build a next-generation, royalty-free codec from the ground up.

The founding members read like a who's-who of the internet: Google, Apple, Netflix, Meta, Microsoft, Amazon, Mozilla, NVIDIA, Intel, AMD, Samsung, TENCENT, and ARM. When these players agree on royalty-free video, the industry listens.

AV1's technical innovations:

AV1 typically delivers ~30% bitrate reduction over HEVC and ~50% over H.264 at the same quality. The trade-off: encoding complexity is 3โ€“5ร— higher than HEVC, making software encoding slow and hardware encoders still maturing.

Reality check: AV1 software encoding (libaom) is extremely slow. A 4K movie can take days to encode on a high-end CPU. Hardware encoders from NVIDIA (RTX 40-series), Intel (Arc), and Apple (M3+) are catching up, but quality still lags software encoders.

AV2 โ€” Next-Gen, Under Development

AV2 is the next generation from the Alliance for Open Media, currently under active development. Early drafts target 30% bitrate reduction over AV1 โ€” a goal that would make AV2 roughly 60โ€“65% more efficient than H.264.

Key experimental tools under consideration:

Timeline: AV2 is expected to reach bitstream freeze around 2026โ€“2027, with hardware implementations following 1โ€“2 years later. Like AV1, it will be royalty-free and governed by AOMedia's defensive patent license.

H.266 / VVC โ€” The Technical Pinnacle

H.266 (2020), or VVC (Versatile Video Coding), represents the latest joint standard from MPEG and ITU. It achieves the highest compression efficiency of any standardized codec โ€” roughly 30โ€“40% better than HEVC and 60โ€“70% better than H.264.

VVC's technical advances:

Same old problem: VVC is covered by an even more complex patent landscape than HEVC. The MPEG LA pool for VVC has multiple tiers and caps, but independent licensors (including some who fought HEVC battles) are already signalling aggressive royalty demands. Broad adoption is uncertain.

EVC โ€” Essential Video Coding

EVC (2021) is MPEG's attempt to create a simpler, more palatable alternative to VVC. It comes in two profiles:

EVC's baseline profile deliberately avoids the patent thicket by restricting itself to well-established techniques (DCT, simple motion compensation, basic entropy coding). The result is a codec that's less efficient than HEVC but legally clean โ€” a compelling option for industries that fear patent litigation.

Adoption status: EVC has seen minimal uptake. It arrived too late and offers too little improvement. The baseline profile's efficiency is comparable to H.264, and the main profile offers nothing unique against AV1 and VVC. It remains a niche curiosity.

LCEVC โ€” Layered Enhancement

LCEVC (2021) (Low Complexity Enhancement Video Coding) takes an entirely different approach. Instead of a monolithic codec, it's a layered enhancement that sits on top of any existing codec (H.264, HEVC, AV1, etc.) to improve quality.

How it works:

LCEVC's advantages:

Future potential: LCEVC has been adopted by MPEG and is being explored for broadcast (DVB), streaming (CMAF), and cloud gaming. Its layered nature makes it a natural fit for adaptive streaming โ€” each layer corresponds to a different quality level.

Rate-Distortion: Seeing the Differences

The chart below shows each codec's rate-distortion curve โ€” a measure of how much quality (PSNR) you get at a given bitrate. Higher curves mean better compression efficiency.

๐Ÿ“ˆ Rate-Distortion Comparison

Each curve plots the trade-off between bitrate (x-axis) and quality (y-axis). H.264 (blue) is the baseline. HEVC (green), VP9 (yellow), and AV1 (orange) each push the frontier leftward โ€” more quality at the same bitrate, or the same quality at a lower bitrate.

๐Ÿงฉ 16ร—16 Pixel Block

A 16ร—16 pixel block โ€” the smallest unit a codec works with in H.264. Modern codecs like AV1 can go up to 128ร—128 blocks, allowing much more efficient coding of large flat areas (sky, walls, backgrounds).

Codec Comparison โ€” At a Glance

This table summarises the key characteristics of every major codec discussed in this lesson. All bitrate savings are approximate and content-dependent.

Codec Year Bitrate vs H.264 Royalty Hardware Support Browser Support Primary Use
H.264 / AVC 2003 Baseline Patented (MPEG LA) Universal โ€” every device All browsers Streaming, Blu-ray, videoconferencing, surveillance
H.265 / HEVC 2013 ~50% less Multiple pools, high cost Wide โ€” Apple, NVIDIA, Intel, AMD, Qualcomm Safari, Edge, some Chrome 4K Blu-ray, Apple ecosystem, premium streaming
VP9 2013 ~35% less Royalty-free (Google) Wide โ€” all major GPU/SoC vendors Chrome, Firefox, Edge, Opera YouTube, open web streaming
AV1 2018 ~50% less Royalty-free (AOMedia) Growing โ€” NVIDIA RTX 40, Intel Arc, Apple M3+, Qualcomm Chrome, Firefox, Edge, Opera, Safari 16.4+ Netflix, YouTube, premium streaming,
cloud gaming
AV2 ~2027 ~65% less (target) Royalty-free (AOMedia) None yet (in development) None yet Future streaming, next-gen internet video
H.266 / VVC 2020 ~60% less Complex pools, uncertain cost Early โ€” Fraunhofer, some SoC prototypes None yet Broadcast, future UHD, premium delivery
Table caveats: Bitrate savings vary wildly with content (animation compresses differently from live-action, noisy footage from clean). Hardware decode support is a moving target โ€” check current GPU generation. Browser support can change with any release.

Adoption Realities โ€” The Messy Truth

The codec standards war isn't fought on technical merit alone. Here's how things actually shake out in 2026:

Browser Support

Hardware Support

Content Availability

The practical takeaway: As a developer or content publisher, you need to support at least three codecs: H.264 for universal fallback, HEVC or VP9 for middle ground, and AV1 for the future. Transcoding pipelines are now a permanent fixture, not a transitional strategy.
๐Ÿค” Why It Matters

Each time a new codec saves 30% bandwidth, streaming services save millions in CDN costs โ€” but they also spend millions on transcoding infrastructure and compatibility testing.

๐Ÿ“ฆ Smaller Files

AV1 can deliver the same 4K quality as H.264 at half the bitrate. For a 90-minute movie, that's ~3 GB vs. ~6 GB.

๐Ÿ”Œ Compatibility Tax

Streaming services maintain 3โ€“4 codec variants of every title. Netflix estimates this adds 15โ€“20% to storage and CDN costs.

๐Ÿ’ก Power Matters

Software decoding AV1 on an older phone drains battery 2โ€“3ร— faster than H.264 hardware decode. Hardware decode is non-negotiable for mobile.

โš–๏ธ Legal Risk

Using HEVC without proper royalty arrangements can expose a company to patent litigation. Several companies learned this the hard way.

Look at the rate-distortion chart above. Notice how H.264 and AV1 start at different quality levels at the lowest bitrate. Which codec gives the best quality when bandwidth is severely constrained (left side of the chart)? Which one benefits most when bandwidth is plentiful (right side)?

What This Means

The codec landscape is no longer a simple chain of improvements. It's a branching tree with competing branches from different standards bodies, each with different licensing philosophies and adoption strategies.

The key takeaways:

In Lesson 5, we'll dive deep into the licensing and economics that drive these adoption decisions โ€” and why hardware companies, not standards bodies, often decide which codecs succeed.

โ—‹ Mark Lesson 4 as complete