MP4, Explained
iLoveConverter Team 3 min read
On this page
MP4 (MPEG-4 Part 14) is the most common video container format in the world. If you have ever downloaded a movie, watched a tutorial on YouTube, or recorded a clip on your phone, it was almost certainly in MP4. Introduced in 2001 as part of the MPEG-4 standard, it quickly eclipsed AVI, MOV, and WMV by being the first container that simultaneously supported modern compression, digital rights management, subtitles, chapter markers, and broad hardware decoding across every platform.
What’s inside an MP4
An MP4 file is a container. It holds compressed video, compressed audio, and metadata. The typical combination:
- Video: H.264 (AVC) or H.265 (HEVC) — the world’s most common video codecs
- Audio: AAC (Advanced Audio Coding) — lossy, high quality, universally supported
- Optional: Subtitles (SRT/TTML), chapter markers, cover art, DRM
MP4 uses the ISO Base Media File Format structure: nested “boxes” (or “atoms”) with four-character codes (moov, mdat, ftyp). The moov box is critical — it contains the file’s index. If it is written at the end of the file, you can’t play the video until it fully downloads.
Technical details
| Aspect | Details |
|---|---|
| Container structure | ISO BMFF (ISO/IEC 14496-12) |
| Codec support | Video: H.264, H.265, AV1, VP9; Audio: AAC, MP3, Opus |
| Metadata | Title, artist, album art, chapters, subtitles |
| Streaming | Yes — faststart moves moov box to front |
| DRM | FairPlay, PlayReady, Widevine (CMAF/DASH) |
| File extension | .mp4, .m4v, .m4a (audio-only variant) |
MP4 vs MKV vs WebM vs MOV
| Feature | MP4 | MKV | WebM | MOV |
|---|---|---|---|---|
| Device support | Universal | Broad (PC) | Broad (Web) | Apple ecosystem |
| Streaming | Excellent | Poor | Excellent | Good |
| Codec flexibility | Good | Excellent | Limited (VP8/VP9/AV1) | Good |
| Metadata support | Good | Excellent | Moderate | Good |
| Open standard | Yes | Yes | Yes | Yes (but Apple controls it) |
| Best for | Universal distribution | Archiving, high-bitrate | Web delivery | macOS/iOS workflows |
Conversion routes
- MP4 to MKV — lossless remuxing (copy video/audio streams without re-encoding) is nearly instant. Only the container changes.
- MP4 to WebM — typically requires re-encoding video to VP9 and audio to Opus. Higher compression, smaller files for the web.
- MP4 to MP3 — strip the video stream and re-encode audio to MP3. Audio-only extraction.
- MP4 to GIF — lossy conversion; use short clips and low frame rates to keep file sizes manageable.
Common problems
- Video plays only after full download — the
moovbox is at the end. Useqt-faststartor ffmpeg’s-movflags +faststartto move it to the front. - No audio after conversion — the source audio codec (like PCM or DTS) is not supported in the target container. Re-encode to AAC or MP3.
- DRM-protected MP4 — cannot be converted directly. You must strip DRM first (legally, of course).
- Corrupted MP4 — tools like
untruncor ffmpeg’s-recoverflag can often repair damagedmoovboxes.
FAQ
Why is MP4 the most popular video format?
It was the first format to combine excellent compression (H.264), cross-platform hardware decoding (from iPhones to Android to smart TVs), modern DRM, and a file extension that everyone recognizes. YouTube, TikTok, Netflix, and every social platform all use MP4 as their primary ingest format.
What’s the difference between MP4 and M4V?
M4V is an MP4 container used by Apple, with the .m4v extension. It is functionally identical except that M4V may include FairPlay DRM and Apple’s convention stores AAC audio differently. Most players treat them interchangeably.
Can MP4 contain lossless video?
Yes. MP4 supports lossless H.264 profiles and FFV1. For truly lossless high-bitrate archival, MKV is more common, but MP4 works fine.
Why can’t some old MP4s play on my new phone?
They likely use legacy codecs (like H.263 or MPEG-4 Part 2 video, MP3 audio) or encoding profiles that modern hardware decoders have dropped. Re-encoding to H.264 High Profile with AAC audio fixes compatibility across all modern devices.
Try it yourself — free, right in your browser
Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.
Format deep-dives: MP4 (.mp4) , MKV (.mkv) , WEBM (.webm) , MOV (.mov.qt)