MPEG-4 Part 14 is an instance of the more generalISO/IEC 14496-12:2004 (MPEG-4 Part 12:ISO base media file format), which is directly based upon theQuickTime File Format, which was published in 2001.[4][5][6][7][8][9] MPEG-4 Part 14 is essentially identical to the QuickTime File Format but formally specifies support for Initial Object Descriptors (IOD) and other MPEG features.[10] MPEG-4 Part 14 revises and completely replaces Clause 13 of ISO/IEC 14496-1 (MPEG-4 Part 1: Systems), in which the file format for MPEG-4 content was previously specified.[11]
The MPEG-4 file format, version 1, was published in 2001 as ISO/IEC 14496-1:2001, which is a revision of the MPEG-4 Part 1: Systems specification published in 1999 (ISO/IEC 14496-1:1999).[12][13][14] In 2003, the first version of the MP4 file format was revised and replaced by MPEG-4 Part 14: MP4 file format (ISO/IEC 14496-14:2003), commonly named as MPEG-4 file format version 2.[15][16] The MP4 file format was generalized into the ISO Base Media File format ISO/IEC 14496-12:2004, which defines a general structure for time-based media files. It in turn is used as the basis for other file formats in the family (for example, MP4,3GP, andMotion JPEG 2000).[5][17][18]
MP4 file format versions
Version
Release date
Standard
Description
Edition
1
2001
ISO/IEC 14496-1:2001
MPEG-4 Part 1: Systems
First
2
2003
ISO/IEC 14496-14:2003
MPEG-4 Part 14: MP4 file format
First
2
2018
ISO/IEC 14496-14:2018
MPEG-4 Part 14: MP4 file format
Second
2
2020
ISO/IEC 14496-14:2020
MPEG-4 Part 14: MP4 file format
Third
The MP4 file format defined some extensions over the ISO Base Media File Format to support MPEG-4 visual/audio codecs and various MPEG-4 Systems features such as object descriptors and scene descriptions. Some of these extensions are also used by other formats based on the ISO base media file format (e.g., 3GP).[1] A list of all registered extensions for ISO Base Media File Format is published on the official registration authority website. The registration authority for code-points (identifier values) in "MP4 Family" files is Apple Inc., and it is named in Annex D (informative) in MPEG-4 Part 12.[17] Codec designers should register the codes they invent, but registration is not mandatory,[19] and some invented and used code-points are not registered.[20] When someone is creating a new specification derived from the ISO Base Media File Format, all the existing specifications should be used both as examples and as a source of definitions and technology. If an existing specification already covers how a particular media type is stored in the file format (e.g., MPEG-4 audio or video in MP4), that definition should be used, and a new one should not be invented.[17]
While the onlyfilename extension defined by the standard is.mp4, various filename extensions are commonly used to indicate intended content:
MPEG-4 files with audio and video generally use the standard.mp4 extension.
Audio-only MPEG-4 files generally have a.m4a extension. This is especially true of unprotected content.
MPEG-4 files with audio streams encrypted byFairPlaydigital rights management as were sold through theiTunes Store use the.m4p extension.iTunes Plus tracks, that the iTunes Store currently sells, are unencrypted and use.m4a accordingly.
Audiobook andpodcast files, which also contain metadata including chapter markers, images, and hyperlinks, can use the extension.m4a, but more commonly use the.m4b extension.
The AppleiPhone uses MPEG-4 audio for its ringtones but uses the.m4r extension rather than the.m4a extension.
RawMPEG-4 Visual bitstreams are named.m4v but this extension is also sometimes used for video in MP4 container format[21] or in theM4V container format.
Mobile phones used to use3GP, an implementation of MPEG-4 Part 12 (a.k.a. MPEG-4/JPEG2000 ISO Base Media file format), similar to MP4. It uses.3gp and.3g2 extensions. These files also store non-MPEG-4 data (H.263,AMR,TX3G). In practice, most (if not all) low end phones and feature phones recorded in this format, as most (if not all) other mobile phones andsmartphones record MP4 files using the .mp4 file extension, and some high end phones[which?] can record in.raw. By the time that4G technology was widespread, 3GP started to be phased out, and is now rarely seen.
Most kinds of data can be embedded in MPEG-4 Part 14 files throughprivate streams. A separate hint track is used to include streaming information in the file. The registered codecs for MPEG-4 Part 12-based files are published on the website of MP4 Registration authority (mp4ra.org),[22] but most of them are not widely supported by MP4 players. The widely supportedcodecs and additional data streams are (but many more are also supported, including audio like FLAC orTrueHD):[23][24]
Themoov atom contains information about video resolution, frame rates, orientation, display characteristics, and more. It might be placed at the beginning or end of the file. In the latter case, the video file is not playable if the file is incomplete (truncated).[27][28][29][30]
^abMPEG-4 File Format, Version 2 (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 25 April 2023. Retrieved23 February 2024.