Home / Guides / H.264 vs H.265 (HEVC): which codec should you use?

H.264 vs H.265 (HEVC): which codec should you use?

6 min readUpdated 2026-07-27

Almost every video you watch, send, or record today uses one of two codecs: H.264 or H.265. They sound like version numbers, and in a sense they are. H.265 is the newer design and the more efficient one, but H.264 is still the codec you reach for when you need a file to play everywhere. This guide is about how to choose between them without getting lost in the spec sheets.

What the names mean

H.264 and H.265 are video codecs, the methods used to encode and decode the moving picture. They also go by other names, which can make the topic sound more complicated than it is:

  • H.264 is also called AVC (Advanced Video Coding). It was finalized in 2003 and is the closest thing the industry has to a universal codec.
  • H.265 is also called HEVC (High Efficiency Video Coding). It was finalized in 2013 and was designed to deliver the same picture quality as H.264 at roughly half the bitrate.

Both are inside the H.26x family, maintained by the same standards body. HEVC is the successor, designed after a decade of learning from H.264 in the wild.

Why HEVC exists: the size advantage

The headline promise of HEVC is efficiency. It can produce a file that looks about as good as the H.264 version at around half the size, especially at higher resolutions. On 4K footage, where H.264 files balloon quickly, that saving is what makes HEVC attractive.

The exact ratio depends on the content. Talking-head and screen-recording footage compresses very efficiently under HEVC. High-motion footage with lots of fine detail, like sports or handheld camera work, closes the gap a bit. But across a wide range of typical clips, the smaller-file promise holds: HEVC at a given quality level usually beats H.264 on size.

That matters most where bandwidth or storage is tight. Streaming 4K over a modest connection, fitting a long video onto a phone, or keeping an archive small are all places HEVC earns its keep.

The catch: compatibility

If HEVC is more efficient, why is H.264 still the default for so many tools, including DivXpress? Because compatibility is a harder problem than efficiency.

H.264 is supported almost everywhere. Every modern browser, phone, smart TV, game console, and video editor released in the last decade can decode it. You hand someone an H.264 MP4 and it plays.

HEVC support is patchier. The biggest reasons are licensing and patents. HEVC is covered by a tangle of patents held by multiple pools, and the royalty terms were messy enough that several platform vendors, browsers in particular, declined to license and ship it. The practical result today:

  • Safari, Edge, and most native mobile hardware (recent iPhones, iPads, and Android devices) decode HEVC fine, often in hardware.
  • Chrome and Firefox on desktop may not decode HEVC at all, or only with extra steps, depending on the operating system.
  • Many web editors, social platforms, and older devices either reject HEVC or transcode it on their end, which can cause delays or quality loss.

So a file that plays on your phone might silently fail to play on a colleague’s laptop. For anything headed to a web page, an upload form, or another person whose setup you do not control, H.264 is still the safer bet.

What about AV1?

AV1 is the newer open codec from the Alliance for Open Media, designed to outdo HEVC on efficiency without the licensing pain. It is genuinely promising and is already used heavily for streaming on the web.

The tradeoff today is encode and decode cost. AV1 takes meaningfully more compute to encode and to play back than H.264, and full hardware decode is still spreading through older devices. For most people making everyday files, AV1 is not yet the default pick. It is the direction things are heading, not the answer to every job right now.

Which one should you actually use?

The decision rarely needs to be technical. It is mostly a question of where the file is going.

Situation Pick Why
Sharing with people whose devices you do not know H.264 Plays on virtually everything
Uploading to a website, form, or CMS H.264 Fewest “rejected file” surprises
Archiving large footage, especially 4K HEVC Cuts storage with little quality loss
You control playback, e.g. your own device or app HEVC Smaller files where you know it will play
You need maximum web compatibility and small size H.264, then trim and lower CRF Compatibility plus a smaller file via settings

If you are not sure, pick H.264. The compatibility you gain almost always outweighs the size you give up, and you can still make an H.264 file smaller by trimming, lowering the resolution, or raising the CRF.

How this maps to DivXpress

The DivXpress converter outputs H.264 inside an MP4 (or MOV) container, with AAC audio, because that combination is the most universally playable. The quality slider raises and lowers the CRF value behind the scenes, so you keep the compatibility of H.264 while still controlling the final size. For more on how CRF relates to bitrate and resolution, see the guide to how video compression works.

The short version

  • H.264 (AVC): older, slightly larger files, plays almost everywhere. The safe default.
  • H.265 (HEVC): newer, roughly half the size at the same quality, patchy support on the web.
  • AV1: the future-leaning open option, but heavy on compute and not yet universal.

Pick H.264 when the file has to just work. Pick HEVC when you know the destination supports it and you care about size. Either way, the compress-video tool lets you tune the size without uploading anything, since the encode runs on your own device.