Comparison of video container formats
This table compares many features of container formats. 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.- MPEG-PS
- * MPEG-TS
- ** M2TS
- * VOB
- ** EVOB
- QTFF
- * ISO BMFF
- ** 3GPP, 3GPP2
- ** F4V
- ** MP4
- MCF
- * Matroska
- ** WebM
- RIFF
- * AVI
- ** DMF
- RM
- * RMVB
Format | File extension | Owner or creator | License | Variable bit rate audio | Variable frame rate | Chapters | Metadata / tags | Interactive menus | Streaming | Attachments | 3D | Hardware players |
3GPP | .3gp | 3GPP | ||||||||||
3GPP2 | .3g2 | 3GPP2 | ||||||||||
Advanced Systems Format | .asf,.wmv | Microsoft | ||||||||||
Audio Video Interleave | .avi | Microsoft | through RIFF chunks | |||||||||
DivX Media Format | .divx | DivX, Inc. | ||||||||||
Enhanced VOB | .evo | DVD Forum | ||||||||||
Flash Video F4V | .f4v | Adobe Inc. | ||||||||||
Flash Video FLV | .flv | Adobe Inc. | ||||||||||
Matroska Multimedia Container | .mkv,.mk3d | CoreCodec, Inc. | ||||||||||
MPEG-4 Part 14 | .mp4 | MPEG | ||||||||||
MPEG-1 Video File | .mpg,.mpeg | MPEG | ||||||||||
MPEG program stream | .m2p,.ps | MPEG | ||||||||||
MPEG transport stream | .ts | MPEG | ||||||||||
BDAV MPEG-2 transport stream | .m2ts | BDA | ||||||||||
Material Exchange Format | .mxf | SMPTE | ||||||||||
Ogg | .ogg | Xiph.Org Foundation | ||||||||||
QuickTime File Format | .mov,.qt | Apple Inc. | ||||||||||
RealMedia Variable Bitrate | .rmvb | RealNetworks | ||||||||||
Video Object | .vob | DVD Forum | ||||||||||
WebM | .webm | |||||||||||
Format | File extension | Owner or creator | License | Variable bit rate audio | Variable frame rate | Chapters | Metadata / tags | Interactive menus | Streaming | Attachments | 3D | Hardware players |
Note that 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
Format | Type | 3GP, 3G2 | ASF | AVI | DMF | EVO | FLV | F4V | MKV | PS, TS | M2TS | MP4 | MXF | Ogg | QTFF | RMVB | VOB | WebM |
DV | Intra-frame | |||||||||||||||||
M-JPEG | Intra-frame | |||||||||||||||||
MJ2 | Intra-frame | |||||||||||||||||
MPEG-1 Video | Lossy | |||||||||||||||||
MPEG-2 Video | Lossy | |||||||||||||||||
MPEG-4 Visual | Lossy | |||||||||||||||||
Microsoft MPEG4 V2 | Lossy | |||||||||||||||||
VC-1 | Lossy | |||||||||||||||||
Sorenson | Lossy | |||||||||||||||||
H.263 | Lossy | |||||||||||||||||
VP6 | Lossy | |||||||||||||||||
RealVideo | Lossy | |||||||||||||||||
Cinepak | Lossy | |||||||||||||||||
Indeo | Lossy | |||||||||||||||||
Theora | Lossy | |||||||||||||||||
MPEG-4 AVC | Lossy or lossless | |||||||||||||||||
MPEG-H HEVC | Lossy or lossless | |||||||||||||||||
Dirac | Lossy or lossless | |||||||||||||||||
VP8 | Lossy or lossless | |||||||||||||||||
VP9 | Lossy or lossless | |||||||||||||||||
AV1 | Lossy or lossless | |||||||||||||||||
MVC | Stereoscopic | |||||||||||||||||
HuffYUV | Lossless | |||||||||||||||||
YCbCr | Not compressed | |||||||||||||||||
Other | Other | |||||||||||||||||
Obsolete | Other | |||||||||||||||||
Format | Type | 3GP, 3G2 | ASF | AVI | DMF | EVO | FLV | F4V | MKV | PS, TS | M2TS | MP4 | MXF | Ogg | QTFF | RMVB | VOB | WebM |
Audio coding formats support
Format | Type | 3GP | 3G2 | ASF | AVI | DMF | EVO | FLV | F4V | MKV | PS, TS | M2TS | MP4 | MXF | Ogg | QTFF | RMVB | VOB | WebM |
Speex | Speech | ||||||||||||||||||
AMR | Speech | ||||||||||||||||||
QCELP | Speech | ||||||||||||||||||
G.728 | Speech | ||||||||||||||||||
MP1 | Lossy | ||||||||||||||||||
MP2 | Lossy | ||||||||||||||||||
MP3 | Lossy | ||||||||||||||||||
AAC | Lossy | ||||||||||||||||||
AC-3 | Lossy | ||||||||||||||||||
E-AC-3 | Lossy | ||||||||||||||||||
DTS | Lossy | ||||||||||||||||||
WMA | Lossy | ||||||||||||||||||
ATRAC3 | Lossy | ||||||||||||||||||
QDesign Music 1 and 2 | Lossy | ||||||||||||||||||
Vorbis | Lossy | ||||||||||||||||||
Opus | Lossy | ||||||||||||||||||
FLAC | Lossless | ||||||||||||||||||
ALAC | Lossless | ||||||||||||||||||
MLP | Lossless | ||||||||||||||||||
Dolby TrueHD | Lossless | ||||||||||||||||||
DTS-HD | Lossless | ||||||||||||||||||
WMA Lossless | Lossless | ||||||||||||||||||
ALS | Lossless | ||||||||||||||||||
SLS | Lossless | ||||||||||||||||||
LPCM | Not compressed | ||||||||||||||||||
μ-law PCM | Not compressed | ||||||||||||||||||
A-law PCM | Not compressed | ||||||||||||||||||
Microsoft ADPCM | Not compressed | ||||||||||||||||||
IEEE floating-point PCM | Not compressed | ||||||||||||||||||
DV Audio | Not compressed | ||||||||||||||||||
Other | Other | ||||||||||||||||||
Obsolete | Other | ||||||||||||||||||
Format | Type | 3GP | 3G2 | ASF | AVI | DMF | EVO | FLV | F4V | MKV | PS, TS | M2TS | MP4 | MXF | Ogg | QTFF | RMVB | VOB | WebM |
Subtitle/caption formats support
Format | Type | 3GP, 3G2 | ASF | AVI | DMF | EVO | FLV | F4V | MKV | PS, TS | M2TS | MP4 | MXF | Ogg | QTFF | RMVB | VOB | WebM |
VobSub | Picture | |||||||||||||||||
DVB-SUB | Picture | |||||||||||||||||
Picture | ||||||||||||||||||
XSUB | Picture | |||||||||||||||||
Ogg Kate | Picture or formatted text | |||||||||||||||||
SMIL | XML | |||||||||||||||||
USF | XML | |||||||||||||||||
TTXT | XML | |||||||||||||||||
SAMI | HTML | |||||||||||||||||
SubRip | Formatted text | |||||||||||||||||
WebVTT | Formatted text | |||||||||||||||||
ASS, SSA | Formatted text | |||||||||||||||||
TextST | Text stream | |||||||||||||||||
SMPTE-TT | Text stream | |||||||||||||||||
Ogg Writ | Text stream | |||||||||||||||||
MicroDVD | Plain text | |||||||||||||||||
Others | Other | |||||||||||||||||
Obsolete | Other | |||||||||||||||||
Format | Type | 3GP, 3G2 | ASF | AVI | DMF | EVO | FLV | F4V | MKV | PS, TS | M2TS | MP4 | MXF | Ogg | QTFF | RMVB | VOB | WebM |
Note that 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 less 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 offers the least overhead, followed by MP4, AVI and Ogg.