What is VP9?
Definition
VP9 is an open, royalty-free video codec from Google. It compresses video roughly as efficiently as H.265/HEVC - far smaller than H.264 at the same quality - and is widely used by YouTube and inside WebM files, usually paired with Opus audio.
VP9 shrinks video by analyzing each frame and storing mainly the changes between frames, using larger and more flexible block sizes (superblocks up to 64x64) than its predecessor VP8. Because Google released it royalty-free, anyone can encode or decode VP9 without paying license fees, which is a key reason YouTube adopted it. At the same visual quality, a VP9 file is typically 30-50% smaller than an equivalent H.264 file.
In practice you find VP9 video inside .webm container files, almost always alongside Opus audio. Browser support is strong: Chrome, Firefox, and Edge decode it natively, and many Android devices have hardware decoders. Its main weaknesses are slower encoding than H.264 and patchier support on Apple devices and some older or low-power hardware.
People often treat VP9 and WebM as the same thing, but WebM is the container (the file wrapper) while VP9 is the codec (the compression method) stored inside it. VP9 is also frequently compared to H.265/HEVC: efficiency is similar, but VP9 is royalty-free whereas H.265 requires patent licensing. Its successor is AV1, which compresses even better.
Quick facts
- Open, royalty-free video codec made by Google
- Roughly comparable in efficiency to H.265/HEVC
- Typically 30-50% smaller than H.264 at the same quality
- Used by YouTube and stored in WebM files, usually with Opus audio
- Decodes natively in Chrome, Firefox, and Edge; encoding is slower than H.264