MP4 is the most widely supported video format there is. Phones, computers, TVs, game consoles, video editors, social networks and every web browser play it. When a website or device asks for “a video file”, MP4 is the safe answer.
A container, not a codec
An MP4 file is a container: a box that holds separate streams of video, audio and sometimes subtitles, plus an index that lets players jump to any point. The streams themselves are compressed with codecs:
| Stream | Common codecs in MP4 | Plays everywhere? |
|---|---|---|
| Video | H.264 (AVC) | Yes |
| Video | HEVC (H.265) | Newer devices; Windows needs an add-on |
| Video | AV1, VP9 | Modern browsers and devices |
| Audio | AAC | Yes |
| Audio | MP3, Opus | Mostly |
This is why two MP4 files can behave differently: one with H.264 plays everywhere, while one with HEVC may show a black screen on an older PC. When people say “convert to MP4” for compatibility, they really mean MP4 with H.264 video and AAC audio.
Where MP4 came from
MP4 was standardised by the Moving Picture Experts Group in 2003, built on Apple’s QuickTime file structure. That shared ancestry is why MOV and MP4 files are so similar inside, and why converting between them is usually a quick copy rather than a full re-encode. .m4v and .m4a are Apple’s names for MP4 files holding video or only audio.
Fast start
An MP4’s index (the “moov” box) can sit at the start or the end of the file. If it’s at the end, a browser has to download the whole video before playing. Files prepared for the web put it at the start, called fast start, so playback begins immediately.
MP4 compared with other formats
- MOV: Apple’s QuickTime format. Nearly the same structure; common from iPhones and Macs.
- MKV: more flexible, holds almost any codec and unlimited tracks, but less widely supported by devices.
- WebM: open format for the web, using VP9 or AV1 with Opus; smaller files, less support outside browsers.
When to use MP4
Use MP4 with H.264 and AAC whenever you share or upload a video and want it to just work. Choose HEVC or AV1 inside MP4 when file size matters more than compatibility, such as for archiving 4K footage.