]> git.sesse.net Git - casparcg/blob - dependencies64/ffmpeg/doc/nut.html
Updated to ffmpeg version 2.2.3
[casparcg] / dependencies64 / ffmpeg / doc / nut.html
1 <!DOCTYPE html>
2 <html>
3 <!-- Created on June 19, 2014 by texi2html 1.82 -->
4 <!--
5 texi2html was written by: 
6             Lionel Cons <Lionel.Cons@cern.ch> (original author)
7             Karl Berry  <karl@freefriends.org>
8             Olaf Bachmann <obachman@mathematik.uni-kl.de>
9             and many others.
10 Maintained by: Many creative people.
11 Send bugs and suggestions to <texi2html-bug@nongnu.org>
12
13 -->
14 <head>
15 <title>FFmpeg documentation : NUT: </title>
16
17 <meta name="description" content="NUT: ">
18 <meta name="keywords" content="FFmpeg documentation : NUT: ">
19 <meta name="Generator" content="texi2html 1.82">
20 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
21 <link rel="stylesheet" type="text/css" href="default.css" />
22
23 <link rel="icon" href="favicon.png" type="image/png" />
24 </head>
25 <body>
26 <div id="container">
27 <div id="body">
28
29 <a name="SEC_Top"></a>
30 <h1 class="settitle">NUT</h1>
31
32 <a name="SEC_Contents"></a>
33 <h1>Table of Contents</h1>
34 <div class="contents">
35
36 <ul class="toc">
37   <li><a name="toc-Description" href="#Description">1. Description</a></li>
38   <li><a name="toc-Container_002dspecific-codec-tags" href="#Container_002dspecific-codec-tags">2. Container-specific codec tags</a>
39   <ul class="toc">
40     <li><a name="toc-Generic-raw-YUVA-formats" href="#Generic-raw-YUVA-formats">2.1 Generic raw YUVA formats</a></li>
41     <li><a name="toc-Raw-Audio" href="#Raw-Audio">2.2 Raw Audio</a></li>
42     <li><a name="toc-Subtitles" href="#Subtitles">2.3 Subtitles</a></li>
43     <li><a name="toc-Raw-Data" href="#Raw-Data">2.4 Raw Data</a></li>
44     <li><a name="toc-Codecs" href="#Codecs">2.5 Codecs</a></li>
45   </ul>
46 </li>
47 </ul>
48 </div>
49
50 <a name="Description"></a>
51 <h1 class="chapter"><a href="nut.html#toc-Description">1. Description</a></h1>
52 <p>NUT is a low overhead generic container format. It stores audio, video,
53 subtitle and user-defined streams in a simple, yet efficient, way.
54 </p>
55 <p>It was created by a group of FFmpeg and MPlayer developers in 2003
56 and was finalized in 2008.
57 </p>
58 <p>The official nut specification is at svn://svn.mplayerhq.hu/nut
59 In case of any differences between this text and the official specification,
60 the official specification shall prevail.
61 </p>
62 <a name="Container_002dspecific-codec-tags"></a>
63 <h1 class="chapter"><a href="nut.html#toc-Container_002dspecific-codec-tags">2. Container-specific codec tags</a></h1>
64
65 <a name="Generic-raw-YUVA-formats"></a>
66 <h2 class="section"><a href="nut.html#toc-Generic-raw-YUVA-formats">2.1 Generic raw YUVA formats</a></h2>
67
68 <p>Since many exotic planar YUVA pixel formats are not considered by
69 the AVI/QuickTime FourCC lists, the following scheme is adopted for
70 representing them.
71 </p>
72 <p>The first two bytes can contain the values:
73 Y1 = only Y
74 Y2 = Y+A
75 Y3 = YUV
76 Y4 = YUVA
77 </p>
78 <p>The third byte represents the width and height chroma subsampling
79 values for the UV planes, that is the amount to shift the luma
80 width/height right to find the chroma width/height.
81 </p>
82 <p>The fourth byte is the number of bits used (8, 16, ...).
83 </p>
84 <p>If the order of bytes is inverted, that means that each component has
85 to be read big-endian.
86 </p>
87 <a name="Raw-Audio"></a>
88 <h2 class="section"><a href="nut.html#toc-Raw-Audio">2.2 Raw Audio</a></h2>
89
90 <table>
91 <tr><td width="40%">ALAW</td><td width="40%">A-LAW</td></tr>
92 <tr><td width="40%">ULAW</td><td width="40%">MU-LAW</td></tr>
93 <tr><td width="40%">P&lt;type&gt;&lt;interleaving&gt;&lt;bits&gt;</td><td width="40%">little-endian PCM</td></tr>
94 <tr><td width="40%">&lt;bits&gt;&lt;interleaving&gt;&lt;type&gt;P</td><td width="40%">big-endian PCM</td></tr>
95 </table>
96
97 <p>&lt;type&gt; is S for signed integer, U for unsigned integer, F for IEEE float
98 &lt;interleaving&gt; is D for default, P is for planar.
99 &lt;bits&gt; is 8/16/24/32
100 </p>
101 <table><tr><td>&nbsp;</td><td><pre class="example">PFD[32]   would for example be signed 32 bit little-endian IEEE float
102 </pre></td></tr></table>
103
104 <a name="Subtitles"></a>
105 <h2 class="section"><a href="nut.html#toc-Subtitles">2.3 Subtitles</a></h2>
106
107 <table>
108 <tr><td width="40%">UTF8</td><td width="40%">Raw UTF-8</td></tr>
109 <tr><td width="40%">SSA[0]</td><td width="40%">SubStation Alpha</td></tr>
110 <tr><td width="40%">DVDS</td><td width="40%">DVD subtitles</td></tr>
111 <tr><td width="40%">DVBS</td><td width="40%">DVB subtitles</td></tr>
112 </table>
113
114 <a name="Raw-Data"></a>
115 <h2 class="section"><a href="nut.html#toc-Raw-Data">2.4 Raw Data</a></h2>
116
117 <table>
118 <tr><td width="40%">UTF8</td><td width="40%">Raw UTF-8</td></tr>
119 </table>
120
121 <a name="Codecs"></a>
122 <h2 class="section"><a href="nut.html#toc-Codecs">2.5 Codecs</a></h2>
123
124 <table>
125 <tr><td width="40%">3IV1</td><td width="40%">non-compliant MPEG-4 generated by old 3ivx</td></tr>
126 <tr><td width="40%">ASV1</td><td width="40%">Asus Video</td></tr>
127 <tr><td width="40%">ASV2</td><td width="40%">Asus Video 2</td></tr>
128 <tr><td width="40%">CVID</td><td width="40%">Cinepak</td></tr>
129 <tr><td width="40%">CYUV</td><td width="40%">Creative YUV</td></tr>
130 <tr><td width="40%">DIVX</td><td width="40%">non-compliant MPEG-4 generated by old DivX</td></tr>
131 <tr><td width="40%">DUCK</td><td width="40%">Truemotion 1</td></tr>
132 <tr><td width="40%">FFV1</td><td width="40%">FFmpeg video 1</td></tr>
133 <tr><td width="40%">FFVH</td><td width="40%">FFmpeg Huffyuv</td></tr>
134 <tr><td width="40%">H261</td><td width="40%">ITU H.261</td></tr>
135 <tr><td width="40%">H262</td><td width="40%">ITU H.262</td></tr>
136 <tr><td width="40%">H263</td><td width="40%">ITU H.263</td></tr>
137 <tr><td width="40%">H264</td><td width="40%">ITU H.264</td></tr>
138 <tr><td width="40%">HFYU</td><td width="40%">Huffyuv</td></tr>
139 <tr><td width="40%">I263</td><td width="40%">Intel H.263</td></tr>
140 <tr><td width="40%">IV31</td><td width="40%">Indeo 3.1</td></tr>
141 <tr><td width="40%">IV32</td><td width="40%">Indeo 3.2</td></tr>
142 <tr><td width="40%">IV50</td><td width="40%">Indeo 5.0</td></tr>
143 <tr><td width="40%">LJPG</td><td width="40%">ITU JPEG (lossless)</td></tr>
144 <tr><td width="40%">MJLS</td><td width="40%">ITU JPEG-LS</td></tr>
145 <tr><td width="40%">MJPG</td><td width="40%">ITU JPEG</td></tr>
146 <tr><td width="40%">MPG4</td><td width="40%">MS MPEG-4v1 (not ISO MPEG-4)</td></tr>
147 <tr><td width="40%">MP42</td><td width="40%">MS MPEG-4v2</td></tr>
148 <tr><td width="40%">MP43</td><td width="40%">MS MPEG-4v3</td></tr>
149 <tr><td width="40%">MP4V</td><td width="40%">ISO MPEG-4 Part 2 Video (from old encoders)</td></tr>
150 <tr><td width="40%">mpg1</td><td width="40%">ISO MPEG-1 Video</td></tr>
151 <tr><td width="40%">mpg2</td><td width="40%">ISO MPEG-2 Video</td></tr>
152 <tr><td width="40%">MRLE</td><td width="40%">MS RLE</td></tr>
153 <tr><td width="40%">MSVC</td><td width="40%">MS Video 1</td></tr>
154 <tr><td width="40%">RT21</td><td width="40%">Indeo 2.1</td></tr>
155 <tr><td width="40%">RV10</td><td width="40%">RealVideo 1.0</td></tr>
156 <tr><td width="40%">RV20</td><td width="40%">RealVideo 2.0</td></tr>
157 <tr><td width="40%">RV30</td><td width="40%">RealVideo 3.0</td></tr>
158 <tr><td width="40%">RV40</td><td width="40%">RealVideo 4.0</td></tr>
159 <tr><td width="40%">SNOW</td><td width="40%">FFmpeg Snow</td></tr>
160 <tr><td width="40%">SVQ1</td><td width="40%">Sorenson Video 1</td></tr>
161 <tr><td width="40%">SVQ3</td><td width="40%">Sorenson Video 3</td></tr>
162 <tr><td width="40%">theo</td><td width="40%">Xiph Theora</td></tr>
163 <tr><td width="40%">TM20</td><td width="40%">Truemotion 2.0</td></tr>
164 <tr><td width="40%">UMP4</td><td width="40%">non-compliant MPEG-4 generated by UB Video MPEG-4</td></tr>
165 <tr><td width="40%">VCR1</td><td width="40%">ATI VCR1</td></tr>
166 <tr><td width="40%">VP30</td><td width="40%">VP 3.0</td></tr>
167 <tr><td width="40%">VP31</td><td width="40%">VP 3.1</td></tr>
168 <tr><td width="40%">VP50</td><td width="40%">VP 5.0</td></tr>
169 <tr><td width="40%">VP60</td><td width="40%">VP 6.0</td></tr>
170 <tr><td width="40%">VP61</td><td width="40%">VP 6.1</td></tr>
171 <tr><td width="40%">VP62</td><td width="40%">VP 6.2</td></tr>
172 <tr><td width="40%">VP70</td><td width="40%">VP 7.0</td></tr>
173 <tr><td width="40%">WMV1</td><td width="40%">MS WMV7</td></tr>
174 <tr><td width="40%">WMV2</td><td width="40%">MS WMV8</td></tr>
175 <tr><td width="40%">WMV3</td><td width="40%">MS WMV9</td></tr>
176 <tr><td width="40%">WV1F</td><td width="40%">non-compliant MPEG-4 generated by ?</td></tr>
177 <tr><td width="40%">WVC1</td><td width="40%">VC-1</td></tr>
178 <tr><td width="40%">XVID</td><td width="40%">non-compliant MPEG-4 generated by old Xvid</td></tr>
179 <tr><td width="40%">XVIX</td><td width="40%">non-compliant MPEG-4 generated by old Xvid with interlacing bug</td></tr>
180 </table>
181
182 <footer class="footer pagination-right">
183 <span class="label label-info">This document was generated by <em>Kyle Schwarz</em> on <em>June 19, 2014</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.</span></footer></div></div></body>