Ch. 7 · VP9 & AV1

한국어日本語
6 min

What Is VP9? Google's Royalty-Free Codec and Its Road to AV1

VP9 is Google's royalty-free video codec and the direct predecessor of AV1. See how it compares with HEVC, and how YouTube made it a de facto standard.

VP9 is a royalty-free codec Google released in 2013. Even before the HEVC patent disputes covered in Chapter 6 heated up, Google was already pursuing its own codec lineage (acquire On2 Technologies → VP8 → VP9), with YouTube's enormous traffic as leverage.

VP9's goal was clear from the start

"HEVC-level compression efficiency, without the royalties." Google announced that VP9's BD-rate is about -50% versus H.264, on par with HEVC, but quite a few independent benchmarks showed HEVC slightly ahead. Either way, the big picture holds: VP9 is a rival to the HEVC from Chapter 6, from almost the same era and with similar goals.

A direct comparison of VP9 and AV1 (libaom) on the same clips is in the VP9 vs AV1 measurement. In that test with four 10-second clips, at the same VMAF of 90, libaom (AV1) needed 52–79% of the VP9 file size (paired presets, comparable clips only).

VP9's structure — compared with HEVC

ItemHEVCVP9
Top-level block64×64 CTU (quadtree)64×64 superblock (quadtree + some rectangular splits)
Entropy codingCABAC (the context-based arithmetic coding from Chapter 2)Boolean coder — similar, but simpler arithmetic coding
In-loop filtersDeblocking + SAODeblocking only (no SAO; instead, finer control over loop filter strength)
Standards bodyOfficial ITU-T/MPEG standardGoogle's own specification, later released as open source
In practice — the adoption strategy YouTube built

VP9 never went through an official international standards body, but YouTube delivered VP9 streams at massive scale, and Chrome and Android supported it out of the box, making it a de facto standard. It shows that real deployment by a giant platform can matter more to a codec's fate than a standards body's approval — the same theme as Chapter 6 (technology vs. business).

VP9 wasn't completely free of patents either

Google released VP9 as royalty-free, but the industry kept debating whether even a royalty-free codec is completely safe from third-party patent claims. That experience led its successor, AV1, to adopt much more careful patent review and a multi-party alliance structure (AOMedia).

How the -cpu-used setting changes VP9 encoding with libvpx is measured in the VP9 cpu-used measurement. At the same VMAF, taking cpu-used 5 and above as 100%, the size was 98–105% for cpu-used 2, 101–107% for 3 and 103–107% for 4, while CPU time was 1.1–1.8 times higher.

VP9VP9

A royalty-free video codec Google released in 2013. The direct predecessor of AV1.

On2 TechnologiesOn2 Technologies

The company Google acquired. The original developer of the VP codec lineage (VP3 to VP9).

Boolean coderBoolean coder

The binary arithmetic coder used by VP9. Similar in principle to CABAC, but with a simpler context model. (AV1 replaced it with a multi-symbol adaptive arithmetic coder.)

cpu-usedcpu-used

The option in FFmpeg's libvpx-vp9 and libaom-av1 that sets the balance between speed and efficiency. In this site's VP9 cpu-used lab article, cpu-used 5, 6 and 8 gave identical size and VMAF on all four clips, while 2 to 4 took 1.1 to 1.8 times the CPU time and landed at 98 to 107% of the size at the same VMAF.

Check yourself

What was the key factor that let VP9 become a de facto standard without approval from an international standards body?