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.
Format | Filename extension | Owner or creator | Initial release | License |
VBR audio | VFR | Hardware players | Streaming |
Metadata |
Chapters | Interactive menus | 3D |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Matroska | .mkv, .mk3d |
CoreCodec |
2002-12 | Freely licensed |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Planned |
Yes |
MPEG-4 Part 14 (MP4) | .mp4, .m4v |
MPEG | 2001-10 | Patent encumbered |
Yes | Yes | Yes | Yes | Yes | Not standard |
Yes | Only at video format level |
QuickTime File Format (QTFF) | .mov, .qt | Apple Inc. | 1991-12 | Proprietary |
Yes | Yes | Yes | Yes | Yes | Yes | Yes | Not standard |
Advanced Systems Format (ASF) | .asf, .wmv |
Microsoft | 1996-09 | Royalties on codecs |
Yes | Yes | Yes | Yes |
Yes | Yes | No | Not standard |
Audio Video Interleave (AVI) | .avi | Microsoft | 1992-11 | Proprietary |
Yes |
Yes |
Yes | No | Yes | Needs alterations | No | No |
Material Exchange Format (MXF) | .mxf | SMPTE | 2004-09 | Template:No Y |
Yes | Yes | No | Yes |
Yes | No | No | Yes |
MPEG program stream (PS) | .m2p, .ps |
MPEG | 1993-08 | Template:No Y |
Yes | Yes |
Yes | No | No | No | No | No |
MPEG transport stream (TS) | .ts, .tsv |
MPEG | 1995-07 | Template:No Y |
Yes | Yes | Yes | Yes | No | No | No | No |
BDAV MPEG-2 transport stream (M2TS) | .m2ts, .mts | BDA | 2004-08 | Patent encumbered | Yes | Yes | Yes | With DVB |
Needs multiple files |
Needs multiple files |
Yes | Needs multiple files |
Video Object (VOB) | .vob | DVD Forum | 1996-11 | Patent encumbered | Yes | Yes | Yes | No | No | Needs multiple files |
Needs multiple files |
No |
Enhanced VOB (EVO) | .evo | DVD Forum | 2006-03 | Patent encumbered |
Yes | Yes | Yes | No | No | Needs multiple files |
Yes | No |
3GPP (3GP) | .3gp | 3GPP | 2003-04 | Patent encumbered | Yes | Yes | Yes | Yes |
Yes | No | No | No |
3GPP2 (3G2) | .3g2 | 3GPP2 | 2004-01 | Patent encumbered | Yes | Yes | Yes | Yes | Yes | No | No | No |
Flash Video (F4V) | .f4v |
Adobe Inc. | 2007-12 | Patent encumbered | Yes | Yes | Yes | Yes | Yes | Yes |
No | No |
Flash Video (FLV) | .flv | Adobe Inc. | 2003-09 | Proprietary |
Yes |
Yes | Yes | With RTMP | Yes | Yes |
No | No |
Ogg | .ogv, .ogx |
Xiph.Org | 2003-05 | Open source |
Yes | Yes | Yes | Yes |
Yes |
As Vorbis comments |
No | No |
WebM | .webm | 2010-05 | Royalty-free |
Yes | Yes | Yes | Yes | Yes |
Yes |
No |
Yes | |
RealMedia Variable Bitrate (RMVB) | .rmvb | RealNetworks | 2003 | Proprietary | Yes | Yes | Yes | Yes | Yes |
No | No | No |
DivX Media Format (DMF) | .divx | DivX, Inc. | 2005-06 | Proprietary | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No |
.mka
for content that is primarily audio or .mks
for subtitles only.[4]
.m4a
, .m4b
or .m4p
for audio-only content.
.wma
for audio-only content.
.mpg
, .mpeg
, .mpv
, .m1v
; also .mpa
, .mp3
, .mp2
, .mp1
, .m2a
or .m1a
for audio-only content.
.tsa
for audio-only content.
/BMDV/index.bdmv
file.
.mpls
file in the /BDMV/PLAYLIST/
directory.
.ssif
files in the /BDMV/STREAM/SSIF/
directory and require a respective base .m2ts
file.
.ifo
file.
.xpl
file.[30]
.f4a
, .f4b
and .f4p
for audio-only content.
.oga
, .ogg
or .opus
for audio-only content.[36][37]
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.
Format | Type | Initial release | License |
MKV | MP4 |
QTFF |
ASF |
AVI |
MXF | PS, TS |
M2TS | VOB | 3GP, 3G2 | F4V | FLV |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MPEG-H HEVC (H.265) | Lossy or lossless | 2013-06 | Patent encumbered |
Yes |
Yes | Yes |
Yes | Yes | Yes |
Yes | No | No | Yes | No | No |
MPEG-4 AVC (H.264) | Lossy or lossless | 2004-08 | Patent encumbered |
Yes | Yes | Yes | Yes | Yes |
Yes | Yes |
Yes | No | Yes | Yes | Not standard |
AV1 | Lossy or lossless | 2018-03 | Patent claims | Beta|software release life cycle#Beta|Beta |
Yes | No | No | No | No | Planned | No | No | No | No | No |
VP9 | Lossy or lossless | 2013-06 | Patent claims | Yes | Yes | No | Yes | Yes | No | No | No | No | No | No | No |
VP8 | Lossy or lossless | 2008-09 | Patent claims | Yes | Yes | No | Yes | Yes | No | No | No | No | No | No | No |
Dirac | Lossy or lossless | 2008-03 | Template:No Y |
VCM |
No | Yes | No | Needs Dirac |
No | Private | No | No | No | No | No |
MVC | Stereoscopic | 2009-05 | Patent encumbered | Yes |
No | No | No | No | No |
No | No | No | Yes | No | No |
MPEG-1 Video | Lossy | 1993-08 | Template:No Y |
Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No | No |
MPEG-2 Video | Lossy | 1996-05 | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | No | No | |
MPEG-4 Visual | Lossy | 1999-12 | Patent encumbered |
Yes | Yes | First edition | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes |
Microsoft MPEG4 V2 | Lossy | 2003 | Patent encumbered, proprietary | Yes | Not standard | Not standard | Yes | Yes | No | No | No | No | No | No | No |
VC-1 | Lossy | 2006-02 | Patent encumbered |
VCM |
Yes |
Yes | Yes | Yes | Yes | No | Yes | No | No | No | No |
H.263 | Lossy | 1996-03 | Patent encumbered |
No | Yes | Yes | Yes | Yes | No | No | No | No | Yes | Yes | No |
Theora | Lossy | 2004-06 | Free license |
Yes | No | No | No | Needs ffdshow | No | No | No | No | No | No | No |
Cinepak | Lossy | 1991 | Proprietary | Yes | No | Yes | No | Yes | No | No | No | No | No | No | No |
Sorenson | Lossy | 1998-03 | Proprietary | Yes | No | Versions 1 and 3 | No | Version 1 | No | No | No | No | No | No | Spark |
RealVideo | Lossy | 1997-02 | Proprietary | RV10, RV20, RV30, RV40 | RV60 | No | No | Not standard | No | No | No | No | No | No | No |
VP6 | Lossy | 2003-05 | Proprietary | No | No | No | No | Needs VP6 |
No | No | No | No | No | No | Yes |
DV | Intra-frame | 1995 | Proprietary | VCM |
DVCPRO HD | DV 25 | Yes | Yes | Yes |
No | No | No | No | No | No |
M-JPEG | Intra-frame | 1994-05 | Template:No Y |
VCM |
Yes | Yes | Yes | Yes | No | No | No | No | No | No | No |
JPEG 2000 | Intra-frame | 2000 | Template:No Y |
No | Yes | No | No | Not standard | Yes | No | No | No | No | No | No |
Apple ProRes | Intra-frame | 2007-04 | Proprietary | No | No | Yes |
No | No | Yes |
No | No | No | No | No | No |
HuffYUV | Lossless | 2000 | Open source | VCM |
No | No | No | Needs HuffYUV |
No | No | No | No | No | No | No |
YCbCr |
Not compressed | 1982 | Yes | SheerVideo | Yes | Yes | Yes | Yes |
No | No | No | No | No | No | |
Other | Other | — | Varies | — | — | DVC Pro 50, Photo JPEG, Graphics, QuickTime Animation | — | Indeo | — | JPEG 2000, TICO | — | — | — | — | Screen Video |
Some containers only support a restricted set of video formats:
Format | Type | Initial release | License |
MKV | MP4 |
QTFF |
ASF |
AVI |
MXF | PS, TS |
M2TS | VOB |
3GP | 3G2 | F4V | FLV |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AAC | Lossy | 1997-12 | Royalties on codecs |
Yes | Yes | Yes | AAC-LC, HE-AAC[87] | AAC-LC, HE-AAC |
Yes | Private | No | No | AAC-LC, HE-AAC | AAC-LC, HE-AAC v1 | Yes |
Yes |
MP3 | Lossy | 1991-12 | Template:No Y |
Yes | Yes | MPEG-1 Audio | Yes | Yes |
Yes | Yes | No | No | No | No | Yes | Yes |
AC-3 | Lossy | 1991-02 | Yes | Yes |
Yes | Yes | Yes | Yes | Private | Yes | Private | No | No | No | No | |
E-AC-3 | Lossy | 2005-02 | Patent encumbered | QuickTime |
Yes | Yes | Yes | No | No | No | Yes | No | No | No | No | No |
DTS | Lossy | 1993-06 | Proprietary | Yes | Yes | No | Yes | Yes | No | Private | Yes | Private | No | No | No | No |
WMA | Lossy | 1999-08 | Proprietary |
ACM |
No | No | Yes | Yes | No | No | No | No | No | No | No | No |
Opus | Lossy | 2012-09 | Royalty-free | Yes | Yes | Yes | Yes | Yes | No | Yes | No | No | No | No | No | No |
Vorbis | Lossy | 2000-05 | Open source[93] | Yes | Private | No | No | Tricky |
No | No | No | No | No | No | No | No |
MP2 | Lossy | 1991-12 | Template:No Y |
Yes | Yes | No | Yes | Yes | Yes | Yes | No | Yes | No | No | No | No |
MP1 | Lossy | 1991-12 | Yes | Yes | No | Yes | Yes | Yes | Yes | No | No | No | No | No | No | |
QDesign Music 1 and 2 | Lossy | 1998 | Proprietary | QuickTime |
No | Yes | No | No | No | No | No | No | No | No | No | No |
ATRAC3 | Lossy | 2000-09 | Proprietary | Yes | No | No | No | No | No | No | No | No | No | No | No | No |
FLAC | Lossless | 2001-07 | Open source | Yes | Yes | No | Yes | Yes | No | No | No | No | No | No | No | No |
ALAC | Lossless | 2004-04 | Open source | Yes | Yes | Yes | Yes | Yes | No | No | No | No | No | No | No | No |
WMA Lossless | Lossless | 2003-01 | Proprietary |
ACM |
No | No | Yes | Yes | No | No | No | No | No | No | No | No |
DTS-HD | Lossless | 2011-08 | Proprietary | Yes | Yes |
Yes | No | No | No | No | Yes | No | No | No | No | No |
Dolby TrueHD | Lossless | 2006-04 | Proprietary | Mature |
Yes | No | No | No | No | No | Yes | No | No | No | No | No |
MLP | Lossless | 1999-03 | Proprietary | No | Yes |
No | No | No | No | Private | No | Private | No | No | No | No |
ALS | Lossless | 2006-03 | Patent encumbered | No | Yes | No | No | No | No | Yes | No | No | No | No | No | No |
SLS | Lossless | 2006-06 | Patent encumbered | No | Yes | No | No | No | No | Yes | No | No | No | No | No | No |
LPCM | Not compressed | 1979 | Template:No Y |
Yes | Yes | Yes | Yes | Yes | Yes | Private | Yes | Private | No | No | No | Yes |
A-law PCM | Not compressed | 1972-12 | Template:No Y |
ACM |
No | Yes | No | Yes | Yes | No | No | No | No | No | No | Yes |
μ-law PCM | Not compressed | 1972-12 | Template:No Y |
ACM |
No | Yes | Yes | Yes | No | No | No | No | No | No | No | Yes |
IEEE floating-point PCM | Not compressed | ≥1985 | Template:No Y |
Yes | No | Yes | Yes | Yes | No | No | No | No | No | No | No | No |
Microsoft ADPCM | Not compressed | 1992-05 | Proprietary | ACM |
No | Yes | Yes |
Yes | No | No | No | No | No | No | No | No |
DV Audio | Not compressed | 1995 | Proprietary | No | Yes | Yes | No | No | Yes |
No | No | No | No | No | No | No |
AMR | Speech | 1999-06 | Patent encumbered | No | Yes | No | Yes | Yes | No | No | No | No | Yes | AMR-NB, AMR-WB | No | No |
G.728 | Speech | 1992-09 | No | No | No | No | Yes | No | No | No | No | No | No | No | No | |
Speex | Speech | 2003-03 | Open source |
ACM |
No | No | No | No | No | No | No | No | No | No | No | Yes |
QCELP | Speech | 1994 | Proprietary | No | No | Yes | Yes | No | No | No | No | No | No | 13K | No | No |
Other | Other | — | Varies | Musepack, WavPack, TTA, any format supported by ACM | — | IMA 4:1, non-IEEE floating-point PCM, integer PCM | Microsoft GSM 6.10 | G.721, G.722, G.723, G.726, G.729a, CVSD, ATRAC1, Dolby AC-2 | — | — | — | — | EVS | EVRC, EVRC-B, EVRC-WB, SMV, VMR-WB | — | Asao, SWF ADPCM[101] |
Obsolete | Other | — | Varies | — | — | MACE 3:1, MACE 6:1 | — | Truespeech, many others | — | — | — | — | — | — | — | — |
dwSampleSize
to 0 in the stream headers triggers VBR stream seeking[89] allowing VBR audio formats in AVI.[90]
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[103] and ADTS for AAC.
Format | Type | Initial release | License |
MKV |
MP4 | QTFF |
ASF |
AVI |
MXF |
PS, TS |
M2TS | VOB | 3GP, 3G2 | F4V | FLV |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SubRip |
Formatted text | 2000-03 | Open source | Yes |
As TTXT |
As TTXT |
As SAMI |
Needs alterations |
As SMPTE-TT | No | No | No | As TTXT |
As TTXT |
No |
WebVTT | Formatted text | 2010-08 | Open source | Yes |
Yes |
As TTXT |
No | No | As SMPTE-TT | No | No | No | As TTXT |
As TTXT |
Using ActionScript |
ASS, SSA | Formatted text | 1996 | Open source | Yes |
No | No | No | Needs alterations |
As SMPTE-TT | No | No | No | No | No | No |
TTXT |
XML | 2006-04 | Patent encumbered | No |
Yes | Yes |
No | No | No | No | No | No | Yes | Yes |
No |
USF | XML | 2002-11 | Proprietary | Planned | No | No | No | Needs alterations | No | No | No | No | No | No | No |
SAMI | HTML | 1998-06 | Proprietary | No | No | No | Yes | Needs alterations | As SMPTE-TT | No | No | No | No | No | No |
VobSub | Picture | 2001 | Patent encumbered | Mature |
Yes | Not standard | No | Needs alterations | No | No | As PGS |
Yes | No | No | No |
PGS |
Picture | 2006-03 | Patent encumbered | Mature |
As VobSub |
No | No | No | No | No | Blu-ray | As VobSub |
No | No | No |
DVB-SUB |
Picture | 1997-09 | Patent encumbered | Mature |
No | No | No | No | Yes |
Yes | No | No | No | No | No |
Ogg Kate |
Picture or formatted text | 2008-03 | Open source | Mature |
No | No | No | No | No | No | No | No | No | No | No |
TextST |
Text stream | 2006-03 | Patent encumbered | Beta|software release life cycle#Beta|Beta | No | No | No | No | No | No | Yes | No | No | No | No |
MicroDVD | Plain text | 2000-03 | Proprietary | No | No | No | No | Needs alterations | No | No | No | No | No | No | No |
Other | Other | — | Varies | Generic bitmap images, generic plain text |
BIFS | Quicktime SMIL, EIA-608, CTA-708 | — | XSUB |
SMPTE-TT, EBU-TT |
CTA-708 | — | — | — | — | — |
Some containers only support a restricted set of subtitle formats:
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, 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[128] requires the least overhead, followed by MP4, AVI and Ogg.[129]
Original source: https://en.wikipedia.org/wiki/Comparison of video container formats.
Read more |