Skip to content

H.264 vs H.265 (HEVC)

Compare H.264 (AVC) and H.265 (HEVC) for file size, quality, compatibility, and when to pick each codec for sharing video.

By Petr Samokhin

Export dialogs list H.264, HEVC, AVC, and H.265 as separate options. They are two generations of the same idea: throw away data your eyes will not miss, then pack what remains efficiently.

What a video codec actually does

A codec (encoder/decoder pair) compresses raw frames into a bitstream. Container formats like MP4 and MOV hold that bitstream plus audio and metadata. Codec choice affects size and compatibility more than the container label on the file.

Three levers matter after codec selection:

LeverEffect
Resolution4K vs 1080p dominates size
Bitrate or CRFHigher quality = more bits
Content typeScreen text needs more data than a static talking head

Codec is the fourth major lever. Switching from H.264 to H.265 at the same resolution and similar visual quality often shrinks the file substantially.

Think of the codec as the language the video speaks. The container is the envelope. You can put the same language in different envelopes without re-translating the whole message.

H.264 in plain terms

H.264, also called AVC, has been the default for web, phones, and editors for years. Hardware decoders exist in virtually every laptop, TV, and browser stack shipped since the early 2010s.

Strengths:

  • Plays on old phones, projectors, and corporate laptops without extra software.
  • Fast to encode on modest hardware.
  • Well supported in editing tools and upload pipelines.

Tradeoff: at a given file size, H.264 preserves less fine detail than newer codecs, especially in high-motion 4K footage.

Editors and export presets still label it AVC or H.264 interchangeably. If a dropdown shows both, they refer to the same family.

H.265 (HEVC) in plain terms

H.265, marketed as HEVC (High Efficiency Video Coding), targets the same job as H.264 with better compression efficiency. More advanced prediction and larger coding blocks let the encoder keep quality at lower bitrates.

Strengths:

  • Smaller files at similar subjective quality.
  • Useful for archiving phone 4K clips or reducing upload time.

Tradeoffs:

  • Encoding is slower unless you have hardware acceleration.
  • Some older browsers, editors, and Android devices lack smooth HEVC decode.
  • Licensing history made adoption uneven on the web, though local playback is widely fine on modern desktops.

File size and quality compared

Rules of thumb (same resolution, similar visible quality):

ScenarioH.264H.265
1080p talking head, 5 min~80 to 120 MB~40 to 70 MB
1080p screen recording~150 to 300 MB~80 to 160 MB
4K outdoor actionVery largeLarge, but noticeably smaller

These are ranges, not guarantees. A high CRF H.264 file can beat a poorly tuned HEVC export. Always watch the output on the device your audience uses.

At low bitrates, H.265 often shows fewer blocky artifacts in gradients and shadows. At high bitrates, both look similar on a laptop screen.

Screen recordings with small UI text are a good A/B test. Export the same clip both ways at a fixed megabyte target and pause on a spreadsheet cell. HEVC sometimes keeps text sharper at half the size.

Compatibility and playback

Choose H.264 when:

  • The video goes to email, Slack, or a generic upload form.
  • You do not know the recipient’s hardware.
  • You need smooth scrubbing in an older NLE.

Choose H.265 when:

  • You control playback (your phone, your archive drive, your team on current Mac/PC hardware).
  • File size or bandwidth is the bottleneck.
  • You are storing camera originals long term and want fewer terabytes.

MP4 can hold either codec. The extension alone does not tell you which is inside. Check the file info panel or your encoder settings.

When to choose each codec

GoalStart here
Client review link with unknown devicesH.264 in MP4
Personal archive of family 4KH.265 if your TV and laptop decode it
Bug reproduction clip for a ticketH.264 720p for small size + wide play
Re-upload to a social platformOften re-encoded anyway; see optimize video for YouTube on Mac

If HEVC fails on a stakeholder laptop, re-export the same timeline to H.264 rather than debating codecs in the thread. For a direct conversion path, see convert HEVC to H.264 on Mac . For workflow details, see how to compress video on Mac or compress video without losing quality .

Converting MOV to MP4 does not automatically change the codec inside. See MOV vs MP4 differences before you batch convert.

Using GetCompress

GetCompress exports H.264 and HEVC locally from MOV, MP4, MKV, and other common inputs. Pick a quality preset, set a target file size when the upload cap is fixed, preview frames before export, and save presets per destination. No terminal commands and no upload to a remote server.

Buy GetCompress now for local media compression with reusable presets and no media upload.