Video codec comparison
H.264 (AVC) vs H.265 (HEVC)
H.265 (HEVC) was designed to halve the bitrate of H.264 at equivalent quality. The technical claim works out; the deployment didn't. H.265 is encumbered by overlapping patent pools (MPEG-LA, HEVC Advance, Velos Media) which made commercial licensing expensive and confusing. YouTube doesn't serve H.265 publicly — they went with the royalty-free VP9 and AV1 instead. H.265 dominates in Apple's ecosystem (iPhone video, 4K Blu-ray) but rarely shows up elsewhere.
Side-by-side
| Feature | H.264 (AVC) | H.265 (HEVC) | Winner |
|---|---|---|---|
| Compression efficiency | Baseline | ~50% better | H.265 (HEVC) |
| Patent / licensing | Single pool, well-understood | Multiple pools, expensive licensing | H.264 (AVC) |
| Hardware decode | Universal (every device) | Apple ecosystem + 2018+ Android | H.264 (AVC) |
| YouTube serves it | Yes | No (publicly) | H.264 (AVC) |
| iPhone video shoots in | Old setting | Default since iOS 11 | H.265 (HEVC) |
| 4K Blu-ray | Not used | Standard format | H.265 (HEVC) |
| Streaming service use | Falling out of favor | Limited (licensing concerns) | Tied |
| Editing software | Universal | Universal | Tied |
H.264 (AVC) wins on
- Universal hardware decode — every device since 2010 plays it.
- No licensing complexity for end users.
- Fast encoding with x264 / hardware (NVENC, QuickSync).
- Predictable behavior across every device.
H.265 (HEVC) wins on
- About 50% smaller files at same quality.
- Native on Apple devices since iOS 11 / macOS High Sierra.
- Hardware encode in modern phones (iPhone shoots H.265 by default).
- Standardized 4K Blu-ray format.
Verdict
For YouTube downloads: H.264 is the only option you'll see. YouTube doesn't serve H.265 publicly because of licensing fees they don't want to pay. For non-YouTube use (iPhone source files, 4K Blu-ray rips, Apple-only workflows): H.265 wins. For maximum compatibility: H.264. For maximum compression with similar adoption: skip both and use AV1 (royalty-free + better compression than H.265).