HEVC Codec Explained: H.265, File Sizes, and How to Use It in 2026

By Hieu Dinh

What Is the HEVC Codec?

The HEVC codec — short for High Efficiency Video Coding, also known as H.265 — is the video compression standard behind most modern 4K and 8K video. Standardized by the ITU-T and ISO/IEC in 2013 (ITU-T H.265 / ISO/IEC 23008-2), HEVC was designed to deliver the same visual quality as H.264 at roughly half the file size.

That 50% savings is not marketing — it's a measurable, repeatable advantage. Apple adopted HEVC as the default iPhone capture format in 2017. Netflix uses HEVC for its 4K HDR catalog. Every UHD Blu-ray is HEVC. If you've shot 4K on a phone in the last seven years, you've almost certainly produced an HEVC file.

This guide covers what you need to know about the HEVC codec: how it works, where to use it, hardware acceleration, encoding settings, playback troubleshooting, and how H.265 stacks up against AV1.


A Brief History: How We Got to the HEVC Codec

Video compression has gone through four major generations, each delivering roughly 50% better efficiency than the last:

  • H.264 / AVC (2003) — Advanced Video Coding. The universal video codec for the YouTube era, Blu-ray, broadcast TV, and webcams. Still the most compatible codec in existence.
  • H.265 / HEVC (2013) — High Efficiency Video Coding. Designed for the 4K/8K era, with HDR and 10-bit color. ~50% more efficient than H.264.
  • H.266 / VVC (2020) — Versatile Video Coding. Another ~50% gain over HEVC, but adoption stalled by complex licensing.
  • AV1 (2018) — Royalty-free codec from the Alliance for Open Media (Google, Apple, Netflix, Mozilla, Meta, Microsoft, Intel). ~30–50% more efficient than HEVC, but encoding is expensive without dedicated hardware.

The HEVC codec sits in the sweet spot of 2026: dramatically better than legacy H.264, broadly hardware-accelerated, and far faster to encode than AV1 in practice. See HEVC vs H.264 and AV1 vs H.265 for full head-to-heads.


Key Features of the HEVC Codec

Several architectural improvements combine to deliver HEVC's compression advantage:

  • Coding Tree Units (CTUs). Variable-size blocks from 8x8 to 64x64 pixels (vs H.264's fixed 16x16 macroblocks). The encoder picks the optimal block size per region — small for detail, large for smooth sky or skin.
  • Extended motion compensation. Predicts motion across more reference frames with up to 33 directional intra-prediction modes (vs 9 in H.264).
  • Sample Adaptive Offset (SAO) filtering. A second in-loop filter that reduces ringing artifacts and banding at low bitrates.
  • 4K, 8K, and beyond. Main profile supports up to 8192x4320; extensions go further.
  • 10-bit and 12-bit color depth. Main10 supports 1.07 billion colors — required for HDR. Main12 covers professional workflows.
  • Native HDR. HEVC carries HDR10, HDR10+, and Dolby Vision metadata. Every HDR streaming title is almost certainly HEVC.

Where the HEVC Codec Is Used

HEVC has quietly become dominant across consumer and professional video infrastructure:

  • iPhone (since iPhone 7 / iOS 11, 2017) — default capture format, set in Settings > Camera > Formats > High Efficiency.
  • Apple ecosystem — Mac, iPad, Apple TV, Vision Pro all support HEVC natively in hardware.
  • 4K UHD Blu-ray — the format spec mandates HEVC.
  • Netflix, Disney+, Apple TV+, Prime Video — standard delivery codec for 4K and HDR.
  • Security and IP cameras — most modern cameras record HEVC to cut storage for 24/7 footage.
  • Drones and action cameras — DJI, GoPro, Insta360 use HEVC for 4K/5K/8K capture.
  • Broadcast and OTT — dominant codec for 4K broadcast and IPTV.

If you record video on any modern device, there's a strong chance you're already producing HEVC files.


HEVC vs H.264: The Practical Differences

The clearest way to understand the HEVC codec is to compare it directly to H.264:

DimensionH.264 (AVC)HEVC (H.265)
Standardized20032013
File size at same qualityReference~50% smaller
Max practical resolution4K8K
Color depth8-bit8-bit, 10-bit, 12-bit
HDR supportLimitedNative (HDR10, HDR10+, DV)
Encoding CPU cost (software)Reference2–5x higher
Hardware encodeUniversal (2010+)Broad (2015+)
Web browser supportUniversalSafari fully; Chrome/Firefox/Edge with hardware
LicensingSingle pool (MPEG LA)Multiple pools

A 10-minute 4K iPhone video might land at 6 GB in H.264 and 3 GB in HEVC at equivalent quality. Across a video library, that's terabytes saved. For benchmarks, see HEVC vs H.264 and best video compression.


HEVC vs AV1: The Newer Challenger

AV1 is the royalty-free open-source codec from the Alliance for Open Media. On paper, it's 30–50% more efficient than the HEVC codec. In practice:

  • Compression: AV1 wins by 30–50% at equivalent quality.
  • Encoding speed: HEVC wins decisively. Hardware HEVC encode is universal on modern Macs and GPUs; hardware AV1 encode is limited to NVIDIA RTX 40-series, Intel Arc, and a handful of newer SoCs. Apple Silicon has AV1 decode but no AV1 encode as of M4.
  • Browser support: AV1 has broader web support since Chrome, Firefox, and Edge all decode AV1 in software while HEVC requires hardware decode.
  • Licensing: AV1 is royalty-free; HEVC requires payments to multiple patent pools.

For Mac users in 2026, HEVC is almost always the right answer — hardware encode speed matters and the file size difference is modest in absolute terms. For web streaming at scale, AV1 is the future. See AV1 vs H.265 for a full breakdown.


The Patent and Licensing Landscape

Briefly worth understanding — because it explains why AV1 exists at all.

H.264 is licensed through a single pool (MPEG LA). HEVC is licensed through three separate pools — MPEG LA, HEVC Advance, and Velos Media — each with different fee structures, plus some patent holders in no pool at all. Total royalty exposure for a device manufacturer can run several dollars per unit.

This fragmentation caused two things: browser vendors (Mozilla, Google) initially refused to ship HEVC web decoding, and the Alliance for Open Media formed AV1 as a deliberately royalty-free alternative. For end users running apps that have already licensed HEVC (like macOS), this is invisible — but it's why YouTube increasingly serves AV1 instead of HEVC despite HEVC's head start.


Hardware Acceleration: Why HEVC Is Fast on Modern Devices

Software HEVC encoding is heavy — 2–5x more demanding than H.264. Without hardware acceleration, a 10-minute 4K HEVC encode can take an hour on a laptop CPU. Hardware acceleration uses dedicated silicon blocks separate from the CPU and GPU:

  • VideoToolbox (Apple) — hardware HEVC encode/decode on all Apple Silicon Macs (M1+), iPhone 7+, iPads with A10+.
  • NVENC (NVIDIA) — hardware HEVC encode on GeForce GTX 950 and later, all RTX cards.
  • Quick Sync (Intel) — hardware HEVC encode on Skylake (6th gen) and later integrated GPUs.
  • AMF / VCN (AMD) — hardware HEVC encode on Polaris (RX 400) and later GPUs, Ryzen APUs with Vega+.

On Apple Silicon, the media engine encodes 4K HEVC at near-real-time or faster — a 10-minute clip in 2–3 minutes vs an hour in software. This is why a Mac-native tool using VideoToolbox is dramatically faster than software FFmpeg. See how to compress videos using FFmpeg and an easier alternative.


How to Encode HEVC

Several solid ways to produce HEVC files:

  • Compresto (Mac) — drag and drop; uses VideoToolbox to produce HEVC MP4/MOV at near-real-time speed. No settings required.
  • HandBrake (Mac, Windows, Linux) — free GUI encoder. Choose "H.265 (x265)" for software or "H.265 (VideoToolbox/NVENC/Quick Sync)" for hardware. "Fast 1080p30" or "Fast 4K30" presets are good starting points.
  • FFmpeg (CLI) — hardware-accelerated HEVC on Mac:
ffmpeg -i input.mp4 -c:v hevc_videotoolbox -q:v 50 -tag:v hvc1 -c:a copy output.mp4

The -tag:v hvc1 flag is critical for Apple device compatibility. For software x265:

ffmpeg -i input.mp4 -c:v libx265 -crf 23 -preset medium -tag:v hvc1 -c:a copy output.mp4
  • Premiere Pro and DaVinci Resolve — both export HEVC with hardware acceleration when available. Premiere: H.265 (HEVC) in Export Settings. Resolve: H.265 in the Deliver page Codec dropdown.

For containers and codec choices on Mac, see mac video file formats and best video format.


How to Play HEVC Files

HEVC playback varies by platform:

  • macOS — native in QuickTime, Finder previews, and Photos since macOS High Sierra (10.13, 2017). Hardware-accelerated.
  • Windows — Windows 10/11 require HEVC Video Extensions from the Microsoft Store (~$0.99). Some OEMs ship it preinstalled.
  • iPhone/iPad — native since iPhone 7 / iOS 11.
  • Android — most devices since Android 5.0; hardware decode universal from 2017+.
  • VLC — software HEVC decoder, works on every OS.
  • IINA (Mac) — modern mpv-based player with excellent HEVC scrubbing.
  • Browsers — Safari plays HEVC natively. Chrome 107+, Edge, and Firefox decode HEVC only with hardware decode on the host.

If a file won't play, install VLC or IINA — both bypass OS-level codec restrictions entirely.


Common HEVC Issues and Fixes

  • Green screen on playback. Usually a hardware decode bug or mismatched color space. Try VLC or IINA (software decoders). If it persists, re-encode with explicit color tags via FFmpeg.
  • Audio out of sync. Variable frame rate sources drift over long videos. Re-encode with -vsync cfr or convert source to constant frame rate before HEVC encoding.
  • Choppy playback. Software decoding on a CPU that can't keep up with 4K HEVC. Older Intel Macs (pre-2017) and lower-end Windows laptops without Quick Sync struggle. Switch to a hardware-decode device or downscale to 1080p.
  • Won't play on iPhone or QuickTime. Apple rejects hev1-tagged HEVC files. Add -tag:v hvc1 to your FFmpeg command.
  • Final Cut Pro or Premiere can't import. Unusual profiles (Main 4:2:2, Main 12) trip up NLEs. Convert to ProRes or to standard HEVC Main/Main10 first.

  • General-purpose 1080p (web sharing, playback): HEVC Main, CRF 23 (libx265) or quality 50 (videotoolbox), preset medium, MP4 with hvc1 tag.
  • 4K HDR archival (iPhone or camera): HEVC Main10, CRF 20 or quality 65, 10-bit color, preserve HDR10/Dolby Vision metadata, MOV or MP4.
  • Maximum compression (long-term storage): HEVC Main/Main10, CRF 26–28, preset slow or veryslow, software libx265.
  • Recording or screen capture (low latency): HEVC Main, hardware encode (VideoToolbox/NVENC), higher bitrate (CBR or VBR quality 70+).

CRF stands for Constant Rate Factor — lower means higher quality and larger files. CRF 23 in x265 is roughly "visually lossless." Drop to 20 for archival, raise to 26 for aggressive compression.

For converting between formats and codecs more broadly, see any video converter alternatives.


Encode HEVC Easily on Mac with Compresto

Compresto is built for Mac video compression. It uses Apple's VideoToolbox framework to encode HEVC at hardware speed — no command line, no preset hunting, no encoding hours.

Drag a file or folder onto Compresto. The Apple Silicon media engine produces HEVC output at near-real-time speed with sensible defaults — files roughly 40–50% smaller than the original at imperceptible quality loss. Output uses the hvc1 codec tag, so it plays everywhere Apple devices play HEVC.

For batch jobs, Compresto can monitor folders and auto-compress new files. Combined with HEVC's compression efficiency and Apple Silicon's hardware encode speed, you can shrink terabytes of video in an afternoon, not a week.

Download Compresto for Mac and encode HEVC at hardware speed.


FAQ: HEVC Codec

Is HEVC better than H.264?

Technically yes — the HEVC codec delivers ~50% better compression efficiency at equivalent quality, and supports 4K, 8K, 10-bit color, and HDR natively. The tradeoff is compatibility: H.264 plays on every device made in the last 15 years, while HEVC needs hardware support widespread only on 2017+ devices. For Apple ecosystem use, HEVC wins; for maximum cross-device web compatibility, H.264 still wins.

Why are HEVC files smaller?

Variable-size Coding Tree Units (8x8 to 64x64) instead of H.264's fixed 16x16 macroblocks let the encoder pick the optimal block size per region. Combined with extended motion compensation, 33 directional intra-prediction modes, and Sample Adaptive Offset filtering, HEVC needs fewer correction bits to represent the same content — yielding files about half the size.

Why won't HEVC play on my computer?

On Windows, the default Movies & TV app needs HEVC Video Extensions from the Microsoft Store (~$0.99). On older Macs without hardware HEVC decode, playback may stutter. The simplest universal fix: install VLC or IINA. Both include their own HEVC decoders and bypass OS-level codec packs.

Is HEVC and H.265 the same?

Yes. HEVC stands for High Efficiency Video Coding; H.265 is the ITU-T name for the same standard (ISO/IEC 23008-2). HEVC is more common in marketing, H.265 in technical specs. Same codec, two names.

Should I encode in HEVC or AV1 in 2026?

For Mac users, HEVC. Apple Silicon has hardware HEVC encode and decode but only AV1 decode (no encode) — AV1 software encoding runs 10–50x slower. HEVC also has broader playback support across Apple devices. If you're encoding for the web at scale and have time, AV1 wins on file size by 30–50%. For everything else on Mac, use HEVC.

Does HEVC use more CPU?

Software HEVC encoding uses 2–5x more CPU than H.264. With hardware acceleration via VideoToolbox (Mac), NVENC (NVIDIA), Quick Sync (Intel), or AMF (AMD), CPU cost drops to near zero — the dedicated media engine handles it. This is why HEVC feels slow on older laptops without hardware support but fast on a modern Mac.

Is HEVC free to use?

For end users, yes. For device manufacturers and software vendors, HEVC requires royalties to multiple patent pools (MPEG LA, HEVC Advance, Velos Media). Apple has licensed HEVC for macOS and iOS, so Mac users don't pay separately. This licensing complexity is the main reason AV1 emerged as a royalty-free alternative.


Download Compresto for Mac and shrink your video library with hardware-accelerated HEVC encoding — fast, simple, and dramatically smaller files without quality loss.

Ready to compress your files? Join thousands of creators using Compresto ⚡