MP4, MOV, WEBM, MKV and AVI: video formats compared
A video "format" is really two things: a container (the file type, such as MP4) and the codecs inside it. Understanding that split explains why one MP4 plays everywhere and another does not.
- Published
- CategoryAudio & Video
- Reading time2 min read

Container vs codec
- The container is the wrapper: MP4, MOV, WEBM, MKV, AVI. It holds video, audio, subtitles and information such as duration.
- The codec is how the video and audio are compressed inside: H.264, H.265 (HEVC), VP9, AV1 for video; AAC, MP3, Opus for audio.
Playback depends on both. A device may open MP4 files in general but fail on one that contains a codec it does not support. That is why "convert to MP4" usually means "convert to MP4 with H.264 video and AAC audio", the most widely supported combination.
The common containers
| Container | Typical codecs | Strengths | Watch out for |
|---|---|---|---|
| MP4 | H.264, H.265, AV1; AAC | Plays almost everywhere; the safe default for sharing | HEVC inside MP4 is not supported on every device |
| MOV | H.264, HEVC, ProRes; AAC | Apple's format; common from iPhones and Mac editing | Can be large; some Windows and web tools handle it less smoothly |
| WEBM | VP8, VP9, AV1; Vorbis, Opus | Open, royalty-free, designed for the web | Less common in phone galleries and older editing software |
| MKV | Almost anything | Flexible: multiple audio tracks, subtitles, chapters | Not supported by many phones, social platforms or editors |
| AVI | Older codecs | Very old and widely recognised | Inefficient by modern standards; limited support for new codecs |
Older or specialist formats also exist: FLV (old Flash video), WMV (Windows Media), 3GP (early mobile phones), MPG/MPEG (DVD-era video) and TS (broadcast and streaming segments). Convert these to MP4 if you need them to play today.
Which format for which job
- Sharing with anyone: MP4 (H.264 + AAC).
- Embedding on a website: MP4 for compatibility; WEBM as an additional, often smaller, source if you serve both.
- Editing: keep the camera's original format; convert only if your editor cannot open it.
- Archiving: keep the original file as recorded. Every conversion re-encodes and loses some detail.
- Movies with several languages or subtitles: MKV keeps everything in one file, if your player supports it.
About newer codecs
H.265/HEVC and AV1 compress better than H.264 at similar quality, which matters for 4K and streaming. Support is growing but still uneven, especially on older devices and in some browsers. AV2, the successor to AV1, has a published specification but devices will take time to support it; see our news article on the AV2 codec release.
Converting with Convertios
The Video Converter runs on our server with FFmpeg and accepts files up to 50 MB. It can output MP4, WEBM, MOV, MKV, AVI, M4V, MPG, MPEG, FLV, WMV, 3GP, OGV and TS. MP4, MOV, MKV and M4V outputs use H.264 video with AAC audio; WEBM uses VP9 with Opus. If you need only the soundtrack, Video to MP3 extracts it as a 192 kbps MP3; see converting video to MP3.
Converting between containers does not improve quality. If the goal is a smaller file, read how to reduce video size first.
Published by Convertios.


