Blog · Nov 30, 2026 · Animdock Team

Video formats and codecs explained: MP4, MOV, WebM, MKV, H.264, HEVC, VP9 and AV1

Why does one video play everywhere and another does not? Containers vs codecs, which format to use for social media, editing and the web, and what bitrate and frame rate mean.

A video file is a container (MP4, MOV, WebM, MKV) that holds one or more streams: the picture, compressed with a video codec, and the sound, compressed with an audio codec. Whether a video plays depends on both. An MP4 with H.264 plays almost everywhere; an MP4 with HEVC may not.

Containers

ContainerTypical codecsGood for
MP4H.264 or HEVC + AACSocial media, phones, the web, sharing. The safe default.
MOVH.264, HEVC, ProRes + AACApple devices and editing in Final Cut or Premiere.
WebMVP9 or AV1 (VP8 for older files) + OpusWebsites; small files with good quality. Animdock templates also record WebM.
MKVAlmost anythingArchiving, many audio and subtitle tracks. Not accepted by most social apps.

Video codecs

Bitrate, resolution and frame rate

The size of a video is roughly bitrate × length. A 60-second clip at 8 Mbps is about 60 MB.

Quick picks

Convert and resize in your browser

Open Video Resizer & Compressor — free →