Documentation

DocsVideoChoosing a codec and a container

Choosing a codec and a container

H.264, HEVC, AV1 and VP9 explained in plain words, and which one to pick for e-mail, phones, TV, the web or storage.

Applies to Web app Windows app

A video file has two parts. The container (MP4, MKV, MOV, WebM...) is the box. The codec (H.264, HEVC...) is how the picture inside is packed.

The four codecs #

CodecPlays onSizeSpeed to make
H.264EverythingBaselineFast
HEVCNewer phones, TVs, computersAbout a third smaller than H.264Slower
VP9Browsers, WebMSmaller than H.264Slow
AV1Newest devicesSmallestSlowest

What to pick #

  • Sending to someone - H.264 in MP4. It always plays.
  • Your own phone and a modern TV - HEVC saves space.
  • A web page - WebM with VP9, or MP4 with H.264.
  • A long-term archive - keep the original, or use HEVC with a High level.

Containers #

  • MP4 / M4V - the safe choice.
  • MKV - holds almost everything, including many sound tracks and subtitle types.
  • MOV - common in editing and on Apple devices.
  • WebM - for web pages.

Some containers cannot hold some things. When you choose a format that cannot carry a subtitle type, the Converter tells you it is left out and suggests MKV.

Copy or encode? #

If a codec already fits the new container, the Converter copies it: instant and without loss. Encoding takes time and changes the picture slightly. The tool always says which it does and why.

If a result will not play #

Use a device preset in the Converter. Presets choose codecs that phones, TVs and browsers play.

Was this page helpful?

One click, no account needed. We store your answer, not who you are.

Last updated 18 November 2026