ISO/IEC base media file format

ISO/IEC base media file format (ISO/IEC 14496-12 – MPEG-4 Part 12) defines a general structure for time-based multimedia files such as video and audio.[1][2] The identical text is published as ISO/IEC 15444-12 (JPEG 2000, Part 12).[3]

ISO/IEC base media file format
(MPEG-4 Part 12)
Developed byISO, IEC
Type of formatMedia container
Container forAudio, video, text, data
Extended fromQuickTime .mov
Extended toMP4, 3GP, 3G2, .mj2, .dvb, .dcf, .m21, .f4v
StandardISO/IEC 14496-12, ISO/IEC 15444-12
Websitehttps://www.iso.org/standard/68960.html

It is designed as a flexible, extensible format that facilitates interchange, management, editing and presentation of the media. The presentation may be local, or via a network or other stream delivery mechanism. The file format is designed to be independent of any particular network protocol while enabling support for them in general.[2] It is used as the basis for other media file formats (e.g. container formats MP4 and 3GP).

History

ISO/IEC base media file format is directly based on Apple’s QuickTime container format.[4][5][6][7][8] It was developed by MPEG (ISO/IEC JTC1/SC29/WG11). The first MP4 file format specification was created on the basis of the QuickTime format specification published in 2001.[9] The MP4 file format known as "version 1" was published in 2001 as ISO/IEC 14496-1:2001, as revision of the MPEG-4 Part 1: Systems.[10][11][12] In 2003, the first version of MP4 file format was revised and replaced by MPEG-4 Part 14: MP4 file format (ISO/IEC 14496-14:2003), commonly known as MPEG-4 file format "version 2".[13] The MP4 file format was generalized into the ISO/IEC Base Media File format (ISO/IEC 14496-12:2004 or ISO/IEC 15444-12:2004), which defines a general structure for time-based media files. It is used as the basis for other file formats in the family such as MP4, 3GP, Motion JPEG 2000).[4]

MPEG-4 Part 12 / JPEG 2000 Part 12 editions[14]
Edition Release date Latest amendment Standard Description
First edition 2004[2] ISO/IEC 14496-12:2004, ISO/IEC 15444-12:2004
Second edition 2005[15][16] 2008 ISO/IEC 14496-12:2005, ISO/IEC 15444-12:2005
Third edition 2008[1][17][18] 2009[19] ISO/IEC 14496-12:2008, ISO/IEC 15444-12:2008
Fourth edition 2012[20][21] ISO/IEC 14496-12:2012, ISO/IEC 15444-12:2012
Fifth edition 2015[22][23] ISO/IEC 14496-12:2015, ISO/IEC 15444-12:2015

In January 2017, ISO/IEC 15444-12 was withdrawn in favor of ISO/IEC 14496-12:2015.[23]

Extensions

Relations between ISO/IEC Base Media File Format, MP4 File Format, 3GPP file format and 3GPP2 file format. Based on the 3GPP2 technical specification published on 18 May 2007.[24]

The ISO/IEC base media file format is designed as extensible file format. List of all registered extensions for ISO/IEC Base Media File Format is published on the official registration authority website, www.mp4ra.org. 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.[5] Codec designers should register the codes they invent, but the registration is not mandatory[25] and some of invented and used code-points are not registered.[26] When someone is creating a new specification derived from the ISO/IEC base media file format, all the existing specifications should be used both as examples and 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.[5]

MPEG has standardized a number of specifications extending the ISO/IEC base media file format: The MP4 file format (ISO/IEC 14496-14) defined some extensions over ISO/IEC base media file format to support MPEG-4 visual/audio codecs and various MPEG-4 Systems features such as object descriptors and scene descriptions. The MPEG-4 Part 3 (MPEG-4 Audio) standard also defined storage of some audio compression formats. Storage of MPEG-1/2 Audio (MP3, MP2, MP1) in the ISO/IEC base media file format was defined in ISO/IEC 14496-3:2001/Amd 3:2005.[27] The Advanced Video Coding (AVC) file format (ISO/IEC 14496-15) defined support for H.264/MPEG-4 AVC video compression.[28] The High Efficiency Image File Format (HEIF) is an image container format using the ISO/IEC base media file format as the basis. While HEIF can be used with any image compression format, it specifically includes the support for HEVC intra-coded images and HEVC-coded image sequences taking advantage of inter-picture prediction.

Some of the above-mentioned MPEG standard extensions are used by other formats based on ISO/IEC base media file format (e.g. 3GP).[24] The 3GPP file format (.3gp) specification also defined extensions to support H.263 video, AMR-NB, AMR-WB, AMR-WB+ audio and 3GPP Timed Text in files based on the ISO/IEC base media file format.[29] The 3GPP2 file format (.3g2) defined extensions for usage of EVRC, SMV or 13K (QCELP) voice compression formats.[24] The JPEG 2000 specification (ISO/IEC 15444-3) defined usage of Motion JPEG 2000 video compression and uncompressed audio (PCM) in ISO/IEC base media file format (.mj2). The "DVB File Format" (.dvb) defined by DVB Project allowed storage of DVB services in the ISO/IEC base media file format. It allows the storage of audio, video and other content in any of three main ways: encapsulated in a MPEG transport stream, stored as a reception hint track; encapsulated in an RTP stream, stored as a reception hint track or stored directly as media tracks.[30][31] The MPEG-21 File Format (.m21, .mp21) defined the storage of an MPEG-21 Digital Item in ISO/IEC base media file format, with some or all of its ancillary data (such as movies, images or other non-XML data) within the same file.[32][33] The OMA DRM Content Format (.dcf) specification from Open Mobile Alliance defined the content format for DRM protected encrypted media objects and associated metadata.[34][35] There are also other extensions, such as ISMA ISMACryp specification for encrypted/protected audio and video,[36][37] G.719 audio compression specification,[38] AC3 and E-AC-3 audio compression,[39] DTS audio compression,[40] Dirac video compression,[41][42] VC-1 video compression specification and others, which are named on the MP4 Registration authority's website.[43]

There are some extensions over ISO/IEC base media file format, which were not registered by the MP4 Registration authority. Adobe Systems introduced in 2007 new F4V file format for Flash Video and declared that it is based on the ISO/IEC base media file format. The F4V file format was not registered by the MP4 registration authority, but the F4V technical specification is publicly available. This format can contain H.264 video compression and MP3 or AAC audio compression. In addition, F4V file format can contain data corresponding to the ActionScript Message Format and still frame of video data using image formats GIF, JPEG and PNG.[26][44][45] Microsoft Corporation announced in 2009 a file format based on the ISO/IEC base media file format — ISMV (Smooth Streaming format), also known as Protected Interoperable File Format (PIFF). As announced, this format can for example contain VC-1, WMA, H.264 and AAC compression formats.[46] Microsoft published a Protected Interoperable File Format (PIFF) specification in 2010. It defined another usage of multiple encryption and DRM systems in a single file container.[47][48] PIFF brand was registered by the MP4 registration authority in 2010. Some extensions used by this format (e.g. for WMA support) were not registered. Usage of WMA compression format in ISO/IEC base media file format was not publicly documented so it’s possible that they may be unsupported by some platforms.[49]

Technical details

ISO/IEC base media file format contains the timing, structure, and media information for timed sequences of media data, such as audio-visual presentations. The file structure is object-oriented. A file can be decomposed into basic objects very simply, and the structure of the objects is implied from their type.

Files conforming to the ISO/IEC base media file format are formed as a series of objects, called "boxes". All data is contained in boxes, and there is no other data within the file. This includes any initial signature required by the specific file format. The "box" is an object-oriented building block defined by a unique type identifier and length. It was called "atom" in some specifications (e.g. the first definition of MP4 file format).[1]

A presentation (motion sequence) may be contained in several files. All timing and framing (position and size) information must be in the ISO base media file, and the ancillary files may essentially use any format. They must be only capable of description by the metadata defined in ISO/IEC base media file format.[1]

File type box

In order to identify the specifications to which a file based on ISO/IEC base media file format complies, brands are used as identifiers in the file format. They are set in a box named file type box ("ftyp"), which must be placed in the beginning of the file. It is somewhat analogous to the so-called fourcc code, used for a similar purpose for media embedded in AVI container format.[50] A brand might indicate the type of encoding used, how the data of each encoding is stored, constraints and extensions that are applied to the file, the compatibility, or the intended usage of the file. Brands are a printable four-character codes. A file type box contains two kinds of brands. One is "major_brand", which identifies the specification of the best use for the file. It is followed by "minor_version", an informative 4-byte integer for the minor version of the major brand. The second kind of brand is "compatible_brands", which identifies multiple specifications to which the file complies. All files shall contain a file type box, but for compatibility reasons with an earlier version of the specification, files may be conformant to ISO/IEC base media file format and not contain a file type box. In that case they should be read as if they contained an ftyp with major and compatible brand "mp41" (MP4 v1 – ISO 14496-1, Chapter 13).[1] Many in-use brands (ftyps) are not registered and can be found on some webpages.[26]

A multimedia file structured upon ISO/IEC base media file format may be compatible with more than one concrete specification, and it is therefore not always possible to speak of a single "type" or "brand" for the file. In this regard, the utility of the Multipurpose Internet Mail Extension type and file name extension is somewhat reduced. In spite of that, when a derived specification is written, a new file extension will be used, a new MIME type and a new Macintosh file type.[1]

Streaming

The ISO/IEC base media file format supports streaming of media data over a network as well as local playback. A file that supports streaming includes information about the data units to stream (how to serve the elementary stream data in the file over streaming protocols). This information is placed in additional tracks of the file called "hint" tracks. Separate "hint" tracks for different protocols may be included within the same file. The media will play over all such protocols without making any additional copies or versions of the media data. Existing media can be easily made streamable for other specific protocols by the addition of appropriate hint tracks. The media data itself need not be reformatted in any way. The streams sent by the servers under the direction of the hint tracks, need contain no trace of file-specific information. When the presentation is played back locally (not streamed), the hint tracks may be ignored. Hint tracks may be created by an authoring tool or may be added to an existing file (presentation) by a hinting tool.[1] In media authored for progressive download the moov box, which contains the index of frames, should precede the movie data mdat box.[51]

gollark: Fact: abs are 103% three letters of the English alphabet.
gollark: How surprising.
gollark: Why?
gollark: I'd just parent them well instead of badly.
gollark: Only if I was negligent toward them.

References

  1. ISO/IEC (2008). "Information technology -- Coding of audio-visual objects -- Part 12: ISO/IEC base media file format; ISO/IEC 14496-12:2008" (PDF). International Organization for Standardization/International Electrotechnical Commission: 88, 94. Retrieved 2009-07-29. Cite journal requires |journal= (help)
  2. ISO/IEC (2004). "Information technology -- Coding of audio-visual objects -- Part 12: ISO/IEC base media file format; ISO/IEC 14496-12:2004". Retrieved 2017-10-19.
  3. ISO/IEC (2004). "Information technology -- JPEG 2000 image coding system -- Part 12: ISO/IEC base media file format; ISO/IEC 15444-12:2004". Retrieved 2017-10-19.
  4. mp4ra.org — MP4 Registration authority. "References, MPEG-4 Registration authority". Archived from the original on 2012-08-26. Retrieved 2009-07-29.
  5. ISO/IEC (April 2006). "ISO/IEC Base Media File Format white paper – Proposal". archive.org. Archived from the original on 2008-07-14. Retrieved 2009-12-26. Cite journal requires |journal= (help)
  6. ISO/IEC (October 2005). "MPEG-4 File Formats white paper – Proposal". archive.org. Archived from the original on 2008-01-15. Retrieved 2009-12-26. Cite journal requires |journal= (help)
  7. ISO/IEC (October 2009). "ISO/IEC Base Media File Format white paper – Proposal". chiariglione.org. Retrieved 2009-12-26. Cite journal requires |journal= (help)
  8. Library of Congress (2005-06-27). "ISO/IEC Base Media File Format". Retrieved 2009-07-29.
  9. Apple Inc. (2001). "Classic Version of the QuickTime File Format Specification". Retrieved 2009-07-29.
  10. Library of Congress (2001). "MPEG-4 File Format, Version 1". Retrieved 2009-07-29.
  11. Network Working Group (2006). "MIME Type Registration for MPEG-4". Retrieved 2009-07-29.
  12. International Organization for Standardization/International Electrotechnical Commission (2001). "MPEG-4 Part 1: Systems; ISO/IEC 14496-1:2001". Retrieved 2009-07-29.
  13. Library of Congress (2003). "MPEG-4 File Format, Version 2". Retrieved 2009-07-29.
  14. MPEG. "MPEG standards – Full list of standards developed or under development". chiariglione.org. Archived from the original on 2010-04-20. Retrieved 2009-10-31.
  15. ISO/IEC. "ISO/IEC 14496-12:2005 – Information technology -- Coding of audio-visual objects -- Part 12: ISO/IEC base media file format". ISO/IEC. Retrieved 2017-10-19.
  16. ISO/IEC. "ISO/IEC 15444-12:2005 – Information technology -- JPEG 2000 image coding system -- Part 12: ISO/IEC base media file format". ISO/IEC. Retrieved 2017-10-19.
  17. ISO. "ISO/IEC 14496-12:2008 – Information technology -- Coding of audio-visual objects -- Part 12: ISO/IEC base media file format". ISO. Retrieved 2017-10-19.
  18. ISO/IEC. "ISO/IEC 15444-12:2008 – Information technology -- JPEG 2000 image coding system -- Part 12: ISO/IEC base media file format". ISO/IEC. Retrieved 2017-10-19.
  19. ISO. "ISO/IEC 14496-12:2008/Amd 1:2009 – General improvements including hint tracks, metadata support and sample groups". Retrieved 2017-10-19.
  20. ISO (2012-07-11). "ISO/IEC 14496-12:2012 Information technology -- Coding of audio-visual objects -- Part 12: ISO/IEC base media file format". Retrieved 2017-10-19.
  21. ISO (2012-07-11). "ISO/IEC 15444-12:2012 Information technology -- JPEG 2000 image coding system -- Part 12: ISO/IEC base media file format". Retrieved 2017-10-19.
  22. ISO (2015-11-25). "ISO/IEC 14496-12:2015 Information technology -- Coding of audio-visual objects -- Part 12: ISO/IEC base media file format". Retrieved 2017-10-19.
  23. ISO (2015-11-25). "ISO/IEC 15444-12:2015 Information technology -- JPEG 2000 image coding system -- Part 12: ISO/IEC base media file format". Retrieved 2017-10-19.
  24. 3GPP2 (18 May 2007). "3GPP2 C.S0050-B Version 1.0, 3GPP2 File Formats for Multimedia Services" (PDF). 3GPP2: 67, 68. Archived from the original (PDF) on 7 October 2009. Retrieved 2009-07-29. Cite journal requires |journal= (help)
  25. Steven Greenberg (2009). "Registration of ftyp's". Retrieved 2009-07-29.
  26. Steven Greenberg (2009). "Complete List of all known MP4 / QuickTime 'ftyp' designations". Retrieved 2009-07-29.
  27. ISO/IEC (2005). "MPEG-1/2 audio in MPEG-4, ISO/IEC 14496-3:2001/Amd 3:2005". Retrieved 2009-10-12.
  28. International Organization for Standardization/International Electrotechnical Commission (2004). "Information technology -- Coding of audio-visual objects -- Part 15: Advanced Video Coding (AVC) file format; ISO/IEC 14496-15:2004". Retrieved 2009-07-29.
  29. ETSI 3GPP. "3GPP TS 26.244; Transparent end-to-end packet switched streaming service (PSS); 3GPP file format (3GP)". Retrieved 2009-07-29.
  30. ETSI (2008-11-18). "ETSI TS 102 833 V1.1.1 (2008-11); Digital Video Broadcasting (DVB); File Format Specification for the Storage and Playback of DVB Services". Retrieved 2009-08-07.
  31. DVB Project (June 2008). "DVB BlueBook A121 – File Format Specification for the Storage and Playback of DVB Services" (PDF). Retrieved 2009-08-07.
  32. ISO (April 2006). "MPEG-21 File Format white paper – Proposal". chiariglione.org. Retrieved 2009-08-14.
  33. ISO (April 2006). "MPEG-21 File Format white paper – Proposal". archive.org. Archived from the original on 2008-01-17. Retrieved 2009-12-28.
  34. Open Mobile Alliance (2008-07-23). "DRM Content Format 2.0.2" (PDF). Retrieved 2009-08-14.
  35. Open Mobile Alliance (2008-10-14). "DRM Content Format 2.1" (PDF). Retrieved 2009-08-14.
  36. ISMA (2007-11-15). "ISMA Encryption and Authentication, Version 2.0" (PDF). Archived from the original (PDF) on 2013-06-05. Retrieved 2009-08-14.
  37. ISMA (2009). "ISMA Technical Specifications". Archived from the original on 2009-09-10. Retrieved 2009-08-14.
  38. ITU-T (2009). "ITU-T Recommendation G.719". Retrieved 2009-08-14.
  39. ETSI (2008-08-20). "TS 102 366 – Digital Audio Compression (AC-3, Enhanced AC-3) Standard". Retrieved 2009-08-14.
  40. ETSI (2002-12-18). "TS 102 114 – DTS Coherent Acoustics; Core and Extensions – DTS specification". Retrieved 2009-08-14.
  41. Dirac Video Compression (2008-07-17). "ISOM/MP4 registrations complete". Retrieved 2009-08-08.
  42. BBC (2008-07-16). "Encapsulation of Dirac in ISO/IEC Base Media file format derivatives" (PDF). Retrieved 2009-08-08.
  43. mp4ra.org — MP4 Registration authority. "MP4 Registration Authority – Codecs". Archived from the original on 2004-08-28. Retrieved 2009-07-29.
  44. Adobe Systems Incorporated (18 May 2007). "Video File Format Specification, Version 10" (PDF). Adobe Systems Incorporated: 17–44. Archived from the original (PDF) on February 6, 2009. Retrieved 2009-08-03. Cite journal requires |journal= (help)
  45. Tinic Uro (October 31, 2007). "New File Extensions and MIME Types". Kaourantin.net. Archived from the original on July 6, 2010. Retrieved 2009-08-03. Cite journal requires |journal= (help)
  46. Microsoft Corporation (March 2009). "IIS Smooth Streaming Technical Overview" (PDF). Microsoft Corporation: 11–16. Archived from the original (PDF) on 2011-06-05. Retrieved 2009-08-04. Cite journal requires |journal= (help)
  47. Microsoft (9 Mar 2010). "The portable interoperable file format (PIFF), Version 10" (PDF). Microsoft: 1–32. Retrieved 2010-08-03. Cite journal requires |journal= (help)
  48. John Deutscher (2010-08-16). "About the Protected Interoperable File Format (PIFF)".
  49. Alex Zambelli (2009). "Smooth Streaming FAQ". Retrieved 2009-08-04.
  50. Steven Greenberg (2009). "What is an "ftyp", anyway?". Retrieved 2009-07-30.
  51. From Google I/O 2009 – Mastering the Android Media Framework on YouTube.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.