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

FeatureH.264 (AVC)H.265 (HEVC)Winner
Compression efficiencyBaseline~50% better H.265 (HEVC)
Patent / licensingSingle pool, well-understoodMultiple pools, expensive licensing H.264 (AVC)
Hardware decodeUniversal (every device)Apple ecosystem + 2018+ Android H.264 (AVC)
YouTube serves itYesNo (publicly) H.264 (AVC)
iPhone video shoots inOld settingDefault since iOS 11 H.265 (HEVC)
4K Blu-rayNot usedStandard format H.265 (HEVC)
Streaming service useFalling out of favorLimited (licensing concerns) Tied
Editing softwareUniversalUniversal 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).

Frequently asked

Why doesn't YouTube serve H.265?
Licensing fees. H.265 has overlapping patent pools that would cost YouTube significant per-stream fees. Royalty-free codecs (VP9, AV1) offer comparable compression without the fees.
Is HEVC the same as H.265?
Yes. H.265 is the ITU name; HEVC (High Efficiency Video Coding) is the ISO/IEC name. Same codec, two naming conventions.

Compare other formats