You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

155 lines
4.2KB

  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. @chapter Modes
  14. NUT has some variants signaled by using the flags field in its main header.
  15. @multitable @columnfractions .4 .4
  16. @item BROADCAST @tab Extend the syncpoint to report the sender wallclock
  17. @item PIPE @tab Omit completely the syncpoint
  18. @end multitable
  19. @section BROADCAST
  20. The BROADCAST variant provides a secondary time reference to facilitate
  21. detecting endpoint latency and network delays.
  22. It assumes all the endpoint clocks are synchronized.
  23. To be used in real-time scenarios.
  24. @section PIPE
  25. The PIPE variant assumes NUT is used as non-seekable intermediate container,
  26. by not using syncpoint removes unneeded overhead and reduces the overall
  27. memory usage.
  28. @chapter Container-specific codec tags
  29. @section Generic raw YUVA formats
  30. Since many exotic planar YUVA pixel formats are not considered by
  31. the AVI/QuickTime FourCC lists, the following scheme is adopted for
  32. representing them.
  33. The first two bytes can contain the values:
  34. Y1 = only Y
  35. Y2 = Y+A
  36. Y3 = YUV
  37. Y4 = YUVA
  38. The third byte represents the width and height chroma subsampling
  39. values for the UV planes, that is the amount to shift the luma
  40. width/height right to find the chroma width/height.
  41. The fourth byte is the number of bits used (8, 16, ...).
  42. If the order of bytes is inverted, that means that each component has
  43. to be read big-endian.
  44. @section Raw Audio
  45. @multitable @columnfractions .4 .4
  46. @item ALAW @tab A-LAW
  47. @item ULAW @tab MU-LAW
  48. @item P<type><interleaving><bits> @tab little-endian PCM
  49. @item <bits><interleaving><type>P @tab big-endian PCM
  50. @end multitable
  51. <type> is S for signed integer, U for unsigned integer, F for IEEE float
  52. <interleaving> is D for default, P is for planar.
  53. <bits> is 8/16/24/32
  54. @example
  55. PFD[32] would for example be signed 32 bit little-endian IEEE float
  56. @end example
  57. @section Subtitles
  58. @multitable @columnfractions .4 .4
  59. @item UTF8 @tab Raw UTF-8
  60. @item SSA[0] @tab SubStation Alpha
  61. @item DVDS @tab DVD subtitles
  62. @item DVBS @tab DVB subtitles
  63. @end multitable
  64. @section Raw Data
  65. @multitable @columnfractions .4 .4
  66. @item UTF8 @tab Raw UTF-8
  67. @end multitable
  68. @section Codecs
  69. @multitable @columnfractions .4 .4
  70. @item 3IV1 @tab non-compliant MPEG-4 generated by old 3ivx
  71. @item ASV1 @tab Asus Video
  72. @item ASV2 @tab Asus Video 2
  73. @item CVID @tab Cinepak
  74. @item CYUV @tab Creative YUV
  75. @item DIVX @tab non-compliant MPEG-4 generated by old DivX
  76. @item DUCK @tab Truemotion 1
  77. @item FFV1 @tab FFmpeg video 1
  78. @item FFVH @tab FFmpeg Huffyuv
  79. @item H261 @tab ITU H.261
  80. @item H262 @tab ITU H.262
  81. @item H263 @tab ITU H.263
  82. @item H264 @tab ITU H.264
  83. @item HFYU @tab Huffyuv
  84. @item I263 @tab Intel H.263
  85. @item IV31 @tab Indeo 3.1
  86. @item IV32 @tab Indeo 3.2
  87. @item IV50 @tab Indeo 5.0
  88. @item LJPG @tab ITU JPEG (lossless)
  89. @item MJLS @tab ITU JPEG-LS
  90. @item MJPG @tab ITU JPEG
  91. @item MPG4 @tab MS MPEG-4v1 (not ISO MPEG-4)
  92. @item MP42 @tab MS MPEG-4v2
  93. @item MP43 @tab MS MPEG-4v3
  94. @item MP4V @tab ISO MPEG-4 Part 2 Video (from old encoders)
  95. @item mpg1 @tab ISO MPEG-1 Video
  96. @item mpg2 @tab ISO MPEG-2 Video
  97. @item MRLE @tab MS RLE
  98. @item MSVC @tab MS Video 1
  99. @item RT21 @tab Indeo 2.1
  100. @item RV10 @tab RealVideo 1.0
  101. @item RV20 @tab RealVideo 2.0
  102. @item RV30 @tab RealVideo 3.0
  103. @item RV40 @tab RealVideo 4.0
  104. @item SVQ1 @tab Sorenson Video 1
  105. @item SVQ3 @tab Sorenson Video 3
  106. @item theo @tab Xiph Theora
  107. @item TM20 @tab Truemotion 2.0
  108. @item UMP4 @tab non-compliant MPEG-4 generated by UB Video MPEG-4
  109. @item VCR1 @tab ATI VCR1
  110. @item VP30 @tab VP 3.0
  111. @item VP31 @tab VP 3.1
  112. @item VP50 @tab VP 5.0
  113. @item VP60 @tab VP 6.0
  114. @item VP61 @tab VP 6.1
  115. @item VP62 @tab VP 6.2
  116. @item VP70 @tab VP 7.0
  117. @item WMV1 @tab MS WMV7
  118. @item WMV2 @tab MS WMV8
  119. @item WMV3 @tab MS WMV9
  120. @item WV1F @tab non-compliant MPEG-4 generated by ?
  121. @item WVC1 @tab VC-1
  122. @item XVID @tab non-compliant MPEG-4 generated by old Xvid
  123. @item XVIX @tab non-compliant MPEG-4 generated by old Xvid with interlacing bug
  124. @end multitable