AV1 vs VP9 vs H.264: Codec Comparison Guide (2026)
H.264 vs AV1 vs VP9 compared: compression quality, encoding speed, browser support & royalties. Includes decision flowchart to pick the right video codec.
The Three Pillars of Web Video
When it comes to delivering video on the web, three codecs dominate the landscape: H.264, VP9, and AV1. Each represents a different generation of video compression technology, and each carries distinct trade-offs in quality, speed, compatibility, and cost.
H.264 has been the universal web video codec for nearly two decades. VP9, developed by Google, challenged H.264 with better compression and a royalty-free license. AV1, the newest of the three, promises the best compression of all while remaining entirely open and royalty-free.
Understanding these three codecs is essential for anyone involved in video delivery, whether you are a content creator, web developer, or streaming engineer. This guide breaks down every important dimension of the comparison.
A Brief History
H.264 (AVC) -- The Established Standard
H.264 was finalized in 2003 by the ITU-T and ISO/IEC joint team. It quickly became the dominant video codec for everything from web streaming to Blu-ray discs. Its combination of good compression, reasonable encoding speed, and broad hardware support made it the default choice for over a decade.
Key milestones:
- 2003: Standard finalized
- 2007: YouTube switches to H.264
- 2010: MPEG LA makes H.264 royalty-free for free internet video
- 2012: Essentially universal browser support
VP9 -- Google's Open Alternative
VP9 was developed by Google and released in 2013 as the successor to VP8. Google created VP9 specifically to avoid the licensing costs and restrictions of H.265 (HEVC) while still achieving modern compression efficiency.
Key milestones:
- 2013: VP9 specification finalized
- 2014: YouTube begins serving VP9
- 2015: Chrome and Firefox add VP9 support
- 2017: VP9 becomes YouTube's primary delivery codec
AV1 -- The Open Future
AV1 was developed by the Alliance for Open Media (AOMedia), a consortium founded in 2015 by Amazon, Cisco, Google, Intel, Microsoft, Mozilla, and Netflix. AV1 builds on technology from Google's VP10, Mozilla's Daala, and Cisco's Thor projects.
Key milestones:
- 2018: AV1 bitstream specification finalized
- 2020: Hardware decoding begins appearing (Samsung, MediaTek)
- 2022: Widespread hardware AV1 decode in new devices
- 2024: AV1 hardware encoding in consumer GPUs (NVIDIA, Intel, AMD)
- 2025-2026: AV1 reaches mainstream adoption for streaming
Compression Efficiency
Compression efficiency is the primary reason newer codecs exist. Each generation brings significant improvements.
Bitrate Savings Comparison
| Resolution | H.264 Bitrate | VP9 Bitrate | AV1 Bitrate | AV1 vs H.264 Savings |
|---|---|---|---|---|
| 720p (30fps) | 5 Mbps | 3 Mbps | 2.2 Mbps | ~56% |
| 1080p (30fps) | 8-12 Mbps | 5-7 Mbps | 3.5-5 Mbps | ~55% |
| 1080p (60fps) | 12-20 Mbps | 7-12 Mbps | 5-8 Mbps | ~58% |
| 4K (30fps) | 35-45 Mbps | 18-25 Mbps | 12-16 Mbps | ~65% |
| 4K (60fps) | 53-68 Mbps | 30-40 Mbps | 18-25 Mbps | ~63% |
The general rule of thumb:
- VP9 achieves roughly 30-40% better compression than H.264
- AV1 achieves roughly 50-60% better compression than H.264 and 20-30% better than VP9
These numbers represent typical results with good encoding settings. Actual savings vary based on content type, encoding speed preset, and target quality level.
Technical Innovations in Each Codec
H.264 introduced:
- 16x16 macroblocks with sub-partitions
- Quarter-pixel motion compensation
- CABAC entropy coding
- In-loop deblocking filter
VP9 improved upon H.264 with:
- 64x64 superblocks (4x the area of H.264 macroblocks)
- 10 intra prediction modes
- Compound inter prediction (blending multiple reference frames)
- 8-tap switchable interpolation filters
AV1 adds further innovations:
- 128x128 superblocks for even larger coding units
- 56+ intra prediction modes
- Constrained Directional Enhancement Filter (CDEF)
- Loop Restoration Filter with Wiener and self-guided options
- Film grain synthesis (encode grain parameters separately)
- Reference frame scaling and warped motion compensation
Quality at Low Bitrates
The quality differences between codecs become most visible at low bitrates, which is the scenario that matters most for mobile streaming and bandwidth-constrained environments.
At 2 Mbps for 1080p content:
- H.264: Visible blocking artifacts, loss of fine detail, occasional banding in gradients
- VP9: Reduced blocking, better preservation of edges, some softening in complex areas
- AV1: Noticeably cleaner image, better texture preservation, minimal banding thanks to film grain synthesis
AV1's film grain synthesis feature deserves special mention. Instead of trying to compress natural film grain (which is essentially random noise and extremely expensive to encode), AV1 can describe the grain characteristics as metadata and reconstruct it during playback. This saves substantial bitrate on grainy or noisy content.
Browser and Platform Support
Desktop Browser Support (2026)
| Browser | H.264 | VP9 | AV1 |
|---|---|---|---|
| Chrome | Yes | Yes | Yes |
| Firefox | Yes | Yes | Yes |
| Safari | Yes | No (macOS 15+: Yes) | Yes (macOS 14+) |
| Edge | Yes | Yes | Yes |
| Opera | Yes | Yes | Yes |
Mobile Support
| Platform | H.264 | VP9 | AV1 |
|---|---|---|---|
| iOS Safari | Yes | Partial (iOS 16+) | Yes (iPhone 15 Pro+) |
| Android Chrome | Yes | Yes | Yes (hardware varies) |
| Android Firefox | Yes | Yes | Yes |
Hardware Decode Support
Hardware decoding is critical for power efficiency and smooth playback, especially on mobile devices.
H.264: Universal hardware decode support across essentially all devices manufactured since 2010.
VP9: Widespread hardware decode support. Present in most smartphone SoCs since 2016 (Qualcomm Snapdragon 800+, Samsung Exynos 7+, MediaTek Helio P60+), Intel CPUs since Skylake (6th gen), and AMD GPUs since Polaris.
AV1: Hardware decode is now common in devices manufactured from 2022 onward:
- Apple: A17 Pro (iPhone 15 Pro), M3 and later
- Samsung: Exynos 2200 and later
- Qualcomm: Snapdragon 8 Gen 1 and later
- MediaTek: Dimensity 1000 and later
- Intel: 12th gen Core (Alder Lake) and later
- NVIDIA: RTX 3000 series and later
- AMD: RX 6000 series and later (decode), RX 7000 series (encode)
Encoding Speed
Encoding speed is where the codecs differ dramatically, and it is often the practical bottleneck for adoption.
Relative Encoding Speed (Software)
| Codec | Encoder | Speed (relative to x264 medium) | Quality |
|---|---|---|---|
| H.264 | x264 (medium) | 1x (baseline) | Good |
| H.264 | x264 (slow) | 0.5x | Very good |
| VP9 | libvpx-vp9 (good quality) | 0.15-0.3x | Good |
| VP9 | libvpx-vp9 (best quality) | 0.05-0.1x | Very good |
| AV1 | libaom (speed 6) | 0.05-0.15x | Good |
| AV1 | libaom (speed 4) | 0.02-0.05x | Very good |
| AV1 | SVT-AV1 (preset 8) | 0.3-0.5x | Good |
| AV1 | SVT-AV1 (preset 5) | 0.1-0.2x | Very good |
| AV1 | rav1e (speed 6) | 0.1-0.2x | Good |
A few important notes on these numbers:
SVT-AV1 is a game-changer. Developed by Intel and Netflix, SVT-AV1 (Scalable Video Technology for AV1) is dramatically faster than the reference libaom encoder while achieving comparable quality. At its faster presets, SVT-AV1 approaches VP9 encoding speeds while delivering significantly better compression. This encoder has been instrumental in making AV1 practical for real-world use.
Hardware encoding is accelerating. NVIDIA's RTX 4000 and 5000 series GPUs include AV1 hardware encoders (NVENC). Intel Arc GPUs also include AV1 hardware encoding. These hardware encoders produce good quality at real-time speeds, making AV1 viable for live streaming and on-the-fly encoding.
Encoding Time Example
Encoding a 10-minute 1080p video (typical content):
| Codec/Encoder | Approximate Time | Output Quality |
|---|---|---|
| x264 medium | 3 minutes | Good |
| libvpx-vp9 good quality | 15 minutes | Good |
| libaom speed 6 | 25 minutes | Good |
| SVT-AV1 preset 8 | 7 minutes | Good |
| SVT-AV1 preset 5 | 20 minutes | Very good |
| NVENC AV1 (RTX 4000+) | 1.5 minutes | Good |
Royalty and Licensing
The licensing model is a critical factor, particularly for large-scale deployment.
H.264
H.264 is patented technology licensed through MPEG LA. The licensing terms are well-established:
- Free for internet video that is free to end users
- Royalty fees apply for commercial distribution (pay-per-view, subscription services)
- Annual cap on royalties provides cost predictability
While H.264 is effectively free for most web use, the patent licensing still creates concerns for some organizations and has influenced the development of open alternatives.
VP9
VP9 is royalty-free. Google released VP9 under a perpetual, irrevocable, royalty-free license. There are no patent pools or licensing fees for any use of VP9.
However, VP9 has faced some patent infringement claims from Nokia, which were largely resolved. The practical risk of VP9 patent issues is considered low.
AV1
AV1 is royalty-free, backed by the full patent portfolios of the Alliance for Open Media members. AOMedia members (which include Google, Apple, Amazon, Microsoft, Netflix, Meta, Intel, AMD, NVIDIA, and many others) have committed to licensing their relevant patents royalty-free for AV1 implementations.
This broad patent commitment from the largest technology companies makes AV1 the most legally secure royalty-free codec option.
When to Use Each Codec
Choose H.264 When:
- Maximum compatibility is essential: H.264 works on virtually every device and browser, including legacy systems
- Encoding speed matters most: Live streaming, real-time communication, and rapid content production workflows benefit from H.264's fast encoding
- Your audience includes older devices: Feature phones, older smart TVs, embedded systems, and other limited hardware may only support H.264
- You need a simple, proven solution: H.264 tooling is mature, well-documented, and universally available
Choose VP9 When:
- You are delivering to web browsers and want better compression than H.264: VP9 offers significant bitrate savings over H.264 with good browser support
- YouTube is your primary platform: YouTube already transcodes to VP9, so understanding VP9 helps you optimize your content
- You want royalty-free licensing without the encoding cost of AV1: VP9 is a good middle ground between compression and encoding speed
- Your audience primarily uses Chrome, Firefox, or Android: These platforms have excellent VP9 support
Choose AV1 When:
- You are optimizing for bandwidth costs at scale: Streaming services, CDN operators, and large platforms benefit most from AV1's superior compression
- Your encoding can happen offline or with hardware acceleration: If you can afford the encoding time (or have AV1 hardware encoders), the compression gains are substantial
- You are targeting modern devices and browsers: As of 2026, AV1 support is broad enough for most audiences
- You want the best quality at a given bitrate: For quality-sensitive applications, AV1 is the clear leader
- You are building for the future: AV1 adoption is accelerating, and investing in AV1 infrastructure now pays dividends as support becomes universal
Multi-Codec Delivery Strategy
The most robust approach for web video delivery is to offer multiple codecs and let the client select the best one it supports. This is exactly what adaptive streaming protocols like DASH and HLS enable.
A recommended ladder for 2026:
- AV1 as the primary codec for clients that support it (best compression, royalty-free)
- VP9 as the secondary option for clients without AV1 support
- H.264 as the universal fallback
This approach maximizes bandwidth savings for the majority of viewers while ensuring nobody is left unable to watch.
YouTube, Netflix, and other major platforms already use this multi-codec strategy. YouTube, for example, serves AV1 to capable devices, VP9 to most others, and falls back to H.264 for legacy clients.
Real-World Adoption in 2026
YouTube
YouTube has been at the forefront of codec adoption. As of 2026, YouTube serves:
- AV1 for most desktop and modern mobile viewers
- VP9 as the standard fallback
- H.264 for legacy devices only
YouTube's encoding pipeline uses VP9 and AV1 for all new uploads, with multiple quality tiers encoded in each codec.
Netflix
Netflix has been an early and aggressive adopter of AV1, using it for streaming across smart TVs, game consoles, and mobile devices that support hardware decode. Netflix reports average bandwidth savings of 50% compared to their previous VP9 streams.
Other Platforms
- Twitch: Supports AV1 for VODs, H.264 remains primary for live streams
- Facebook/Meta: AV1 for most video delivery, H.264 fallback
- Amazon Prime Video: AV1 for 4K HDR content on supported devices
- Apple: H.265 remains primary in the Apple ecosystem, with growing AV1 support
The Future Outlook
The trajectory is clear: AV1 is becoming the dominant web video codec, following the same adoption curve that H.264 followed a decade ago. Several factors accelerate this:
- Hardware support is reaching critical mass: With AV1 hardware decode in all major smartphone SoCs, desktop CPUs, and GPUs manufactured since 2022-2023, the installed base is large enough for mainstream deployment
- Encoding is becoming practical: SVT-AV1 and hardware encoders have solved the encoding speed problem for most use cases
- Cost savings are enormous at scale: For large platforms, the bandwidth savings from AV1 translate to millions of dollars in CDN costs
- No licensing uncertainty: Unlike H.265, AV1's royalty-free status eliminates legal risk
However, H.264 will remain relevant for years to come in niche applications, legacy systems, and as a fallback codec. VP9 will gradually be superseded by AV1 but continues to serve as an important bridge codec.
What About H.266 (VVC)?
H.266/VVC (Versatile Video Coding) was standardized in 2020 and offers approximately 50% better compression than H.265. However, it faces the same licensing challenges as H.265 (complex multi-pool patent licensing), which limits its appeal for web use. H.266 may find adoption in broadcast and carrier-managed networks but is unlikely to displace AV1 on the open web.
Practical Tips for Your Workflow
Converting Your Videos
Need to convert your videos to a different codec? Our free video converter supports H.264, VP9, and AV1 output. Simply upload your video, select your target codec, and the conversion happens entirely in your browser with no file uploads to any server.
Reducing File Size
If your existing videos are too large, our video compressor can optimize them using the most efficient codec available for your target platform.
Extracting Audio
Sometimes you only need the audio track from a video. Our audio extractor lets you pull audio in AAC, Opus, or MP3 format (for a comparison of audio codecs, see our AAC vs Opus guide).
Summary Comparison Table
| Feature | H.264 (AVC) | VP9 | AV1 |
|---|---|---|---|
| Released | 2003 | 2013 | 2018 |
| Compression (vs H.264) | Baseline | ~35% better | ~55% better |
| Encoding speed | Fast | Moderate | Slow (improving rapidly) |
| Hardware decode | Universal | Widespread | Common (2022+ devices) |
| Hardware encode | Universal | Limited | Growing (2023+ GPUs) |
| Browser support | Universal | Chrome, Firefox, Edge, Safari (new) | All major browsers |
| Licensing | Patented (free for free web video) | Royalty-free | Royalty-free |
| Primary backer | MPEG LA / ITU-T | Alliance for Open Media | |
| Best encoder | x264 | libvpx-vp9 | SVT-AV1 |
| Best for | Compatibility, live streaming | YouTube, web delivery | Bandwidth savings, future-proofing |
The web video landscape is in transition. H.264 built the foundation, VP9 proved that open codecs could compete, and AV1 is poised to become the new standard. Understanding all three ensures you can make the best choice for your content today while being prepared for tomorrow.