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