H.264 vs H.265 (HEVC) — The Video Codec Showdown
Compare H.264 and H.265 video codecs. File sizes, quality, compatibility, encoding speed, and which to use for streaming, storage, and sharing.
The 50% Promise
When H.265 (HEVC — High Efficiency Video Coding) launched in 2013, it promised 50% better compression than H.264 at the same visual quality. Ten years later, that promise has mostly delivered — but H.264 still dominates the real world.
Why? Because codec efficiency isn't the only thing that matters.
The Numbers
| Feature | H.264 (AVC) | H.265 (HEVC) |
|---|---|---|
| Year released | 2003 | 2013 |
| Compression efficiency | Baseline | 25-50% better |
| 1080p file size (1 min) | 15-25 MB | 8-15 MB |
| 4K file size (1 min) | 60-100 MB | 30-60 MB |
| Encoding speed | Fast | 2-5x slower |
| Hardware decoding | Every device made since 2010 | Most devices since 2015 |
| Browser support | Universal | ~85% (no Firefox default) |
| Licensing | $0.20/unit (capped) | Complex, multi-pool |
| Streaming adoption | Netflix, YouTube, Twitch | Netflix, Apple TV+ |
| Camera support | Every camera | iPhones, newer cameras |
Where H.264 Wins
Compatibility
H.264 plays on literally everything — every phone, every browser, every smart TV, every media player, every streaming box made in the last 15 years. No codec in history has achieved wider compatibility. When you need "just works," H.264 is the answer.Encoding Speed
H.264 encodes 2-5x faster than H.265 at comparable quality. For live streaming (Twitch, YouTube Live, Zoom calls), this speed advantage is critical — you need real-time encoding without dropping frames.Editing Compatibility
Every video editor handles H.264 natively. H.265 support in editing software has improved dramatically, but some older or lighter editors still struggle with it, especially for scrubbing and preview.Licensing Simplicity
H.264's licensing (via MPEG LA) is straightforward and capped. H.265's licensing involves three separate patent pools (MPEG LA, HEVC Advance, Velos Media) with different terms. This licensing mess is one reason many companies preferred to develop AV1 instead.Where H.265 Wins
File Size
For storage and bandwidth, H.265's efficiency is substantial:| Content | H.264 Size | H.265 Size | Savings |
|---|---|---|---|
| 1-hour 1080p movie | 4-6 GB | 2-3.5 GB | ~40% |
| 1-hour 4K movie | 15-25 GB | 8-14 GB | ~45% |
| 1-minute iPhone video | 120 MB | 60 MB | ~50% |
| Security cam (24 hours) | 30 GB | 15 GB | ~50% |
4K and Beyond
H.265 was designed for 4K and 8K content. H.264 technically supports 4K, but the bitrate requirements make it impractical — 4K H.264 files are enormous. If you're working with 4K content, H.265 is the practical choice.iPhone Recording
Since iPhone 7 (2016), Apple's default camera format is H.265 in a MOV container ("High Efficiency" mode). This is why iPhone videos are relatively compact for their quality. You can switch to H.264 in Settings → Camera → Formats → Most Compatible, but files will be roughly twice as large.The Decision Framework
| Scenario | Codec | Why |
|---|---|---|
| Upload to YouTube/Twitch | H.264 | They re-encode anyway; faster upload |
| Share via email/messaging | H.265 | Smaller files, most phones decode it |
| Store video archive | H.265 | 50% storage savings |
| Live streaming | H.264 | Real-time encoding needs speed |
Web element | H.264 | Universal browser support |
| Security cameras | H.265 | Months of footage, storage matters |
| Edit in Premiere/DaVinci | Either | Both work; H.264 scrubs faster |
| Maximum future-proofing | AV1 | If you can afford the encoding time |
What About AV1?
AV1 is the next generation — 30% more efficient than H.265, royalty-free (unlike H.265), and backed by Google, Apple, Netflix, Amazon, and Microsoft. But encoding is 10-50x slower than H.264, and hardware decoding is only now becoming widespread in 2026.
AV1 will likely succeed H.265, but H.264 will outlive them all through sheer inertia.
Convert between video formats using MyPDF's Video Converter.
Related Tools
- Convert Video — Convert between codecs and containers
- Compress Video — Reduce file size with efficient compression
- MOV to MP4 — Convert iPhone H.265 MOV to universal MP4
- Video Trim — Cut clips before re-encoding