Concept · Codec decision
H.264 vs H.265: Which Codec Should You Ship?
The default answer in 2026 is still "both" — but the split between them is more nuanced than ever, and patent pools just changed the math again.
TL;DR
The 30-second decision
| Your target | Codec | Why |
|---|---|---|
| Social media, legacy devices | H.264 | Universal decode |
| Apple ecosystem, 4K/HDR, smart TV | HEVC | Best device efficiency, HDR support |
| Chrome/Android high-traffic VOD | AV1 (when ready) | Royalty-free, best compression |
Side by side
| H.264/AVC | H.265/HEVC | |
|---|---|---|
| Compression | Baseline | ~30–40% better at same quality |
| Encoding cost | x264 near real-time | 2–4× slower for same quality |
| Hardware decode | Everything | Modern phones, TVs, consoles |
| Patents | One pool (Via LA) | Three fragmented pools |
| HDR | Limited | Native HDR10/HLG passthrough |
The engineering view: one ladder, two codecs
Production stacks in 2026 ship a three-rung ladder: HEVC as the main rung for capable devices, H.264 as the fallback rung for everything else, and AV1 in the wings for high-traffic tiers. The question is not "which codec" — it is how your encoder behaves at each rung.
What changed in 2026
HEVC patent-pool terms shifted again in 2026 — see the dedicated explainer for the timeline and what it means for your licensing exposure. H.264 via Via LA also restructured into tiered fees. "Royalty-free AV1" carries an asterisk. Engineering teams should size this once and move on.
Keep exploring