MP4 Format Reference
By Sardar Ali Khan · Last updated 2026-05-03
Quick answer. MP4 (MPEG-4 Part 14) is a container format — a wrapper that holds video, audio, subtitles, and metadata streams. The quality of an MP4 file is determined by the codec inside it, not by the MP4 wrapper itself. The most common combination is H.264 video + AAC audio, which plays on every modern device and browser. Understanding this distinction is key to making sense of download quality options.
Container vs codec — the essential distinction
Confusion about MP4 quality almost always comes from conflating the container with the codec. Here's the breakdown:
- MP4 (.mp4) is the box. It tells the player how the file is structured and where each stream starts and ends.
- H.264, H.265, AV1, VP9 are the codecs — algorithms that compress and decompress the actual video data.
- AAC, MP3, Opus are the audio codecs inside the container.
Two MP4 files at "1080p" can look very different if one uses H.264 and the other uses AV1, even at the same resolution. The codec determines quality, file size, and compatibility.
Video codecs inside MP4 — comparison
| Codec | File size vs H.264 | Compatibility | Best for |
|---|---|---|---|
| H.264 (AVC) | Baseline | Universal — every browser, device, player | Default; share with anyone |
| H.265 (HEVC) | ~50–70% | Safari, hardware players; patchy browser support | Apple ecosystem, hardware decode |
| AV1 | ~40–60% | Chrome 70+, Firefox 67+, Edge, Safari 17+ | Smallest files, modern compatibility |
| VP9 | ~60–75% | Chrome/Firefox/Edge; Safari 14+ | YouTube-native; less common in MP4 containers |
Audio inside MP4
MP4 most commonly holds AAC audio. AAC (Advanced Audio Coding) is technically superior to MP3 at the same bitrate — it was designed as MP3's successor. The standard MP4 audio track is AAC at 128 kbps for most online video.
MP4 can also hold MP3, Opus, or AC-3 audio, but AAC is by far the most common and most widely supported combination.
File sizes by resolution (H.264 MP4)
| Resolution | Per 10 minutes | Per 1 hour |
|---|---|---|
| 480p | 30–80 MB | 180–480 MB |
| 720p | 80–200 MB | 480 MB–1.2 GB |
| 1080p | 150–400 MB | 900 MB–2.4 GB |
| 4K | 1.5–3 GB | 9–18 GB |
Ranges reflect variation by content type. Animation and static scenes compress well; fast-motion sports and detailed landscapes compress poorly.
MP4 vs WebM
YouTube serves higher-resolution content in WebM (VP9 or AV1 video + Opus audio) rather than MP4. WebM files are smaller for the same visual quality, but MP4 plays everywhere WebM doesn't.
When a converter offers "MP4 download," it's usually re-encoding from WebM to H.264 MP4 — a process that costs some visual quality (especially at 1080p and above). For the highest fidelity, download the native WebM and only convert to MP4 if compatibility requires it.
The YouTube to MP4 guide covers this trade-off in full, including resolution-specific recommendations.
MP4 compatibility by platform
| Platform | H.264 MP4 | H.265 MP4 | AV1 MP4 |
|---|---|---|---|
| Chrome / Edge (desktop) | Yes | No (software decode only) | Yes (Chrome 70+) |
| Firefox (desktop) | Yes | Yes (Windows hardware decode) | Yes (67+) |
| Safari (desktop) | Yes | Yes | Yes (17+) |
| iPhone / iPad | Yes | Yes | Yes (A17 hardware decode) |
| Android | Yes | Varies by device | Yes (Android 10+ with hardware) |
| Smart TVs / media players | Yes | Varies | Rare |
| VLC (all platforms) | Yes | Yes | Yes |
When to choose MP4
- You need the file to play on any device without configuration
- Sharing with someone whose device is unknown
- Uploading to platforms that require H.264 MP4 (many social platforms transcode, but start with MP4)
- Editing in software that has limited codec support
Frequently asked questions
Is MP4 and H.264 the same thing?
No. MP4 is a container (the wrapper). H.264 is a codec (the compression standard for the video inside). An MP4 file most commonly holds H.264 video + AAC audio, but it can also contain H.265, AV1, or even VP9. When someone says "MP4," they usually mean MP4 + H.264 + AAC, but it's worth checking.
Can MP4 files contain audio only?
Yes. An MP4 can contain AAC audio without any video stream. Apple uses .m4a as the extension for audio-only MP4 files, though the underlying format is identical. Most video players and music apps handle both .mp4 and .m4a.
Why does my MP4 not play on an older TV or media player?
Older devices often support H.264 MP4 but not H.265 (HEVC) or AV1 inside MP4. Check the codec of your file (VLC → Window → Media Information → Codec). If it's H.265 or AV1, re-encode to H.264 for maximum compatibility.
What is the difference between MP4 and WebM?
Both are container formats. MP4 typically holds H.264 video + AAC audio. WebM holds VP9 (or AV1) video + Opus audio. WebM is royalty-free and used natively by YouTube at higher resolutions. MP4/H.264 plays everywhere; WebM plays in Chrome, Firefox, and Edge natively, and in Safari since version 14.
What is the file size of a 1-hour MP4?
It depends heavily on resolution, frame rate, and codec settings. Rough estimates for H.264 MP4: 480p ~300–500 MB, 720p ~700 MB–1.2 GB, 1080p ~1.5–2.5 GB, 4K ~9–18 GB. AV1 at the same resolution is 40–50% of those sizes for similar visual quality.