Английская Википедия:Comparison of video container formats
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
Шаблон:Hidden begin In many ways, derived containers are similar to those on which they are based, sometimes extending them, sometimes limiting their capabilities. Шаблон:Col-float Шаблон:Tree list
Шаблон:Tree list/end Шаблон:Col-float-break Шаблон:Tree list
Шаблон:Tree list/end Шаблон:Col-float-break Шаблон:Tree list
Шаблон:Tree list/end Шаблон:Col-float-break Шаблон:Tree list
Шаблон:Tree list/end Шаблон:Col-float-break Шаблон:Tree list
Шаблон:Tree list/end Шаблон:Col-float-end Шаблон:Hidden end
Support level legend: Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Notelist-ua
Some features are only supported by a few containers:
- Attachments (additional files, such as fonts for subtitles) are only supported in Matroska,[20] 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 specfication since 2004.[21] - Digital 3D is only supported at the container format level in Matroska,[20] MXF[22] and WebM (some stereo modes).[18] 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.[23]
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
Support level legend: Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Notelist-ur
Some containers only support a restricted set of video formats:
- DMF only supports MPEG-4 Visual ASP with DivX profiles.
- EVO only supports MPEG-4 AVC, MPEG-1 Video, MPEG-2 Video and VC-1.
- M2TS only supports MPEG-4 AVC, MPEG-1 Video, MPEG-2 Video, MPEG-4 Visual and VC-1.
- Ogg only supports Theora, MNG, JNG,Шаблон:Efn PNG[48] and Dirac.[49][50] Firefox supports VP9 and VP8 in Ogg.[51] VLC supports MPEG-2 Video, MPEG-4 Visual and VC-1 in Ogg.[52]
- RMVB only supports RealVideo versions RV30, RV40 and RV60.
- VOB only supports MPEG-1 Video and MPEG-2 Video.
- WebM only supports VP9, VP8,[18] and AV1.[31]
Audio coding formats support
Support level legend: Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Notelist-lg
Some containers only support a restricted set of audio formats:
- DMF only supports MP3, AC-3, DTS and LPCM.
- EVO only supports MP3, AC-3, E-AC-3, DTS, MP2, MP1, DTS-HD, Dolby TrueHD, MLP and LPCM.
- M2TS only supports AC-3, E-AC-3, DTS, DTS-HD, Dolby TrueHD and LPCM.
- Ogg only supports Opus, Vorbis, FLAC, A-law PCM, μ-law PCM, IEEE floating-point PCM, Speex and CELT.Шаблон:Efn OGMtools supports MP3 and AC-3 in Ogg.[63]
- RMVB only supports AC-3, ATRAC3, G.728, AAC-LC, HE-AAC v1, IS-54, Cook Codec, Sipro Lab, ACELP-NET and RealAudio Lossless.
- VOB only supports MP2 directly. It also supports AC-3, DTS, MLP and LPCM as private streams.[64]
- WebM only supports Opus and Vorbis.[18]
Audio-only content can sometimes be placed in a simpler audio-only container, such as Native FLAC for FLAC[65] and ADTS for AAC.
Subtitle formats support
Support level legend: Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Color box Шаблон:Notelist-lr
Some containers only support a restricted set of subtitle formats:
- DMF only supports XSUB.
- EVO only supports HD DVD Шаблон:Abbr.
- M2TS only supports Blu-ray Шаблон:Abbr. VobSub can be partially converted to PGS using tools that are not officially related to the container format.[80]
- Ogg only supports Ogg Kate and CMML.Шаблон:Efn SubRip can be converted losslessly to Ogg Kate.[81] Ogg Writ[82] is well supported in Ogg in common tools such as OGMtools[63] and VLC, but there's no intention to turn its draft into a fully supported specification. Xiph recommends using Kate for subtitles.[83] MicroDVD can be converted to Ogg Writ.
- RMVB only supports RealText. SMIL can be partially converted to RealText.
- VOB only supports VobSub. Шаблон:Abbr can be partially converted to VobSub using tools that are not officially related to the container format.[80]
- WebM only supports WebVTT.[18] SubRip can be converted losslessly to WebVTT.
Converting image subtitles to text formats is possible using third-party tools[84] 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[85] requires the least overhead, followed by MP4, AVI and Ogg.[86]
See also
Notes
References
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ 7,0 7,1 Шаблон:Cite tech report
- ↑ 8,0 8,1 Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite mailing list
- ↑ Шаблон:Cite tech report
- ↑ 12,0 12,1 Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ 18,0 18,1 18,2 18,3 18,4 18,5 Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ 20,0 20,1 20,2 Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ 24,0 24,1 24,2 24,3 Шаблон:Cite web
- ↑ 25,0 25,1 25,2 25,3 Ошибка цитирования Неверный тег
<ref>
; для сносокmicrosoft-media-types
не указан текст - ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite book
- ↑ 31,0 31,1 Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ 36,0 36,1 Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite web
- ↑ 42,0 42,1 Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ 45,0 45,1 Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ 53,0 53,1 Шаблон:Cite web
- ↑ 54,0 54,1 Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ 61,0 61,1 Шаблон:Cite patent
- ↑ Шаблон:Cite tech report
- ↑ 63,0 63,1 Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ 68,0 68,1 68,2 68,3 68,4 68,5 68,6 Шаблон:Cite tech report
- ↑ 69,0 69,1 Ошибка цитирования Неверный тег
<ref>
; для сносокavimuxgui
не указан текст - ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокqtff-spec
не указан текст - ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокflv-spec
не указан текст - ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Ошибка цитирования Неверный тег
<ref>
; для сносокsmpte-tt
не указан текст - ↑ Шаблон:Cite tech report
- ↑ 80,0 80,1 Шаблон:Cite web
- ↑ Шаблон:Cite book
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web
- ↑ Шаблон:Cite tech report
- ↑ Шаблон:Cite web