
Containers
MP4 came out of a committee and won anyway
The architecture came from QuickTime by way of the ISO process. The naming changed; the structure did not.
The file is not the format · Short
QuickTime wrote the blueprint; MPEG filed it under a new name; the web adopted it without asking anyone.
From Cupertino to committee room
Apple's QuickTime container predates the modern web. Introduced in 1991, it organized time-based media — video, audio, timecode — into a hierarchical structure of typed data chunks called atoms. When the Moving Picture Experts Group needed a container to accompany MPEG-4 video, they didn't start from scratch. Apple contributed the QuickTime architecture directly to the ISO standardization process, and MPEG-4 Part 12, ratified in 2004, formalized it as the ISO Base Media File Format. MP4 — technically MPEG-4 Part 14 — is a specific application of that base format, designating which codecs and structures are permitted inside.
The atom became the box. The naming changed; the architecture didn't. A valid MP4 file and a modern QuickTime file share so much of the same structural logic that tools built for one typically read the other without complaint.
Why the web settled here
MP4's victory on the web wasn't preordained. The AVI container had dominated the PC era, and Matroska offered more sophisticated track-handling. What MP4 had was institutional momentum: Apple's iTunes Store adopted it in 2003 for music and later for music videos and television content, then the iPod and iPhone carried it into hundreds of millions of pockets. When H.264 became the dominant video codec through the mid-2000s, it arrived packaged in MP4, and browser vendors standardizing HTML5 video found a container their target devices already decoded in hardware.
The container's structure also suited progressive download and streaming. The moov atom — the index that tells a player where everything is — can be moved to the front of the file, a practice called "fast start," allowing playback to begin before a download completes. That single structural choice made MP4 behave well over HTTP in a way that AVI simply could not.
What it holds and what it doesn't
MP4's codec permission list has grown considerably since 2004. H.264, AAC, H.265, AV1, and even Dolby codecs all have defined mappings into the container. What MP4 was never designed for is the kind of rich subtitle infrastructure or arbitrary attachment tracks that Matroska handles natively. It also carries royalty obligations through MPEG LA for certain uses, a constraint the Alliance for Open Media explicitly built against when designing the AV1 codec. MP4 won not by being the most capable container, but by being the one already in everyone's hardware when the decision effectively got made.

Chronology
Chronology
- 1991Apple introduces QuickTime and its atom-based file structure
- 2003iTunes Store launches, distributing AAC audio in MPEG-4 containers
- 2003–2004ISO publishes MPEG-4 Part 14 (MP4) and Part 12 (ISO Base Media File Format)
- mid-2000sH.264 + MP4 pairing becomes dominant; hardware decode spreads
- HTML5 erabrowser vendors standardize on MP4/H.264 for
<video>

How it works
How the structure works
- atom / boxQuickTime's term was "atom"; MPEG renamed it "box"; both describe a self-describing typed chunk of data
moovatomthe file's index; moving it to the front enables "fast start" playback over HTTP- ISO Base Media File Formatthe shared root from which MP4, QuickTime, HEIF and others all derive
- MPEG-4 Part 12 / Part 14Part 12 is the base format; Part 14 is the specific MP4 application of it