nut.texi 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. \input texinfo @c -*- texinfo -*-
  2. @settitle NUT
  3. @titlepage
  4. @center @titlefont{NUT}
  5. @end titlepage
  6. @top
  7. @contents
  8. @chapter Description
  9. NUT is a low overhead generic container format. It stores audio, video,
  10. subtitle and user-defined streams in a simple, yet efficient, way.
  11. It was created by a group of FFmpeg and MPlayer developers in 2003
  12. and was finalized in 2008.
  13. The official nut specification is at svn://svn.mplayerhq.hu/nut
  14. In case of any differences between this text and the official specification,
  15. the official specification shall prevail.
  16. @chapter Container-specific codec tags
  17. @section Generic raw YUVA formats
  18. Since many exotic planar YUVA pixel formats are not considered by
  19. the AVI/QuickTime FourCC lists, the following scheme is adopted for
  20. representing them.
  21. The first two bytes can contain the values:
  22. Y1 = only Y
  23. Y2 = Y+A
  24. Y3 = YUV
  25. Y4 = YUVA
  26. The third byte represents the width and height chroma subsampling
  27. values for the UV planes, that is the amount to shift the luma
  28. width/height right to find the chroma width/height.
  29. The fourth byte is the number of bits used (8, 16, ...).
  30. If the order of bytes is inverted, that means that each component has
  31. to be read big-endian.
  32. @section Raw Audio
  33. @multitable @columnfractions .4 .4
  34. @item ALAW @tab A-LAW
  35. @item ULAW @tab MU-LAW
  36. @item P<type><interleaving><bits> @tab little-endian PCM
  37. @item <bits><interleaving><type>P @tab big-endian PCM
  38. @end multitable
  39. <type> is S for signed integer, U for unsigned integer, F for IEEE float
  40. <interleaving> is D for default, P is for planar.
  41. <bits> is 8/16/24/32
  42. @example
  43. PFD[32] would for example be signed 32 bit little-endian IEEE float
  44. @end example
  45. @section Subtitles
  46. @multitable @columnfractions .4 .4
  47. @item UTF8 @tab Raw UTF-8
  48. @item SSA[0] @tab SubStation Alpha
  49. @item DVDS @tab DVD subtitles
  50. @item DVBS @tab DVB subtitles
  51. @end multitable
  52. @section Raw Data
  53. @multitable @columnfractions .4 .4
  54. @item UTF8 @tab Raw UTF-8
  55. @end multitable
  56. @section Codecs
  57. @multitable @columnfractions .4 .4
  58. @item 3IV1 @tab non-compliant MPEG-4 generated by old 3ivx
  59. @item ASV1 @tab Asus Video
  60. @item ASV2 @tab Asus Video 2
  61. @item CVID @tab Cinepak
  62. @item CYUV @tab Creative YUV
  63. @item DIVX @tab non-compliant MPEG-4 generated by old DivX
  64. @item DUCK @tab Truemotion 1
  65. @item FFV1 @tab FFmpeg video 1
  66. @item FFVH @tab FFmpeg Huffyuv
  67. @item H261 @tab ITU H.261
  68. @item H262 @tab ITU H.262
  69. @item H263 @tab ITU H.263
  70. @item H264 @tab ITU H.264
  71. @item HFYU @tab Huffyuv
  72. @item I263 @tab Intel H.263
  73. @item IV31 @tab Indeo 3.1
  74. @item IV32 @tab Indeo 3.2
  75. @item IV50 @tab Indeo 5.0
  76. @item LJPG @tab ITU JPEG (lossless)
  77. @item MJLS @tab ITU JPEG-LS
  78. @item MJPG @tab ITU JPEG
  79. @item MPG4 @tab MS MPEG-4v1 (not ISO MPEG-4)
  80. @item MP42 @tab MS MPEG-4v2
  81. @item MP43 @tab MS MPEG-4v3
  82. @item MP4V @tab ISO MPEG-4 Part 2 Video (from old encoders)
  83. @item mpg1 @tab ISO MPEG-1 Video
  84. @item mpg2 @tab ISO MPEG-2 Video
  85. @item MRLE @tab MS RLE
  86. @item MSVC @tab MS Video 1
  87. @item RT21 @tab Indeo 2.1
  88. @item RV10 @tab RealVideo 1.0
  89. @item RV20 @tab RealVideo 2.0
  90. @item RV30 @tab RealVideo 3.0
  91. @item RV40 @tab RealVideo 4.0
  92. @item SNOW @tab FFmpeg Snow
  93. @item SVQ1 @tab Sorenson Video 1
  94. @item SVQ3 @tab Sorenson Video 3
  95. @item theo @tab Xiph Theora
  96. @item TM20 @tab Truemotion 2.0
  97. @item UMP4 @tab non-compliant MPEG-4 generated by UB Video MPEG-4
  98. @item VCR1 @tab ATI VCR1
  99. @item VP30 @tab VP 3.0
  100. @item VP31 @tab VP 3.1
  101. @item VP50 @tab VP 5.0
  102. @item VP60 @tab VP 6.0
  103. @item VP61 @tab VP 6.1
  104. @item VP62 @tab VP 6.2
  105. @item VP70 @tab VP 7.0
  106. @item WMV1 @tab MS WMV7
  107. @item WMV2 @tab MS WMV8
  108. @item WMV3 @tab MS WMV9
  109. @item WV1F @tab non-compliant MPEG-4 generated by ?
  110. @item WVC1 @tab VC-1
  111. @item XVID @tab non-compliant MPEG-4 generated by old Xvid
  112. @item XVIX @tab non-compliant MPEG-4 generated by old Xvid with interlacing bug
  113. @end multitable