iLoveConverter
Categories 11 categories
Video Container

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

AspectDetails
Container structureISO BMFF (ISO/IEC 14496-12)
Codec supportVideo: H.264, H.265, AV1, VP9; Audio: AAC, MP3, Opus
MetadataTitle, artist, album art, chapters, subtitles
StreamingYes — faststart moves moov box to front
DRMFairPlay, PlayReady, Widevine (CMAF/DASH)
File extension.mp4, .m4v, .m4a (audio-only variant)

MP4 vs MKV vs WebM vs MOV

FeatureMP4MKVWebMMOV
Device supportUniversalBroad (PC)Broad (Web)Apple ecosystem
StreamingExcellentPoorExcellentGood
Codec flexibilityGoodExcellentLimited (VP8/VP9/AV1)Good
Metadata supportGoodExcellentModerateGood
Open standardYesYesYesYes (but Apple controls it)
Best forUniversal distributionArchiving, high-bitrateWeb deliverymacOS/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 moov box is at the end. Use qt-faststart or ffmpeg’s -movflags +faststart to 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 untrunc or ffmpeg’s -recover flag can often repair damaged moov boxes.

FAQ

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)