Video
H.265 vs H.264: What Actually Changes
H.265 (HEVC) stores the same picture in fewer bits than H.264 (AVC). H.264 plays on more things. The standard’s developers cite around 50% savings. On our two test clips, at the same settings, H.265 saved 3% on calm footage and 30% on busy footage, and cost about 1.7 times the CPU time to encode.
So the choice is not “which is better”. It is whether the saving on your footage is worth the compatibility you give up. Everything below was measured on 2026-09-27 on a MacBook Pro with an Apple M2 Pro running macOS 27.0, using clips we generated from a Creative Commons photograph.
What is the difference between H.264 and H.265?
They are successive generations of the same idea, published by the same ITU-T and ISO groups a decade apart.
| H.264 | H.265 | |
|---|---|---|
| Also called | AVC, MPEG-4 Part 10 | HEVC |
| First approved by ITU-T | May 2003 | April 2013 |
| Basic coding block | 16 × 16 macroblock | Coding tree unit, up to 64 × 64 (x265’s default maximum) |
| Claimed saving | Baseline | Around 50% at equal subjective quality |
| Browser support, full | 97.26% of global usage | 16.94% (76.59% partial) |
| Windows playback | Built in | Store decoder, free OEM build or $0.99 |
The bigger blocks are most of the story. HEVC can describe a large flat area, like sky or a wall, as one unit instead of dozens, and it has more ways to predict a block from its neighbors and from other frames. The standard’s overview paper covers the full toolset. The 50% figure comes from the developers’ own subjective tests, published in IEEE TCSVT in December 2012, using reference encoders rather than the x264 and x265 builds people actually run.
How much smaller is H.265, really?
It depends on the footage, far more than most comparisons admit. We encoded two clips with x264 and x265 at the same CRF and preset, video only, and scored every file with VMAF, where 100 means indistinguishable from the original.
| Clip and setting | H.264 | H.265 | H.265 saving |
|---|---|---|---|
| Calm pan, CRF 28 | 1,050,171 B (VMAF 98.12) | 1,019,023 B (VMAF 98.19) | 3.0% |
| Busy pan, CRF 28 | 3,394,237 B (VMAF 99.05) | 2,380,623 B (VMAF 99.39) | 29.9% |
| Busy pan, CRF 26 | 4,589,376 B (VMAF 99.75) | 3,761,148 B (VMAF 99.69) | 18.0% |
On the busy clip at CRF 28, H.265 was smaller and scored higher. Against the H.264 file that came closest on quality, CRF 27 at VMAF 99.52, the H.265 file was 39.3% smaller. On the calm clip, the saving all but vanished.
Why so different? A slow pan across a still mountain scene is easy for both codecs. Most of each frame is predictable from the last one, and what is left is grain that neither can predict. There is little for HEVC’s extra tools to win. Fast motion and heavy detail are where the larger blocks and better prediction pay off. If your videos are mostly talking heads and screen recordings, expect the low end of that range. If they are handheld, sports or low-light, expect the high end.
Does H.265 take longer to encode?
In software, yes. x265 used 1.73 times the CPU time of x264 on the calm clip (28.4 against 16.4 CPU-seconds) and 1.76 times on the busy one (31.0 against 17.6). We report CPU time rather than wall-clock time because the test Mac was running other work. The ratio held on both clips.
In hardware the penalty disappears, and the comparison flips. Apple Silicon’s media engine encodes both codecs, and at the same 4,500 kbps target the hardware HEVC file scored VMAF 98.01 against 93.57 for hardware H.264. If you are using the hardware encoder for speed, pick HEVC.
# hardware encoders in ffmpeg; same bitrate, very different quality
ffmpeg -i in.mov -c:v hevc_videotoolbox -b:v 4500k -tag:v hvc1 out-hevc.mp4
ffmpeg -i in.mov -c:v h264_videotoolbox -b:v 4500k out-h264.mp4Either hardware encoder is still far less efficient than software per byte. Software x265 reached VMAF 98.19 on the same clip in about a quarter of the hardware file’s size. Our 4K guide measures that trade-off in detail.
Will an H.265 video play everywhere?
No, and this is the real cost. On caniuse’s data as of 27 September 2026, 97.26% of global browser usage fully supports H.264 video. For HEVC the figure is 16.94%, with another 76.59% marked partial. Chrome, Edge and Firefox all play HEVC only where the hardware and operating system provide a decoder, while Safari plays it everywhere.
On Windows, the decoder is a Microsoft Store item. The paid HEVC Video Extensions listing costs $0.99 and is rated 1.8 out of 5 from 3,725 ratings. A free build for devices whose manufacturer licensed the codec exists, but is not offered everywhere. It is the same gap that makes HEIC photos fail on Windows, because HEIC is an HEVC still.
On Apple devices it is a non-issue, with one trap. Apple says macOS High Sierra or later is needed to fully view and edit HEVC, and lists hardware HEVC decode among the M2 Pro’s media engine features. The trap is the tag: an HEVC MP4 that ffmpeg labels hev1, its default, was reported as not playable by AVFoundation in our test. The same encode labeled hvc1 played. Add -tag:v hvc1 to every HEVC export.
When is H.265 the wrong choice?
When you do not control playback. Email attachments, uploads to unknown systems, video on a public web page without an H.264 fallback. With H.264 at 97% full browser support against 17% for HEVC, that is not a close call. Our email guide recommends H.264 for exactly this reason.
When the footage is calm. A 3% saving is not worth any compatibility risk. Screen recordings, slideshows and locked-off interviews live at that end of the range.
When software encode time is the bottleneck. At 1.7 times the CPU cost, a big H.265 batch takes noticeably longer. Either accept it, or use the hardware HEVC encoder and accept larger files.
H.265 is the right choice for your own library on Apple devices, for 4K, and for busy footage you are storing rather than sending. That is where the 18 to 39% savings we measured on busy footage add up.
When is Smol not the answer?
If you only need one codec switch, you do not need an app. ffmpeg and HandBrake both encode both codecs for free. Smol’s default video output is H.265 at 10-bit through libx265, and it switches to H.264 through libx264 in settings. Pinned to the same CRF and preset, its output was bit-identical to ffmpeg’s in our tests, down to matching MD5 hashes, so there is no quality reason to choose it.
If you want hardware encoding, Smol cannot do it. It has no VideoToolbox option. Use ffmpeg’s hevc_videotoolbox or HandBrake’s VideoToolbox encoders.
Smol is worth $29 if you convert video often enough that remembering -tag:v hvc1, CRF values and presets is a chore: drop a folder, get tagged, correctly encoded files, with the photos and PDFs handled in the same pass. The batch comparison shows what that does and does not change, and the format reference lists what it reads and writes. Our main video guide covers the free routes for a single file.
Frequently asked questions
Is H.265 really 50% smaller than H.264?
Sometimes, not usually. The 50% figure comes from the developers’ subjective tests with reference encoders. With x264 and x265 at the same CRF and preset, H.265 was 3.0% smaller on a calm clip and 29.9% smaller on a busy one, and 39.3% smaller against the closest-quality H.264 file.
Is H.265 better quality than H.264?
At the same file size, usually yes. At the same settings it makes a smaller file at similar quality. On our busy clip at CRF 28, H.265 was 29.9% smaller and scored VMAF 99.39 against 99.05. On calm footage the difference was within a rounding error, so the benefit depends on what you film.
Why does my H.265 video not play?
Two common reasons. On Windows, HEVC needs a Microsoft Store decoder, $0.99 for the paid listing. On a Mac, an MP4 tagged hev1, which is ffmpeg’s default, was reported as not playable by AVFoundation in our test, while the same file tagged hvc1 played. Re-export with -tag:v hvc1.
Should I use H.265 or H.264 for sharing video?
H.264 when you do not control the player. caniuse counts 97.26% of global browser usage as fully supporting H.264, against 16.94% for HEVC. Use H.265 for your own library, for 4K, and for recipients you know are on recent Apple devices, where the smaller files cost nothing.
Is hardware H.265 encoding on a Mac any good?
It is fast, and much better than hardware H.264. At the same 4,500 kbps target, Apple’s hardware HEVC encoder scored VMAF 98.01 against 93.57 for hardware H.264. It is still less efficient than software: x265 reached a similar score in about a quarter of the size.
Keep reading