Skip to main content
🇪🇸 Español 🇧🇷 Português 🇩🇪 Deutsch 🇫🇷 Français 🇯🇵 日本語 🇮🇹 Italiano 🇮🇩 Bahasa Indonesia 🇹🇷 Türkçe 🇰🇷 한국어 🇵🇱 Polski 🇳🇱 Nederlands
Image Converter Document Converter Video Converter Audio Converter
Tools Formats (201) Guides Pricing · ⚡ 4,99 € API
Log In
Guide · h265 → mp4

HEVC / H.265 Video Codec: The Complete Technical Guide

✓ ISO/IEC Verified · 5 min · · By Pablo Cirre
Instant In-Browser Tool
Convert H265 → MP4
Convert →
Guide (9) +
Advertisement

Frequently Asked Questions

HEVC's efficiency gains come directly from increased computational complexity. The quadtree Coding Tree Unit (CTU) structure requires the encoder to evaluate many possible block sizes (64×64, 32×32, 16×16, 8×8) and choose the best at every position. The 35 intra prediction directions (vs. H.264's 9) multiply the number of options to test. Advanced merge mode and TMVP require more complex motion estimation searches. The Sample Adaptive Offset (SAO) filter needs per-frame optimization. All these decisions happen in a rate-distortion optimization loop — the encoder tries many possibilities and picks the best quality-per-bit combination. Encoding 5-10× slower than H.264 at medium preset; using the "fast" preset reduces this to 2-3× but sacrifices some compression efficiency.

AV1 is the most efficient (royalty-free, ~30% smaller than H.265) but encoding is slow. H.265 (HEVC) saves ~30–50% over H.264 and is supported by every modern phone and desktop. H.264 remains the safest baseline for legacy compatibility. Rule of thumb: archives → AV1, daily use → H.265, broadest reach → H.264.

HEVC Main profile supports 8-bit per channel video with 4:2:0 chroma subsampling — standard dynamic range (SDR) content. Main 10 profile additionally supports 10-bit per channel video, providing 4× more tonal gradations per channel (1024 vs 256 levels). This extra bit depth is required for HDR content because HDR displays operate over a much wider luminance range (0.0005 to 10,000 nits for HDR10 vs 0.1 to 100 nits for SDR) that cannot be represented with 8-bit precision without visible banding. Main 10 is the mandatory profile for HDR10, HDR10+, and HLG content. All modern smartphones, Smart TVs, and streaming devices support HEVC Main 10 hardware decoding.

CRF (Constant Rate Factor) is the best default for offline files: ffmpeg picks the bitrate frame-by-frame to maintain perceived quality. Two-pass is only better when you must hit an exact final size (DVD targets). Constant bitrate is for streaming with a fixed channel. For "smallest at quality X" always use CRF.

The default CRF for libx265 is 28, which produces smaller files than H.264's default CRF of 23 at equivalent visual quality (because HEVC is more efficient). For general purpose archiving and distribution, CRF 24-28 is recommended. CRF 18-22 gives visually lossless quality for critical content but produces large files. CRF 28-32 is suitable for web delivery where bandwidth is a concern. For 4K HDR content, use CRF 20-24 because high-resolution and HDR video contains more perceptible detail that justifies larger files. The "-preset" flag also matters: "slow" or "slower" gives 10-15% better compression than "medium" but takes 2-4× longer to encode.

Common causes: (1) variable framerate source rendered as constant (use <code>-vsync vfr</code> to preserve VFR); (2) different audio sample rates not resampled (add <code>-ar 48000</code>); (3) container limitations (MP4 with variable framerate misbehaves — prefer MKV during editing, encode to MP4 only at the end). Always run <code>ffprobe</code> on both source and output to compare timing.

HEVC has one of the most complex patent situations in codec history. Three separate patent pools (HEVC Advance, Velos Media, Via LA) plus individual licensors all claim essential patents — meaning device manufacturers must pay multiple separate fees. HEVC Advance charges approximately $0.60 per device plus revenue-based fees. This complexity caused major tech companies (Google, Mozilla, Microsoft, Amazon, Netflix, Cisco, Apple) to form the Alliance for Open Media and develop AV1 as a royalty-free alternative. For users, this matters primarily when distributing software or selling devices: ffmpeg can encode HEVC freely, but distributing HEVC-encoded content commercially may require licensing depending on jurisdiction and use case. Consumer playback of HEVC is generally covered by device manufacturers' licenses.

Yes if you only change the container: <code>ffmpeg -i in.mkv -c copy out.mp4</code>. This remuxes the stream without re-encoding, takes seconds even for hours of footage. Limitations: codec must be supported by the target container (e.g. you cannot put H.264 in WebM, only VP8/VP9/AV1). To shrink size you must re-encode.

Professional Workstation Solution
Unlimited Batch Jobs Zero Upload Wait Times Direct Disk-to-Disk I/O

Need to Convert Gigabyte Archives or Mass Folders?

KaijuConverter delivers ultra-fast in-memory conversions for everyday tasks. For multi-gigabyte production workloads without browser bandwidth bottlenecks, explore high-throughput desktop suites.

Zero cloud transfer • Native hardware performance
24-Hour Fast Pass (€4.99 one-time) Up to 1 GB · No subscription

One-time payment with zero recurring commitment: convert files up to 1 GB, OCR, PDF/A, and .ZIP batches for 24 hours.

Instant Stripe Checkout →
7-Day Project Pass (€9.99 one-time) 7 Days · 2 GB · Ad-Free

Full 7 days of unlimited conversions, up to 2 GB per file, 100% ad-free with zero subscription.

Instant Stripe Checkout →
Kaiju Cloud Business Annual (€99/yr) Up to 2 GB + B2B Invoice

High-throughput enterprise pipeline for files up to 2,048 MB, 50-file batches, ISO PDF/A, and priority processing.

Instant Stripe Checkout →
ImageMagick CLI / XnConvert Free • Mass Batch

Convert thousands of camera RAW files (CR3, NEF, ARW) to WebP, AVIF, or TIFF in one pass.

Affinity Photo / Adobe Lightroom Photo Pro

GPU-accelerated RAW development with end-to-end 16-bit ICC color profile management.

Advertisement
We use cookies and similar technologies to personalise content and ads, and to analyse traffic. Learn more about cookies.