Jump to content

Comparison of video container formats

From Wikipedia, the free encyclopedia

{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= Template:Ambox }} Template:Synthesis Template:Short description

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

Template:Hidden begin In many ways, derived containers are similar to those on which they are based, sometimes extending them, sometimes limiting their capabilities. Template:Col-float Template:Tree list

Template:Tree list/end Template:Col-float-break Template:Tree list

Template:Tree list/end Template:Col-float-break Template:Tree list

Template:Tree list/end Template:Col-float-break Template:Tree list

Template:Tree list/end Template:Col-float-break Template:Tree list

Template:Tree list/end Template:Col-float-end Template:Hidden end

Template:Sticky header

Support level legend: Template:Color box Template:Color box Template:Color box Template:Color box Template:Color box Template: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 specification 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

{{#invoke:Labelled list hatnote|labelledList|See also|ifexists=true}}

Template:Sticky header

Support level legend: Template:Color box Template:Color box Template:Color box Template:Color box Template:Color box Template:Notelist-ur

Some containers only support a restricted set of video formats:

Audio coding formats support

{{#invoke:Labelled list hatnote|labelledList|See also|ifexists=true}}

Template:Sticky header

Support level legend: Template:Color box Template:Color box Template:Color box Template:Color box Template:Color box Template:Notelist-lg

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[66] and ADTS for AAC.

Subtitle formats support

{{#invoke:Labelled list hatnote|labelledList|See also|ifexists=true}}

Template:Sticky header

Support level legend: Template:Color box Template:Color box Template:Color box Template:Color box Template:Color box Template:Notelist-lr

Some containers only support a restricted set of subtitle formats:

Converting image subtitles to text formats is possible using third-party tools[85] 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[86] requires the least overhead, followed by MP4, AVI and Ogg.[87]

See also

{{#invoke:Portal|portal}}

Notes

Template:Notelist

References

Template:Reflist

  1. ↑ Template:Cite tech report
  2. ↑ Template:Cite tech report
  3. ↑ Template:Cite tech report
  4. ↑ Template:Cite tech report
  5. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  6. ↑ Template:Cite tech report
  7. ↑ 7.0 7.1 Template:Cite tech report
  8. ↑ 8.0 8.1 Template:Cite tech report
  9. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  10. ↑ Template:Cite mailing list
  11. ↑ Template:Cite tech report
  12. ↑ 12.0 12.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  13. ↑ Template:Cite tech report
  14. ↑ Template:Cite tech report
  15. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  16. ↑ Template:Cite tech report
  17. ↑ Template:Cite tech report
  18. ↑ 18.0 18.1 18.2 18.3 18.4 18.5 Template:Cite tech report
  19. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  20. ↑ 20.0 20.1 20.2 Template:Cite tech report
  21. ↑ Template:Cite tech report
  22. ↑ Template:Cite tech report
  23. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  24. ↑ 24.0 24.1 24.2 24.3 {{#invoke:citation/CS1|citation |CitationClass=web }}
  25. ↑ 25.0 25.1 25.2 25.3 Cite error: Invalid <ref> tag; no text was provided for refs named microsoft-media-types
  26. ↑ Template:Cite tech report
  27. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  28. ↑ Template:Cite tech report
  29. ↑ Template:Cite tech report
  30. ↑ Template:Cite book
  31. ↑ 31.0 31.1 Template:Cite tech report
  32. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named matroska-ietf
  33. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  34. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  35. ↑ Template:Cite tech report
  36. ↑ Template:Cite tech report
  37. ↑ Template:Cite tech report
  38. ↑ Template:Cite tech report
  39. ↑ Template:Cite tech report
  40. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  41. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  42. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  43. ↑ 43.0 43.1 Template:Cite tech report
  44. ↑ Template:Cite tech report
  45. ↑ Template:Cite tech report
  46. ↑ 46.0 46.1 Template:Cite tech report
  47. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  48. ↑ Template:Cite tech report
  49. ↑ Template:Cite tech report
  50. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  51. ↑ Template:Cite tech report
  52. ↑ Template:Cite tech report
  53. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  54. ↑ 54.0 54.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  55. ↑ 55.0 55.1 Template:Cite tech report
  56. ↑ Template:Cite tech report
  57. ↑ Template:Cite tech report
  58. ↑ Template:Cite tech report
  59. ↑ Template:Cite tech report
  60. ↑ Template:Cite tech report
  61. ↑ Template:Cite tech report
  62. ↑ 62.0 62.1 Template:Cite patent
  63. ↑ Template:Cite tech report
  64. ↑ 64.0 64.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  65. ↑ Template:Cite tech report
  66. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  67. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  68. ↑ Template:Cite tech report
  69. ↑ 69.0 69.1 69.2 69.3 69.4 69.5 Template:Cite tech report
  70. ↑ 70.0 70.1 Cite error: Invalid <ref> tag; no text was provided for refs named avimuxgui
  71. ↑ Template:Cite tech report
  72. ↑ Template:Cite tech report
  73. ↑ Template:Cite tech report
  74. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named qtff-spec
  75. ↑ Template:Cite tech report
  76. ↑ Template:Cite tech report
  77. ↑ Template:Cite tech report
  78. ↑ Cite error: Invalid <ref> tag; no text was provided for refs named smpte-tt
  79. ↑ Template:Cite tech report
  80. ↑ Template:Cite tech report
  81. ↑ 81.0 81.1 {{#invoke:citation/CS1|citation |CitationClass=web }}
  82. ↑ Template:Cite book
  83. ↑ Template:Cite tech report
  84. ↑ Template:Cite tech report
  85. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  86. ↑ Template:Cite tech report
  87. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}