These tables compare features of multimedia container formats, most often used for storing or streaming digital video or digital audio content. To see which multimedia players support which container format, look at comparison of media players.
↑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.[4]
↑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.[5][6]
↑ 7.07.1Matroska is designed to store VBR and VFR content.[7]
↑License required from manufacturers or developers of codecs, but no license fees for the distribution of content.[21]
↑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.
↑ 16.016.1The 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.
↑Blu-ray adopts a specific file structure. Simple title metadata are stored in the /BMDV/index.bdmv file.
↑Blu-ray adopts a specific file structure. Chapters require a companion .mpls file in the /BDMV/PLAYLIST/ directory.
↑Blu-ray 3D adopts a specific file structure to encode stereoscopic video. MVC stereoscopic data is in .ssif files in the /BDMV/STREAM/SSIF/ directory and require a respective base .m2ts file.
↑ 22.022.1VOB adopts a specific file structure to encode DVD content. Chapters and menus require a companion .ifo file.
↑EVO adopts a specific file structure to encode HD DVD content. Chapters require companion .xpl file.[30]
Attachments (additional files, such as fonts for subtitles) are only supported in Matroska,[16]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.
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.
↑Adobe Flash Video File Format Specification,[34] p. 70, sec. E.4.3.2; p. 1. SWF File Format Specification,[35] Chapter 11: Sounds, pp. 177-192.
↑License required from manufacturers or developers of codecs, but no license fees for the distribution of content.[86]
↑ 3.03.1Setting dwSampleSize to 0 in the stream headers triggers VBR stream seeking[89] allowing VBR audio formats in AVI.[90]
↑Adobe Flash Video File Format Specification,[34] pp. 7-8, sec. 1.8.
↑ 5.05.1Matroska 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[94] many sources report trouble playing back the resulting files,[95] which are incompatible with existing Vorbis decoders for DirectShow and ACM, occasionally causing desynchronization when seeking.
↑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]
↑ 8.08.18.28.3VobSub, 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.
↑ 9.09.19.2Requires tools that are not officially related to the container format.[117]
Ogg only supports Ogg Kate and CMML.[lower-alpha 5]SubRip can be converted losslessly to Ogg Kate.[124] Ogg Writ[125] is well supported in Ogg in common tools such as OGMtools[102] 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.
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.
Overhead
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.
↑ 1.01.11.21.3Indicates 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]
↑ 3.03.1AVI 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]
↑Matroska Multimedia Container (Partial draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 19 August 2020. 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.
↑ 24.024.1Material Exchange Format (MXF) (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. 17 January 2012. Retrieved 21 July 2019.
↑ 26.026.1MPEG-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.
↑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.
↑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.
↑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.
↑ 76.076.1Apple 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
↑DVD-Video – MPEG differences (Specification). DVD Resources for Open Source Development. 2004. Retrieved 22 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.
↑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.
↑ 99.099.1Mirmira Dwarakanath, "μ-Law/A-law PCM CODEC", US patent 4404544A, 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.
↑"ADPCM Compression". SWF File Format Specification(PDF) (Specification). Version 10. Adobe, Inc. November 2008. pp. 213–215. Retrieved 28 July 2019.