HEVC, also called H.265, is a video codec: the method used to compress the picture inside a video file. It makes files much smaller than the older H.264 at similar quality, which is why iPhones, many Android phones, GoPros and drones use it. The catch is that playing it needs hardware or software that understands HEVC, and many Windows PCs, older computers, TVs and websites don't have it, so you get an error, a black picture with sound, or a video that stutters.

The quick fixes

  • Watching on Windows? Install the HEVC Video Extensions from the Microsoft Store, or play the file in VLC.
  • Sending it to someone else? Convert it to H.264, which plays nearly everywhere.
  • Want your iPhone to stop recording HEVC? Choose Settings › Camera › Formats › Most Compatible. It only affects new videos, and they'll be bigger.

What HEVC actually is

HEVC stands for High Efficiency Video Coding. It was finalised in 2013 as the successor to H.264 (also called AVC), the codec almost every device has played since the late 2000s. "H.265" and "HEVC" are two names for the same thing.

HEVC compresses more cleverly than H.264. It can describe the picture in blocks of up to 64×64 pixels instead of 16×16, so large areas of sky or wall cost very little, and it has more ways to predict each block from what's around it and from earlier frames. In good conditions that means similar quality at roughly half the bitrate, though the real saving depends on the footage.

There are two costs:

  • Processing power. Decoding HEVC takes much more work than H.264, so devices rely on a dedicated chip to do it (hardware decoding). Without one, playback stutters or fails, especially at 4K.
  • Licensing. HEVC is covered by patents licensed through several groups. That's a big part of why support arrived slowly in browsers, and why on Windows it's a separate download.

HEVC is a codec, not a file type, so it can sit inside a .mov, .mp4 or .mkv file. The extension doesn't tell you what's inside: codecs and containers explained shows how to check.

Why your phone records it

On an iPhone, Settings › Camera › Formats has two choices:

  • High Efficiency: HEVC video and HEIC photos. This has been the default since iOS 11 in 2017.
  • Most Compatible: H.264 video and JPG photos. The files are noticeably bigger.

Some recording modes, such as 4K at 60 fps and 240 fps slow motion, only work with High Efficiency. Many Android phones have a similar switch in the camera app's settings, often labelled HEVC, H.265 or high efficiency video. GoPro files whose names start with GX are HEVC too.

Why it won't play, case by case

Windows 10 and 11

Windows plays HEVC only with Microsoft's HEVC Video Extensions installed. Many new PCs come with them already. Without them, Photos, Media Player and other built-in apps show an error, ask you to get the extension, or play the sound over a black picture.

To fix it, search for "HEVC Video Extensions" in the Microsoft Store app and install it. It's a small paid download. The extension leans on your graphics hardware, so on an older PC without HEVC decoding, playback may still stutter.

VLC (free) plays HEVC with its own built-in decoder, so it works without the extension.

Browsers

  • Safari on Mac, iPhone and iPad plays HEVC.
  • Chrome and Edge play it when the computer's graphics hardware can decode HEVC. On Windows, Edge may also need the HEVC Video Extensions.
  • Firefox added support more recently, and it also depends on the hardware and system.

So an HEVC clip can preview perfectly on one laptop and show a blank player on another, in the same browser. Web-based editors, upload previews and email previews are where this shows up most.

Older Macs

Macs have supported HEVC since macOS High Sierra (2017). Older Macs without hardware decoding can still play it, but 4K HEVC may stutter.

TVs, consoles, editors and websites

Recent smart TVs usually play HEVC, since it's widely used for 4K, but older TVs, media players, car screens and digital photo frames often don't. Some websites and apps convert HEVC uploads themselves; others reject them. Some older video editors import HEVC but play it back slowly.

How to convert HEVC to H.264

Converting means re-encoding, so it takes time and the file gets bigger. At a high quality setting you won't see a difference.

With HandBrake (Windows, Mac, Linux; free)

  1. Open HandBrake, choose Open Source and pick the video.
  2. Choose the Fast 1080p30 preset. It makes an H.264 MP4 with AAC sound.
  3. If the clip is 60 fps, open the Video tab and set Framerate to Same as source. Check that Video Encoder says H.264 (x264).
  4. Choose where to save the file at the bottom, then press Start Encode (Start on a Mac).

With FFmpeg

ffmpeg -i input.mov -c:v libx264 -crf 20 -preset medium -pix_fmt yuv420p -c:a aac -b:a 192k -movflags +faststart output.mp4
  • -crf 20 sets the quality: lower numbers mean better quality and bigger files. 18 to 23 is a sensible range.
  • -pix_fmt yuv420p keeps the standard 8-bit colour format. iPhone HDR clips are 10-bit, and without this FFmpeg would make 10-bit H.264, which many players can't handle.

HDR clips need extra care. A Dolby Vision HDR clip from an iPhone converted this way can look flat or washed out, because HDR colours need converting (tone mapping) to look right in ordinary video. Why iPhone HDR videos look washed out explains the options.

On a Mac

In QuickTime Player, choose File › Export As, pick a resolution, and choose H.264 as the format.

When copying from an iPhone to a PC

In Settings › Photos (Settings › Apps › Photos on recent iOS versions), the Transfer to Mac or PC option set to Automatic converts videos to a more compatible format as they're copied over a USB cable. Transferring iPhone videos to Windows covers the details.

When you're joining clips anyway

If you're putting several iPhone clips together, the join can do the conversion. ClipMerge saves the merged video as an H.264 MP4 in almost every browser, so it plays on Windows and Android. If your browser can't decode HEVC, it converts the clips on your device first, which takes longer.

Should you stop recording HEVC?

For most people, no. HEVC is a good recording format: files take up much less room on your phone, and quality is the same. Apple devices and most modern computers play it without a second thought.

The trouble comes only when the file leaves your own devices. So the practical approach is to keep High Efficiency on, and convert the occasional clip to H.264 when you need to send it somewhere that can't cope. Switch to Most Compatible only if you regularly hand files straight to older PCs or TVs and don't want the extra step. For how HEVC compares with H.264 and the newer AV1, see H.264 vs H.265 vs AV1.

Common questions

Does converting HEVC to H.264 lose quality? A little, as any re-encode does. At CRF 18 to 20 in FFmpeg, or HandBrake's default quality for its presets, it's very hard to see. Keep the original in case you need it later.

Why does the video play on my phone but not my laptop? Your phone has HEVC decoding hardware and the software to use it. The laptop is missing one or the other: the Windows extension, a browser that supports HEVC, or a graphics chip that can decode it.

My video plays sound but the picture is black. Is it HEVC? Very likely. Open it in VLC: if the picture appears there, the codec is the problem, and any of the fixes above will work.