Jump to content
Wikipedia The Free Encyclopedia

MP4 file format

From Wikipedia, the free encyclopedia
Digital format for storing video and audio
"MP4" redirects here. For other uses, see MP4 (disambiguation).
MP-4 Part 14
MPEG-4 Part 14 extends over ISO Base Media File Format (MPEG-4 Part 12).[1]
Filename extension
.mp4, .m4a, .m4p, .m4b, .m4r and .m4v[Note 1]
Internet media type
video/mp4
audio/mp4
Type code mpg4
Magic number p
Developed byInternational Organization for Standardization

International Electrotechnical Commission
Initial releaseOctober 2001; 24 years ago (2001-10)
Latest release
ISO/IEC 14496-14:2020
January 2020; 5 years ago (2020-01)
Type of formatContainer format
Container for Audio, video and text
Extended fromQuickTime File Format and MPEG-4 Part 12
Standard ISO/IEC 14496-14
Open format?No[2] [3]
Free format?No[2]

MP4 (formally MPEG-4 Part 14), is a digital multimedia container format most commonly used to store video and audio, but it can also be used to store other data such as subtitles and still images. Like most modern container formats, it allows streaming over the Internet. The only filename extension for MPEG-4 Part 14 files as defined by the specification is .mp4.

MPEG-4 Part 14 is a standard specified as a part of the MPEG-4 specifications, formally as ISO/IEC 14496-14:2003. Unlike the audio-only compression formats MP3 and MP2, MP4 is a container format that can hold various types of media from various codecs.[4] During the 2000s, portable media players were sometimes erroneously advertised as "MP4 players", even if they may play a different format like AMV video and not necessarily the MPEG-4 Part 14 format.

Data streams

[edit ]

Most kinds of data can be embedded in MPEG-4 Part 14 files through private 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),[5] but most of them are not widely supported by MP4 players. The widely supported codecs and additional data streams are (but many more are also supported, including audio like FLAC or TrueHD):[6] [7]

Other compression formats are less used: MPEG-2 and MPEG-1
Also MPEG-4 Part 3 audio objects, such as Audio Lossless Coding (ALS), Scalable Lossless Coding (SLS), MP3, MPEG-1 Audio Layer II (MP2), MPEG-1 Audio Layer I (MP1), CELP, HVXC (speech), TwinVQ, Text To Speech Interface (TTSI) and Structured Audio Orchestra Language (SAOL)
Other compression formats are less used: Apple Lossless, Free Lossless Audio Codec (added in late 2018), and Opus (added in late 2018) [9]
Nero Digital uses DVD Video subtitles in MP4 files

The moov 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).[10] [11] [12] [13]

Metadata

[edit ]

MP4 files can contain metadata as defined by the format standard, and in addition, can contain Extensible Metadata Platform (XMP) metadata.

Filename extensions

[edit ]

While the only filename 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 (MPEG-4 Audio) extension. This is especially true of unprotected content.
    • MPEG-4 files with audio streams encrypted by FairPlay digital rights management as were sold through the iTunes Store use the .m4p (MPEG-4 Protected) extension. iTunes Plus tracks that the iTunes Store currently sells are unencrypted and use .m4a accordingly.
    • Audiobook and podcast files, which also contain metadata including chapter markers, images, and hyperlinks, can use the extension .m4a, but more commonly use the .m4b (MPEG-4 Audiobook) extension.
    • The Apple iPhone uses MPEG-4 audio for its ringtones but uses the .m4r extension rather than the .m4a extension.
  • Raw MPEG-4 Visual bitstreams are named .m4v but this extension is also sometimes used for video in MP4 container format[14] or in the M4V container format.
  • Mobile phones used to use 3GP, 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 and smartphones record MP4 files using the .mp4 file extension, and some high end phones[which? ] can record in .raw. By the time that 4G technology was widespread, 3GP started to be phased out, and is now rarely seen.

History

[edit ]

MPEG-4 Part 14 is an instance of the more general ISO/IEC 14496-12:2004 (MPEG-4 Part 12: ISO base media file format), which is directly based upon the QuickTime File Format, which was published in 2001.[15] [16] [17] [18] [19] [20] 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.[21] 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.[22]

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).[23] [24] [25] 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.[26] [27] 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, and Motion JPEG 2000).[16] [28] [29]

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.[28] Codec designers should register the codes they invent, but registration is not mandatory,[30] and some invented and used code-points are not registered.[31] 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.[28]

See also

[edit ]

References

[edit ]
  1. ^ a b 3GPP2 (18 May 2007). "3GPP2 C.S0050-B Version 1.0, 3GPP2 File Formats for Multimedia Services" (PDF). Third Generation Partnership Project 2. pp. 67, 68. Archived from the original (PDF) on 7 October 2009. Retrieved 2009年06月12日.{{cite web}}: CS1 maint: numeric names: authors list (link)
  2. ^ a b MPEG-4 File Format, Version 2 (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 25 April 2023. Retrieved 23 February 2024.
  3. ^ Information technology – Coding of audio-visual objects – Part 14: MP4 file format (Standard) (3rd ed.). ISO. January 2020. ISO/IEC 14496-14:2020.
  4. ^ "MP3 vs MP4: Key Differences and Which to Choose for Your Needs". www.acethinker.com. Retrieved 2025年04月17日.
  5. ^ mp4ra.org - MP4 Registration authority, Registered Types - Codecs - ISO Code Points Archived 2019年08月23日 at the Wayback Machine, Retrieved on 2009年07月14日.
  6. ^ Chapman, Nigel; Chapman, Jenny (2004). Digital multimedia (2. ed.). Chichester [u.a.]: Wiley. ISBN 978-0-470-85890-5.
  7. ^ "The 'MP4' Registration Authority". mp4ra.org. Archived from the original on 2023年10月07日. Retrieved 2023年08月31日.
  8. ^ "AV1 Codec ISO Media File Format Binding". aomediacodec.github.io. Archived from the original on 2024年04月05日. Retrieved 2024年04月27日.
  9. ^ "Encapsulation of Opus in ISO Base Media File Format". 2018年08月28日. Archived from the original on 2019年01月06日. Retrieved 2019年01月05日.
  10. ^ JK (25 January 2013). "Das Moov Atom und wo es stehen sollte". JKdigital (in German). Archived from the original on 11 August 2020. Retrieved 11 August 2020.
  11. ^ "Fehlerhaft kopierte MP4-Datei reparieren" (in German). preamp.org. November 2013. Archived from the original on 2020年08月11日. Retrieved 2020年08月11日.
  12. ^ eZs3 media service (1 March 2011). "Checking Metadata or Moov Atom Location". www.ezs3.com. Archived from the original on 11 August 2020. Retrieved 11 August 2020.{{cite web}}: CS1 maint: numeric names: authors list (link)
  13. ^ Levkov, Maxim. "Understanding the MPEG-4 movie atom | Adobe Developer Connection". www.adobe.com. Adobe Developer Network. Archived from the original on 2021年01月30日. Retrieved 11 August 2020.
  14. ^ Doom9's Forum, MP4 FAQ Archived 2006年01月11日 at the Wayback Machine, Retrieved on 2009年07月15日
  15. ^ Apple Inc. (2001). "Classic Version of the QuickTime File Format Specification". Archived from the original on 2009年08月28日. Retrieved 2009年06月14日.
  16. ^ a b mp4ra.org - MP4 Registration authority. "References, MPEG-4 Registration authority". Archived from the original on 2018年08月19日. Retrieved 2018年08月29日.{{cite web}}: CS1 maint: numeric names: authors list (link)
  17. ^ "ISO Base Media File Format white paper - Proposal". Leonardo Chiariglione. International Organization for Standardization. April 2006. Archived from the original on 2008年07月14日. Retrieved 2009年12月26日.
  18. ^ "MPEG-4 File Formats white paper - Proposal". Leonardo Chiariglione. International Organization for Standardization. October 2005. Archived from the original on 2008年01月15日. Retrieved 2009年12月26日.
  19. ^ "ISO Base Media File Format white paper - Proposal". Leonardo Chiariglione. International Organization for Standardization. October 2009. Archived from the original on 2021年04月29日. Retrieved 2014年10月31日.
  20. ^ Apple Computer. "MPEG-4 Fact Sheet" (PDF). Archived from the original (PDF) on 2014年10月31日.
  21. ^ "RE: QT vs MPEG-4". Archived from the original on 2007年05月10日. Retrieved 2007年03月30日.
  22. ^ International Organization for Standardization (2003). "MPEG-4 Part 14: MP4 file format; ISO/IEC 14496-14:2003". Archived from the original on 2016年10月10日. Retrieved 2009年06月11日.
  23. ^ Library of Congress (2001). "MPEG-4 File Format, Version 1". Archived from the original on 2017年03月20日. Retrieved 2009年06月14日.
  24. ^ Y. Lim; D. Singer (2006). "MIME Type Registration for MPEG-4". RFC Editor. doi:10.17487/RFC4337. Archived from the original on 2021年05月06日. Retrieved 2009年06月14日.
  25. ^ International Organization for Standardization (2001). "MPEG-4 Part 1: Systems; ISO/IEC 14496-1:2001". Archived from the original on 2016年08月19日. Retrieved 2009年06月11日.
  26. ^ Library of Congress (2003). "MPEG-4 File Format, Version 2". Archived from the original on 2009年06月25日. Retrieved 2009年06月14日.
  27. ^ "MPEG-4 Systems General Issues". chiariglione.org. July 2001. Archived from the original on 2010年04月13日. Retrieved 2010年04月11日.
  28. ^ a b c "ISO/IEC 14496-12:2008, Information technology -- Coding of audio-visual objects -- Part 12: ISO base media file format". International Organization for Standardization. 2008. pp. 88, 94. Archived from the original (ZIP) on July 6, 2016. Retrieved 2009年05月30日.
  29. ^ International Organization for Standardization (2004). "MPEG-4 Part 12: ISO base media file format; ISO/IEC 14496-12:2004". Archived from the original on 2016年08月19日. Retrieved 2009年06月11日.
  30. ^ Greenberg, Steven (2009). "Registration of ftyp's". Archived from the original on 2009年10月24日. Retrieved 2009年06月15日.
  31. ^ Greenberg, Steven (2009). "Complete List of all known MP4 / QuickTime 'ftyp' designations". Archived from the original on 2018年01月21日. Retrieved 2009年06月15日.
[edit ]
Video
compression
ISO, IEC,
MPEG
ITU-T, VCEG
SMPTE
TrueMotion and AOMedia
Chinese Standard
  • AVS1 P2/AVS+(GB/T 20090.2/16)
  • AVS2 P2(GB/T 33475.2,GY/T 299.1)
    • HDR Vivid(GY/T 358)
  • AVS3 P2(GY/T 368)
Others
Audio
compression
ISO, IEC,
MPEG
ITU-T
IETF
3GPP
ETSI
Bluetooth SIG
Chinese Standard
Others
Image
compression
IEC, ISO, IETF,
W3C, ITU-T, JPEG
Others
Containers
ISO, IEC
ITU-T
IETF
SMPTE
Others
Collaborations
Methods
Lists
See Compression methods for techniques and Compression software for codecs
MPEG-1 Parts
MPEG-2 Parts
MPEG-4 Parts
MPEG-7 Parts
MPEG-21 Parts
MPEG-D Parts
MPEG-G Parts
MPEG-H Parts
MPEG-I Parts
MPEG-5 Parts
Other
1–9999
10000–19999
20000–29999
30000+

AltStyle によって変換されたページ (->オリジナル) /