Support level legend: Full Indirect, lossless Partial Depends on setup None
^Indicates if the container can be used for a container bitstream, for example, for use as an RTP payload format. Some technologies, such as WebRTC, do not use any container formats for streaming. Some use fragmented MP4 (fMP4) or MPEG-TS segment files, such as HLS and MPEG-DASH.[2]
^Also .mka for content that is primarily audio or .mks for subtitles only.[3]
^Although CoreCodec, Inc. holds the copyrights and trademarks for the Matroska specification, the specifications are open to everybody. The source code of the libraries developed by the Matroska team is licensed under the LGPL and BSD licenses.
^Anyone can use it or modify it for their own needs without paying any license or patents.[4][5]
^ abMatroska is designed to store VBR and VFR content.[6]
^License required from manufacturers or developers of codecs, but no license fees for the distribution of content.[18]
^ACM cannot handle VBR audio streams in AVI files. Thus, software using ACM to read audio from AVI files will not be able to handle VBR audio streams correctly, even though such files are compliant to the AVI file specification. This is a limitation of the ACM, not of the AVI file format.
^Although AVI is not designed for variable framerates, it is possible to use them without creating a non-standard file by using 0-byte chunks for skipped frames. However, it requires the framerate to be set to the least common multiple of all framerates used, and produces slight overhead compared to true VFR.
^ abThe following extensions are also often used for an MPEG program or a transport stream: .mpg, .mpeg, .mpv, .m1v; also .mpa, .mp3, .mp2, .mp1, .m2a or .m1a for audio-only content.
Some features are only supported by a few containers:
Attachments (additional files, such as fonts for subtitles) are only supported in Matroska,[41]MP4 and QTFF. M2TS supports attachments as multiple files in a specific file structure: fonts for subtitles are in .otf files in the /BDMV/AUXDATA/ directory.
Interactive menus are only supported in MP4, QTFF, M2TS, EVO and DMF. VOB supports interactive menus as multiple files in a specific file structure for encoding DVD content, requiring a companion .ifo file. Matroska has been planning to support interactive menus as part of a draft specification since 2004.[42]
Digital 3D is only supported at the container format level in Matroska,[41]MXF[43] and WebM (some stereo modes).[39]M2TS supports Digital 3D as multiple files in a specific file structure for encoding stereoscopic video: MVC stereoscopic data is in .ssif files in the /BDMV/STREAM/SSIF/ directory and require a respective base .m2ts file. Digital 3D in QTFF and ASF is possible, but not standard. MP4 only supports Digital 3D at the video format level.[44]
Some common multimedia file formats are not completely distinct container formats. Some are containers for specific audio and video coding formats, such as WebM, a subset of Matroska. Some are combinations of common container formats and audio and video coding profiles, such as AVCHD and DivX formats. Although sometimes compared to DivX products, Xvid is neither a container format nor a video format, it is a software library that encodes video using specific coding profiles of the common MPEG-4 ASP video format. Those types of restrictions are intended to simplify the construction of multimedia recorders and players.
Support level legend: Full Indirect, lossless Partial Depends on setup None
^License required from manufacturers or developers of codecs, but no license fees for the distribution of content.[85]
^ abSetting dwSampleSize to 0 in the stream headers triggers VBR stream seeking[88] allowing VBR audio formats in AVI.[89]
^ abMatroska can support some codecs privately when wrapped in a QuickTime data structure.[72]
^Vorbis is not officially supported in AVI. While it can technically be muxed into AVI using FFmpeg, Nandub and AVI-Mux GUI[93] many sources report trouble playing back the resulting files,[94] which are incompatible with existing Vorbis decoders for DirectShow and ACM, occasionally causing desynchronization when seeking.
Support level legend: Full Indirect, lossless Partial, lossy Depends on setup None
^AVI is not designed to embed subtitles, requiring changes to the format and third party tools such as DirectVobSub[105] and VLC.
^SMPTE standardized the format for text subtitles in MXF[106][107][108] without a reference software implementation, leaving it to independent developers.[109]
^SubRip can be converted losslessly to and from native subtitle formats of several containers, and this conversion is supported by many common tools.
^Requires tools that are not officially related to the container format.[109]
^TTXT is often called MPEG-4 Timed Text (MP4TT, MP4-TT) or 3GPP Timed Text (3GPP-TT, tx3g).
^ abcdVobSub, PGS, DVB-SUB and Ogg Kate are well supported by common tools such as MKVToolNix and VLC. The storage format is specified,[53] but the specification is not officially approved yet.
^ abHDMV PGS and TextST subtitles are used on HD DVD and Blu-ray.
^Requires tools that are not officially related to the container format.[116]
FLV only supports loading subtitles with ActionScript,[123] but this functionality may be restricted to the official Adobe Flash Player. WebVTT can be converted losslessly to ActionScript.
M2TS only supports Blu-ray PGS. VobSub can be partially converted to PGS using tools that are not officially related to the container format.[116]
Ogg only supports Ogg Kate and CMML.[f]SubRip can be converted losslessly to Ogg Kate.[124] Ogg Writ[125] is well supported in Ogg in common tools such as OGMtools[101] and VLC, but there's no intention to turn its draft into a fully supported specification. Xiph recommends using Kate for subtitles.[126]MicroDVD can be converted to Ogg Writ.
RMVB only supports RealText. SMIL can be partially converted to RealText.
VOB only supports VobSub. PGS can be partially converted to VobSub using tools that are not officially related to the container format.[116]
Converting image subtitles to text formats is possible using third-party tools[127] but relies on optical character recognition, which is not perfectly accurate and can at best extract basic formatting. Conversion of text to images is possible while preserving content and style. Round-trip format conversion between text formats may not be possible without losing some formatting features.
Multimedia containers interleave data in media streams to enable efficient playback using fewer computational resources, such as time spent reading from the storage drive, memory needed to buffer selected media streams, and time spent decoding when seeking to a different position in time. In this sense, muxingoverhead is the control information added by the container to carry interleaved streams. A smaller overhead results in a smaller file when carrying the same streams with the same data. Overhead is affected by the total number of packets and by the size of stream packet headers. In high bitrate encodings, the content payload is usually large enough to make the overhead data relatively insignificant, but in low bitrate encodings, the inefficiency of the overhead can significantly affect the resulting file size if the container uses large stream packet headers or a large number of packets.
^ abcdIndicates whether the standard is open or proprietary, patent-free or encumbered, whether royalty payments are required for streaming and codec implementation, and may indicate the availability of free tools for it.[1]
^ abAVI officially supports all codecs in the Media Foundation[48][47] which is an evolution of VCM and ACM, both of which are now obsolete. Some older codecs used to be officially supported,[49] and there are many known non-standard third-party extensions.[50]
^ abcdefghijkMatroska can support some codecs when wrapped in two specific Video for Windows data structures, VCM and ACM,[72] but support outside Windows may be limited.[72]
^Adobe Flash Video File Format Specification,[30] p. 72, sec. E.4.3.1; p. 1. SWF File Format Specification,[31] Chapter 14: Video, pp. 204-218.
^ abcXiph has standardized the support for codecs in Ogg,[32] but added support for more codecs afterwards.[79][33]
^Adobe Flash Video File Format Specification,[30] pp. 7-8, sec. 1.8.
^Adobe Flash Video File Format Specification,[30] p. 70, sec. E.4.3.2; p. 1. SWF File Format Specification,[31] Chapter 11: Sounds, pp. 177-192. SWF File Format Specification Version 10, ADPCM Compression.[100]
^Lhomme S, Vialle L, Bunkus M (2018). "Legal Aspect" (License). Roubaix, France: Matroska. Archived from the original on 2020-06-14. Retrieved 30 December 2020.
^Matroska Multimedia Container (Partial draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 19 August 2020. Retrieved 17 December 2021.
^"Matroska FAQ" (FAQ). Matroska. 2018. Archived from the original on 2020-06-14. Retrieved 17 December 2021.
^MPEG-4 File Format, Version 2 (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 2 March 2012. Retrieved 13 December 2021.
^QuickTime File Format (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 14 February 2013. Retrieved 21 July 2019.
^ASF (Advanced Systems Format) (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 6 April 2007. Retrieved 1 December 2021.
^AVI (Audio Video Interleaved) File Format (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 9 March 2016. Retrieved 21 July 2019.
^ abMaterial Exchange Format (MXF) (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 17 January 2012. Retrieved 21 July 2019.
^ abMPEG-2 Encoding Family (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 14 February 2012. Retrieved 13 December 2021. Licenses pertain to tools and not to streams or files per se.
^"Matching HD DVD chapter information to EVO file". Doom9's Forum (Forum message). 8 December 2007. Retrieved 1 December 2021. I figured these 4 files are needed to accomplish the task: the .xpl file where the chapter name and timestamp are located...
^Macromedia Flash FLV Video File Format (Partial draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 8 December 2011. Retrieved 1 December 2021.
^Gavrilov K (2017). "Stereoscopic Formats". sView (Guide). Archived from the original on 26 February 2021. Retrieved 26 July 2019.
^ abcde"Codecs". MP4RA – The MP4 Registration Authority – Official Registration Authority for the ISOBMFF family of standards (Registry). ISO. Retrieved 21 July 2019.
^MPEG-1 Video Coding (H.261) (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 1 December 2011. Retrieved 1 December 2021.
^ abMPEG-4, Visual Coding (Part 2) (H.263) (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 14 March 2011. Retrieved 1 December 2021.
^Windows Media 9 Video Codec; SMPTE VC-1 (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 26 May 2010. Retrieved 13 December 2021.
^MJPEG (Motion JPEG) Video Codec (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 10 March 2016. Retrieved 1 December 2021.
^Motion JPEG 2000 File Format (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 11 January 2012. Retrieved 1 December 2021.
^ abApple ProRes(PDF) (White Paper). Cupertino, CA: Apple, Inc. January 2020. pp. 5, 26. Archived(PDF) from the original on 1 November 2021. Retrieved 21 July 2019. With Final Cut Pro 10.3 or later, you can also export ProRes files inside an MXF metadata wrapper instead of exporting .mov files. ... A ProRes-encoded bitstream, typically in the form of a .mov file
^"HuffYUV". Codecs.com (Repository). Version 2.2.0. 4 May 2004. Retrieved 21 July 2019.
^"Ogg". VideoLAN Wiki (Guide). 30 October 2009. Retrieved 21 July 2019.
^Advanced Audio Coding (MPEG-4) (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 22 June 2010. Retrieved 1 December 2021.
^MP3 (MPEG Layer III Audio Encoding) (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 3 May 2017. Retrieved 1 December 2021.
^"Annex F: AC-3 and Enhanced AC-3 bit streams in the ISO Base Media File Format". Digital Audio Compression (AC-3, Enhanced AC-3) Standard(PDF) (Standard). Version 1.4.1 (2017-09). Valbonne, France: ETSI. 1 September 2017. ETSI TS 102 366. Retrieved 22 July 2019.
^WMA (Windows Media Audio) File Format (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 13 December 2016. Retrieved 1 December 2021.
^Ogg Vorbis Audio Format (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 19 February 2008. Retrieved 13 December 2021.
^ abcNoé A (26 August 2010). "AVI-Mux GUI" (Project). 1.17.8.3. Retrieved 21 July 2019.
^MPEG-1 and MPEG-2 Layer II Audio Encoding (Partial draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 17 May 2012. Retrieved 1 December 2021.
^Windows Media 9 Lossless Audio Codec (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 13 May 2010. Retrieved 1 December 2021.
^ abLinear Pulse Code Modulated Audio (LPCM) (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 19 February 2008. Retrieved 1 December 2021.
^ abUS patent 4404544A, Mirmira Dwarakanath, "μ-Law/A-law PCM CODEC", issued 13 September 1983, assigned to AT&T Corporation
^Speex Audio Codec, Version 1.2 (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 19 February 2008. Retrieved 1 December 2021.
^Bunkus M (25 February 2018). "Subtitles importation issue with an MP4 file". GitLab – MKVToolNix (Forum message). Retrieved 21 July 2019. Well, MPEG-4 Timed Text subtitles are standard for the MP4 container format, they just aren't supported in anything else out there. ...
^ abcOth V, Juhasz M (28 December 2013). "BDSup2Sub". GitHub (Project). Retrieved 4 August 2019.