ISO base media file format explained

ISO base media file format
(MPEG-4 Part 12)
Owner:ISO, IEC
Type:Container format
Container For:Audio, video, text, data
Extended From:QuickTime File Format
Extended To:MP4, 3GP, 3G2, .mj2, .dvb, .dcf, .m21, .f4v, HEIF
Standard:ISO/IEC 14496-12
Latest Release Version:ISO/IEC 14496-12:2022
Open:No[1]
Free:No[2]

The ISO base media file format (ISOBMFF) is a container file format that defines a general structure for files that contain time-based multimedia data such as video and audio.[3] [4] It is standardized in ISO/IEC 14496-12, a.k.a. MPEG-4 Part 12, and was formerly also published as ISO/IEC 15444-12, a.k.a. JPEG 2000 Part 12.

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.

The format has become very widely used for media file storage and as the basis for various other media file formats (e.g. the MP4 and 3GP container formats), and its widespread use was recognized by a Technology & Engineering Emmy Award presented on 4 November 2021 by the National Academy of Television Arts and Sciences.[5] [6] [7]

History

The ISO base media file format is directly based on Apple's QuickTime container format.[8] [9] [10] [11] [12] It was developed by MPEG (in ISO/IEC JTC 1/SC 29, originally Working Group 11 MPEG, currently Working Group 3 MPEG Systems). The first MP4 file format specification was created on the basis of the QuickTime format specification published in 2001.[13] 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.[14] [15] [16] 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 known as MPEG-4 file format "version 2".[17]

The MP4 file format was generalized into the ISO 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, and Motion JPEG 2000).

Historically, the text was also published as ISO/IEC 15444-12 (JPEG 2000 Part 12), although the JPEG 2000 version of the standard was withdrawn in January 2017 since it was redundant with the MPEG-4 publication.[18]

MPEG-4 Part 12 / JPEG 2000 Part 12 editions
EditionRelease dateLatest amendmentStandardDescription
First edition2004ISO/IEC 14496-12:2004, ISO/IEC 15444-12:2004
Second edition2005[19] [20] 2008[21] ISO/IEC 14496-12:2005, ISO/IEC 15444-12:2005
Third edition2008[22] [23] 2009[24] ISO/IEC 14496-12:2008, ISO/IEC 15444-12:2008
Fourth edition2012[25] [26] 2015[27] ISO/IEC 14496-12:2012, ISO/IEC 15444-12:2012
Fifth edition2015[28] [29] 2018[30] ISO/IEC 14496-12:2015, ISO/IEC 15444-12:2015
Sixth edition2020[31] ISO/IEC 14496-12:2020
Seventh edition2022[32] ISO/IEC 14496-12:2022

Extensions

The ISO base media file format is designed as an extensible file format. A list of all registered extensions for the ISO 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. Codec designers should register the codes they invent, but the registration is not mandatory[33] and some of the invented and used code-points are not registered.[34] 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 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.

MPEG has standardized a number of specifications extending the ISO base media file format: The MP4 file format (ISO/IEC 14496-14) 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. 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 base media file format was defined in ISO/IEC 14496-3:2001/Amd 3:2005.[35] The Advanced Video Coding (AVC) file format (ISO/IEC 14496-15) defined support for H.264/MPEG-4 AVC video compression.[36] The High Efficiency Image File Format (HEIF) is an image container format using the ISO base media file format as the basis. While HEIF can be used with any image compression format, it specifically includes 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 base media file format (e.g., 3GP).[37] 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 base media file format.[38] The 3GPP2 file format (.3g2) defined extensions for usage of EVRC, SMV, or 13K (QCELP) voice compression formats. The JPEG 2000 specification (ISO/IEC 15444-3) defined usage of Motion JPEG 2000 video compression and uncompressed audio (PCM) in the ISO base media file format (.mj2). The "DVB File Format" (.dvb) defined by the DVB Project allowed storage of DVB services in the ISO 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.[39] [40] The MPEG-21 File Format (.m21, .mp21) defined the storage of an MPEG-21 Digital Item in the ISO 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.[41] [42] The OMA DRM Content Format (.dcf) specification from Open Mobile Alliance defined the content format for DRM protected encrypted media objects and associated metadata.[43] [44] There are also other extensions, such as ISMA ISMACryp specification for encrypted/protected audio and video,[45] [46] G.719 audio compression specification,[47] AC3 and E-AC-3 audio compression,[48] DTS audio compression,[49] Dirac video compression,[50] [51] VC-1 video compression specification and others, which are named on the MP4 Registration authority's website.[52]

There are some extensions of the ISO base media file format that were not registered by the MP4 Registration authority. Adobe Systems introduced the F4V file format for Flash Video in 2007 and said it is based on the ISO 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, the 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.[53] [54] Microsoft Corporation announced a file format based on the ISO base media file format in 2009 called 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.[55] 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.[56] [57] The 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 the WMA compression format in the ISO base media file format was not publicly documented.[58]

Technical details

The ISO base media file format includes 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 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 an "atom" in some specifications (e.g., the first definition of the MP4 file format).

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.

File type box

In order to identify the specifications to which a file based on the ISO base media file format complies, "brands" are used as identifiers in the file format. These 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.[59] 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 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 a major and compatible brand "mp41" (MP4 v1 – ISO 14496-1, Chapter 13). Some in-use brands (ftyps) are not registered and can be found on some webpages.

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.

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 to 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. In media authored for progressive download, the moov box, which contains the index of frames, should precede the movie data mdat box.[60]

External links

Notes and References

  1. Web site: MPEG-4 File Format, Version 2 .
  2. Library of Congress . Washington, D.C. . Sustainability of Digital Formats . Full draft . ISO Base Media File Format . 13 October 2021 . 27 February 2024.
  3. Web site: . Information technology – Coding of audio-visual objects – Part 12: ISO base media file format; ISO/IEC 14496-12:2008 . International Organization for Standardization/International Electrotechnical Commission . 2008 . PDF . 88, 94 . 2009-07-29 .
  4. Web site: Information technology – Coding of audio-visual objects – Part 12: ISO base media file format; ISO/IEC 14496-12:2004 . ISO/IEC . February 2004 . 2017-10-19 .
  5. Web site: ISO and IEC Experts Win Prestigious Emmy Award . 2021-02-01 . International Organization for Standardization.
  6. Web site: Another EMMY awarded to IEC and ISO expert group . 2021-11-05 . International Electrotechnical Commission.
  7. Web site: MPEG 133 Press release: MPEG Systems File Format Subgroup wins Technology & Engineering Emmy® Award . . 2021-01-15.
  8. Web site: References, MPEG-4 Registration authority . mp4ra.org – MP4 Registration authority . 2009-07-29 . https://web.archive.org/web/20120910081136/http://www.mp4ra.org/specs.html . 2012-09-10 . dead .
  9. Web site: . ISO Base Media File Format white paper – Proposal . April 2006 . dead . 2009-12-26 . https://web.archive.org/web/20080714101745/http://www.chiariglione.org/mpeg/technologies/mp04-ff/index.htm . 2008-07-14.
  10. Web site: . MPEG-4 File Formats white paper – Proposal . October 2005 . 2009-12-26 . https://web.archive.org/web/20080115035235/http://www.chiariglione.org/mpeg/technologies/mp04-ff/index.htm . 2008-01-15.
  11. Web site: . ISO Base Media File Format white paper – Proposal . chiariglione.org . October 2009 . 2009-12-26 .
  12. Web site: ISO Base Media File Format . Library of Congress . 2005-06-27 . 2009-07-29 .
  13. Web site: Classic Version of the QuickTime File Format Specification . Apple Inc. . 2001 . 2009-07-29.
  14. Web site: MPEG-4 File Format, Version 1 . Library of Congress . 2001 . 2009-07-29.
  15. Web site: MIME Type Registration for MPEG-4 . Network Working Group . 2006 . 2009-07-29.
  16. Web site: MPEG-4 Part 1: Systems; ISO/IEC 14496-1:2001 . International Organization for Standardization/International Electrotechnical Commission . 2001 . 2009-07-29.
  17. Web site: MPEG-4 File Format, Version 2 . Library of Congress . 2003 . 2009-07-29.
  18. Web site: Information technology – JPEG 2000 image coding system – Part 12: ISO base media file format; ISO/IEC 15444-12:2004 . ISO/IEC . 2004 . 2017-10-19 .
  19. Web site: ISO/IEC 14496-12:2005 – Information technology – Coding of audio-visual objects – Part 12: ISO base media file format . ISO/IEC . ISO/IEC . 2017-10-19.
  20. Web site: ISO/IEC 15444-12:2005 – Information technology – JPEG 2000 image coding system – Part 12: ISO base media file format . ISO/IEC . ISO/IEC . April 2005 . 2017-10-19.
  21. Web site: ISO/IEC 14496-12:2005/Amd 2:2008 – Hint track format for ALC/LCT and FLUTE transmission and multiple meta box support . ISO/IEC . February 2008 . 2022-05-05.
  22. Web site: ISO/IEC 14496-12:2008 – Information technology – Coding of audio-visual objects – Part 12: ISO base media file format . ISO/IEC . ISO . October 2008 . 2017-10-19.
  23. Web site: ISO/IEC 15444-12:2008 – Information technology – JPEG 2000 image coding system – Part 12: ISO base media file format . ISO/IEC . ISO/IEC . 2017-10-19.
  24. Web site: ISO/IEC 14496-12:2008/Amd 1:2009 – General improvements including hint tracks, metadata support and sample groups . ISO/IEC . November 2009 . 2017-10-19.
  25. Web site: ISO/IEC 14496-12:2012 Information technology – Coding of audio-visual objects – Part 12: ISO base media file format . ISO/IEC . 2012-07-11 . 2017-10-19.
  26. Web site: ISO/IEC 15444-12:2012 Information technology – JPEG 2000 image coding system – Part 12: ISO base media file format . ISO/IEC . 2012-07-11 . 2017-10-19.
  27. Web site: ISO/IEC 14496-12:2012/Amd 3:2015 – Font streams and other improvements to file format . ISO/IEC . April 2015 . 2022-05-05.
  28. Web site: ISO/IEC 14496-12:2015 Information technology – Coding of audio-visual objects – Part 12: ISO base media file format . ISO/IEC . December 2015 . 2017-10-19.
  29. Web site: ISO/IEC 15444-12:2015 Information technology – JPEG 2000 image coding system – Part 12: ISO base media file format . ISO/IEC . 2015-11-25 . 2017-10-19.
  30. Web site: ISO/IEC 14496-12:2015/Amd 2:2018 – Support for image file format . ISO/IEC . February 2018 . 2022-05-05.
  31. Web site: ISO/IEC 14496-12:2020 Information technology – Coding of audio-visual objects – Part 12: ISO base media file format . ISO/IEC . December 2020 . 2022-05-05.
  32. Web site: ISO/IEC 14496-12:2015 Information technology – Coding of audio-visual objects – Part 12: ISO base media file format . ISO/IEC . January 2022 . 2022-05-05.
  33. Web site: Registration of ftyp's . Steven Greenberg . 2009 . 2009-07-29.
  34. Web site: Complete List of all known MP4 / QuickTime 'ftyp' designations . Steven Greenberg . 2009 . 2009-07-29.
  35. Web site: MPEG-1/2 audio in MPEG-4, ISO/IEC 14496-3:2001/Amd 3:2005 . ISO/IEC . 2005 . 2009-10-12.
  36. Web site: Information technology – Coding of audio-visual objects – Part 15: Advanced Video Coding (AVC) file format; ISO/IEC 14496-15:2004 . International Organization for Standardization/International Electrotechnical Commission . 2004 . 2009-07-29.
  37. Web site: 3GPP2 . 3GPP2 C.S0050-B Version 1.0, 3GPP2 File Formats for Multimedia Services . 3GPP2 . 18 May 2007 . 67, 68 . 2009-07-29 . dead . https://web.archive.org/web/20091007071048/http://www.3gpp2.org/Public_html/specs/C.S0050-B_v1.0_070521.pdf . 7 October 2009.
  38. Web site: ETSI 3GPP. 3GPP TS 26.244; Transparent end-to-end packet switched streaming service (PSS); 3GPP file format (3GP). 2009-07-29.
  39. Web site: 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. 2009-08-07.
  40. Web site: DVB Project. June 2008. DVB BlueBook A121 – File Format Specification for the Storage and Playback of DVB Services. 2009-08-07.
  41. Web site: ISO. April 2006. MPEG-21 File Format white paper – Proposal. chiariglione.org. 2009-08-14.
  42. Web site: MPEG-21 File Format white paper – Proposal . ISO . April 2006 . 2009-12-28 . https://web.archive.org/web/20080117150836/http://www.chiariglione.org/mpeg/technologies/mp21-ff/index.htm . dead . 2008-01-17.
  43. Web site: Open Mobile Alliance. 2008-07-23. DRM Content Format 2.0.2. 2009-08-14.
  44. Web site: Open Mobile Alliance. 2008-10-14. DRM Content Format 2.1. 2009-08-14.
  45. Web site: ISMA. 2007-11-15. ISMA Encryption and Authentication, Version 2.0. https://web.archive.org/web/20130605224839/http://www.isma.tv/specs/ISMA_E%26Aspec2.0.pdf. 2013-06-05. 2009-08-14.
  46. Web site: ISMA. 2009. ISMA Technical Specifications. https://web.archive.org/web/20090910034756/http://www.isma.tv/spec-request.html. 2009-09-10. 2009-08-14.
  47. Web site: ITU-T. 2009. ITU-T Recommendation G.719. 2009-08-14.
  48. Web site: ETSI. 2008-08-20. TS 102 366 – Digital Audio Compression (AC-3, Enhanced AC-3) Standard. 2009-08-14.
  49. Web site: ETSI. 2002-12-18. TS 102 114 – DTS Coherent Acoustics; Core and Extensions – DTS specification. 2009-08-14.
  50. Web site: Dirac Video Compression. 2008-07-17. ISOM/MP4 registrations complete. 2009-08-08.
  51. Web site: BBC. 2008-07-16. Encapsulation of Dirac in ISO Base Media file format derivatives. 2009-08-08.
  52. Web site: MP4 Registration authority . MP4 Registration Authority – Codecs . 2021-09-08.
  53. Web site: Adobe Systems Incorporated . Video File Format Specification, Version 10 . Adobe Systems Incorporated . 18 May 2007 . 17–44 . 2009-08-03 . dead . https://web.archive.org/web/20090206025343/http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v10.pdf . February 6, 2009 .
  54. Web site: Kaourantin.net . October 31, 2007 . Tinic Uro . New File Extensions and MIME Types . 2009-08-03 . dead . https://web.archive.org/web/20100706004744/http://www.kaourantin.net/2007/10/new-file-extensions-and-mime-types.html . July 6, 2010 .
  55. Web site: Microsoft Corporation . IIS Smooth Streaming Technical Overview . Microsoft Corporation . March 2009 . 11–16 . 2009-08-04 . https://web.archive.org/web/20110605002108/http://download.microsoft.com/download/4/2/4/4247C3AA-7105-4764-A8F9-321CB6C765EB/IIS_Smooth_Streaming_Technical_Overview.pdf . 2011-06-05 . dead .
  56. Web site: Microsoft . The portable interoperable file format (PIFF), Version 10 . Microsoft . 9 Mar 2010 . PDF . 1–32 . 2010-08-03.
  57. Web site: About the Protected Interoperable File Format (PIFF) . John Deutscher . 2010-08-16.
  58. Web site: Smooth Streaming FAQ . Alex . Zambelli . 2009 . 2009-08-04.
  59. Web site: What is an "ftyp", anyway? . Steven Greenberg . 2009 . 2009-07-30.
  60. .