Record a video on your phone, download a clip, export something you edited — chances are it’s an MP4. It’s the closest thing video has to a universal format. But MP4 is also quietly more complicated than it looks, and understanding one key idea explains a lot of the weird “this video won’t play” problems people run into.
What an MP4 file is
MP4 (short for MPEG-4 Part 14) is a digital multimedia container. It holds video, audio, and often extras like subtitles and chapter information, all bundled into one file that plays on virtually everything — phones, computers, TVs, browsers, game consoles. That near-universal compatibility is why it became the default.
The idea that explains everything: container vs codec
Here’s the concept that clears up most MP4 confusion, and it’s genuinely useful to know. An MP4 is a container — think of it as a box. What matters just as much is the codec — the method used to compress the video and audio inside that box.
The container (MP4) defines how things are packaged together. The codec (with names like H.264, H.265/HEVC, or AV1 for video) defines how the actual picture is squeezed down to a sensible file size. So two files can both be MP4s but use completely different codecs inside. This matters because…
Why some MP4s won’t play
…a device can support the MP4 container but not the specific codec inside a particular file. This is the source of the maddening situation where one MP4 plays perfectly and another — same .mp4 extension — refuses to open or plays with no sound. The box is fine; your device just doesn’t know how to unpack that particular contents.
The usual culprit is a newer, more efficient codec (like H.265/HEVC or AV1) that an older device or player hasn’t learned to decode yet. The fix is usually to play it in a more capable player (VLC handles almost anything, which is why we recommend it in our guide to free software for a new PC) or to convert the file to a more widely supported codec.
Why compression matters so much for video
Raw, uncompressed video is enormous — far too big to store or stream. Codecs perform the near-magic of shrinking it dramatically while keeping it looking good, using clever tricks like storing only what changes between frames rather than every full frame. This is lossy compression — some detail is discarded to save space, unlike a ZIP file which loses nothing. For video, that trade-off is essential; without it, streaming and sharing video simply wouldn’t be practical.
The newer codecs and why they matter
Codec technology keeps improving, and each generation squeezes better quality into smaller files:
- H.264 (AVC) — the long-standing workhorse. Universally supported, which makes it the safe choice for compatibility.
- H.265 (HEVC) — roughly half the size for the same quality, but with patchier support and licensing complications.
- AV1 — a newer, royalty-free codec that’s very efficient and increasingly used by streaming services, though it needs modern hardware to decode smoothly.
If you’re editing or exporting video and want maximum compatibility, H.264 in an MP4 is the reliable default. If file size matters more and you know your devices support it, the newer codecs save a lot of space.
MP4 vs other video formats
You’ll see other containers too — MKV (very flexible, popular for high-quality files and multiple audio tracks), MOV (Apple’s format, common in video editing), and WebM (built for the web). MP4 wins on sheer compatibility: when in doubt, it’s the format most likely to just play everywhere.
The short version
- MP4 is a container that bundles video, audio, and extras into one widely compatible file.
- The codec inside (H.264, H.265, AV1) does the actual compression — container and codec are different things.
- An MP4 that won’t play usually has a codec your device doesn’t support; VLC or converting it fixes it.
- H.264 is the safe choice for compatibility; newer codecs save space if your devices support them.
MP4 earned its place as the default video format the honest way: by playing almost everywhere, almost every time. And now that you understand the container-versus-codec idea, the occasional stubborn video that won’t open makes sense too — it’s not the box that’s broken, just the contents your player didn’t recognise.