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.

General information

In many ways, derived containers are similar to those on which they are based, sometimes extending them, sometimes limiting their capabilities.

General information about video container formats
FormatFilename extensionOwner or creatorInitial releaseLicenseVBR audioVFRHardware playersStreamingMetadataChapters
Matroska.mkv, .mk3dCoreCodec2002-12Freely licensedYesYesYesYesYesYes
MPEG-4 Part 14 (MP4).mp4, .m4vMPEG2001-10Patent encumberedYesYesYesYesYesNot standard
QuickTime File Format (QTFF).mov, .qtApple Inc.1991-12ProprietaryYesYesYesYesYesYes
Advanced Systems Format (ASF).asf, .wmvMicrosoft1996-09Royalties on codecsYesYesYesYesYesYes
Audio Video Interleave (AVI).aviMicrosoft1992-11ProprietaryYesYesYesNoYesNeeds alterations
Material Exchange Format (MXF).mxfSMPTE2004-09Patent-freeYesYesNoYesYesNo
MPEG program stream (PS).m2p, .psMPEG1993-08Patent-freeYesYesYesNoNoNo
MPEG transport stream (TS).ts, .tsvMPEG1995-07Patent-freeYesYesYesYesNoNo
BDAV MPEG-2 transport stream (M2TS).m2ts, .mtsBDA2004-08Patent encumberedYesYesYesWith DVBNeeds multiple filesNeeds multiple files
Video Object (VOB).vobDVD Forum1996-11Patent encumberedYesYesYesNoNoNeeds multiple files
Enhanced VOB (EVO).evoDVD Forum2006-03Patent encumberedYesYesYesNoNoNeeds multiple files
3GPP (3GP).3gp3GPP2003-04Patent encumberedYesYesYesYesYesNo
3GPP2 (3G2).3g23GPP22004-01Patent encumberedYesYesYesYesYesNo
Flash Video (F4V).f4vAdobe Inc.2007-12Patent encumberedYesYesYesYesYesYes
Flash Video (FLV).flvAdobe Inc.2003-09ProprietaryYesYesYesWith RTMPYesYes
Ogg.ogv, .ogxXiph.Org2003-05Open sourceYesYesYesYesYesAs Vorbis comments
WebM.webmGoogle2010-05Royalty-freeYesYesYesYesYesYes
RealMedia Variable Bitrate (RMVB).rmvbRealNetworks2003ProprietaryYesYesYesYesYesNo
DivX Media Format (DMF).divxDivX, Inc.2005-06ProprietaryYesYesYesYesYesYes

Support level legend: Full Indirect, lossless Partial Depends on setup None

Some features are only supported by a few containers:

  • Attachments (additional files, such as fonts for subtitles) are only supported in Matroska, 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.
  • Digital 3D is only supported at the container format level in Matroska, MXF and WebM (some stereo modes). 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.

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.

Video coding formats support

Video container support for video coding formats
FormatTypeInitial releaseLicenseMKVMP4QTFFASFAVIMXFPS, TS3GP, 3G2
MPEG-H HEVC (H.265)Lossy or lossless2013-06Patent encumberedYesYesYesYesYesYesYesYes
MPEG-4 AVC (H.264)Lossy or lossless2004-08Patent encumberedYesYesYesYesYesYesYesYes
AV1Lossy or lossless2018-03Patent claimsYesYesNoNoNoNoPlannedNo
VP9Lossy or lossless2013-06Patent claimsYesYesNoYesYesNoNoNo
VP8Lossy or lossless2008-09Patent claimsYesYesNoYesYesNoNoNo
DiracLossy or lossless2008-03Patent-freeVCMNoYesNoNeeds DiracNoPrivateNo
MVCStereoscopic2009-05Patent encumberedYesNoNoNoNoNoNoYes
MPEG-1 VideoLossy1993-08Expired patentsYesYesYesYesYesYesYesNo
MPEG-2 VideoLossy1996-05Expired patentsYesYesYesYesYesYesYesNo
MPEG-4 VisualLossy1999-12Expired patentsYesYesFirst editionYesYesYesYesYes
Microsoft MPEG4 V2Lossy2003Patent encumbered, proprietaryYesNot standardNot standardYesYesNoNoNo
VC-1Lossy2006-02Patent encumberedVCMYesYesYesYesYesNoNo
H.263Lossy1996-03Patent encumberedNoYesYesYesYesNoNoYes
TheoraLossy2004-06Free licenseYesNoNoNoNeeds ffdshowNoNoNo
CinepakLossy1991ProprietaryYesNoYesNoYesNoNoNo
SorensonLossy1998-03ProprietaryYesNoVersions 1 and 3NoVersion 1NoNoNo
RealVideoLossy1997-02ProprietaryRV10, RV20, RV30, RV40RV60NoNoNot standardNoNoNo
VP6Lossy2003-05ProprietaryNoNoNoNoNeeds VP6NoNoNo
DVIntra-frame1995ProprietaryVCMDVCPRO HDDV 25YesYesYesNoNo
M-JPEGIntra-frame1994-05Expired patentsVCMYesYesYesYesNoNoNo
MJ2Intra-frame2003-12Patent encumberedNoYesNoNoNot standardYesNoNo
Apple ProResIntra-frame2007-04ProprietaryNoNoYesNoNoYesNoNo
HuffYUVLossless2000Open sourceVCMNoNoNoNeeds HuffYUVNoNoNo
YCbCrNot compressed1982Patent-freeYesSheerVideoYesYesYesYesNoNo
OtherOtherVariesDVC Pro 50, Photo JPEG, Graphics, QuickTime AnimationIndeoJPEG 2000, TICO

Support level legend: Full Indirect, lossless Partial Depends on setup None

Some containers only support a restricted set of video formats:

Audio coding formats support

Video container support for audio coding formats
FormatTypeInitial releaseLicenseMKVMP4QTFFASFAVIMXFPS, TS3GP3G2
AACLossy1997-12Royalties on codecsYesYesYesAAC-LC, HE-AACAAC-LC, HE-AACYesPrivateAAC-LC, HE-AACAAC-LC, HE-AAC v1
MP3Lossy1991-12Expired patentsYesYesMPEG-1 AudioYesYesYesYesNoNo
AC-3Lossy1991-02Expired patentsYesYesYesYesYesYesPrivateNoNo
E-AC-3Lossy2005-02Patent encumberedQuickTimeYesYesYesNoNoNoNoNo
DTSLossy1993-06ProprietaryYesYesNoYesYesNoPrivateNoNo
WMALossy1999-08ProprietaryACMNoNoYesYesNoNoNoNo
OpusLossy2012-09Royalty-freeYesYesYesYesYesNoYesNoNo
VorbisLossy2000-05Open sourceYesPrivateNoNoTrickyNoNoNoNo
MP2Lossy1991-12Patent-freeYesYesNoYesYesYesYesNoNo
MP1Lossy1991-12Expired patentsYesYesNoYesYesYesYesNoNo
QDesign Music 1 and 2Lossy1998ProprietaryQuickTimeNoYesNoNoNoNoNoNo
ATRAC3Lossy2000-09ProprietaryYesNoNoNoNoNoNoNoNo
FLACLossless2001-07Open sourceYesYesNoYesYesNoNoNoNo
ALACLossless2004-04Open sourceYesYesYesYesYesNoNoNoNo
WMA LosslessLossless2003-01ProprietaryACMNoNoYesYesNoNoNoNo
DTS-HDLossless2011-08ProprietaryYesYesYesNoNoNoNoNoNo
Dolby TrueHDLossless2006-04ProprietaryMatureYesNoNoNoNoNoNoNo
MLPLossless1999-03ProprietaryNoYesNoNoNoNoPrivateNoNo
ALSLossless2006-03Patent encumberedNoYesNoNoNoNoYesNoNo
SLSLossless2006-06Patent encumberedNoYesNoNoNoNoYesNoNo
LPCMNot compressed1979Patent-freeYesYesYesYesYesYesPrivateNoNo
A-law PCMNot compressed1972-12Expired patentsACMNoYesNoYesYesNoNoNo
μ-law PCMNot compressed1972-12Expired patentsACMNoYesYesYesNoNoNoNo
IEEE floating-point PCMNot compressed≥1985Patent-freeYesNoYesYesYesNoNoNoNo
Microsoft ADPCMNot compressed1992-05ProprietaryACMNoYesYesYesNoNoNoNo
DV AudioNot compressed1995ProprietaryNoYesYesNoNoYesNoNoNo
AMRSpeech1999-06Patent encumberedNoYesNoYesYesNoNoYesAMR-NB, AMR-WB
G.728Speech1992-09Expired patentsNoNoNoNoYesNoNoNoNo
SpeexSpeech2003-03Open sourceACMNoNoNoNoNoNoNoNo
QCELPSpeech1994ProprietaryNoNoYesYesNoNoNoNo13K
OtherOtherVariesMusepack, WavPack, TTA, any format supported by ACMIMA 4:1, non-IEEE floating-point PCM, integer PCMMicrosoft GSM 6.10G.721, G.722, G.723, G.726, G.729a, CVSD, ATRAC1, Dolby AC-2EVSEVRC, EVRC-B, EVRC-WB, SMV, VMR-WB
ObsoleteOtherVariesMACE 3:1, MACE 6:1Truespeech, many others

Support level legend: Full Indirect, lossless Partial Depends on setup None

Some containers only support a restricted set of audio formats:

Audio-only content can sometimes be placed in a simpler audio-only container, such as Native FLAC for FLAC and ADTS for AAC.

Subtitle formats support

Video container support for subtitle formats
FormatTypeInitial releaseLicenseMKVMP4QTFFASFAVIMXFPS, TS3GP, 3G2
SubRipFormatted text2000-03Open sourceYesAs TTXTAs TTXTAs SAMINeeds alterationsAs SMPTE-TTNoAs TTXT
WebVTTFormatted text2010-08Open sourceYesYesAs TTXTNoNoAs SMPTE-TTNoAs TTXT
ASS, SSAFormatted text1996Open sourceYesNoNoNoNeeds alterationsAs SMPTE-TTNoNo
TTXTXML2006-04Patent encumberedNoYesYesNoNoNoNoYes
USFXML2002-11ProprietaryPlannedNoNoNoNeeds alterationsNoNoNo
SAMIHTML1998-06ProprietaryNoNoNoYesNeeds alterationsAs SMPTE-TTNoNo
VobSubPicture2001Patent encumberedMatureYesNot standardNoNeeds alterationsNoNoNo
PGSPicture2006-03Patent encumberedMatureAs VobSubNoNoNoNoNoNo
DVB-SUBPicture1997-09Patent encumberedMatureNoNoNoNoYesYesNo
Ogg KatePicture or formatted text2008-03Open sourceMatureNoNoNoNoNoNoNo
TextSTText stream2006-03Patent encumberedBetaNoNoNoNoNoNoNo
MicroDVDPlain text2000-03ProprietaryNoNoNoNoNeeds alterationsNoNoNo
OtherOtherVariesGeneric bitmap images, generic plain textBIFSQuicktime SMIL, EIA-608, CTA-708XSUBSMPTE-TT, EBU-TTCTA-708

Support level legend: Full Indirect, lossless Partial, lossy Depends on setup None

Some containers only support a restricted set of subtitle formats:

  • DMF only supports XSUB.
  • EVO only supports HD DVD PGS.
  • F4V only supports TTXT. SubRip and WebVTT can be converted losslessly to TTXT.
  • FLV only supports loading subtitles with ActionScript, 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.
  • Ogg only supports Ogg Kate and CMML. SubRip can be converted losslessly to Ogg Kate. Ogg Writ is well supported in Ogg in common tools such as OGMtools and VLC, but there's no intention to turn its draft into a fully supported specification. Xiph recommends using Kate for subtitles. 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.
  • WebM only supports WebVTT. SubRip can be converted losslessly to WebVTT.

Converting image subtitles to text formats is possible using third-party tools 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, muxing overhead 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.

In general, Matroska requires the least overhead, followed by MP4, AVI and Ogg.

See also

Notes