]> git.sesse.net Git - casparcg/blob - dependencies/ffmpeg/doc/general.html
5b9ee34b1425ae7a94d1a1601a2d5471c8d49dcf
[casparcg] / dependencies / ffmpeg / doc / general.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
2 <html>
3 <!-- Created on September 2, 2011 by texi2html 1.82
4 texi2html was written by: 
5             Lionel Cons <Lionel.Cons@cern.ch> (original author)
6             Karl Berry  <karl@freefriends.org>
7             Olaf Bachmann <obachman@mathematik.uni-kl.de>
8             and many others.
9 Maintained by: Many creative people.
10 Send bugs and suggestions to <texi2html-bug@nongnu.org>
11 -->
12 <head>
13 <title>General Documentation</title>
14
15 <meta name="description" content="General Documentation">
16 <meta name="keywords" content="General Documentation">
17 <meta name="resource-type" content="document">
18 <meta name="distribution" content="global">
19 <meta name="Generator" content="texi2html 1.82">
20 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
21 <style type="text/css">
22 <!--
23 a.summary-letter {text-decoration: none}
24 blockquote.smallquotation {font-size: smaller}
25 pre.display {font-family: serif}
26 pre.format {font-family: serif}
27 pre.menu-comment {font-family: serif}
28 pre.menu-preformatted {font-family: serif}
29 pre.smalldisplay {font-family: serif; font-size: smaller}
30 pre.smallexample {font-size: smaller}
31 pre.smallformat {font-family: serif; font-size: smaller}
32 pre.smalllisp {font-size: smaller}
33 span.roman {font-family:serif; font-weight:normal;}
34 span.sansserif {font-family:sans-serif; font-weight:normal;}
35 ul.toc {list-style: none}
36 -->
37 </style>
38
39
40 </head>
41
42 <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
43
44 <a name="SEC_Top"></a>
45 <h1 class="settitle">General Documentation</h1>
46
47 <a name="SEC_Contents"></a>
48 <h1>Table of Contents</h1>
49 <div class="contents">
50
51 <ul class="toc">
52   <li><a name="toc-external-libraries" href="#external-libraries">1. external libraries</a>
53   <ul class="toc">
54     <li><a name="toc-OpenCORE-AMR" href="#OpenCORE-AMR">1.1 OpenCORE AMR</a></li>
55   </ul></li>
56   <li><a name="toc-Supported-File-Formats-and-Codecs" href="#Supported-File-Formats-and-Codecs">2. Supported File Formats and Codecs</a>
57   <ul class="toc">
58     <li><a name="toc-File-Formats" href="#File-Formats">2.1 File Formats</a></li>
59     <li><a name="toc-Image-Formats" href="#Image-Formats">2.2 Image Formats</a></li>
60     <li><a name="toc-Video-Codecs" href="#Video-Codecs">2.3 Video Codecs</a></li>
61     <li><a name="toc-Audio-Codecs" href="#Audio-Codecs">2.4 Audio Codecs</a></li>
62     <li><a name="toc-Subtitle-Formats" href="#Subtitle-Formats">2.5 Subtitle Formats</a></li>
63     <li><a name="toc-Network-Protocols" href="#Network-Protocols">2.6 Network Protocols</a></li>
64     <li><a name="toc-Input_002fOutput-Devices" href="#Input_002fOutput-Devices">2.7 Input/Output Devices</a></li>
65   </ul></li>
66   <li><a name="toc-Platform-Specific-information" href="#Platform-Specific-information">3. Platform Specific information</a>
67   <ul class="toc">
68     <li><a name="toc-DOS" href="#DOS">3.1 DOS</a></li>
69     <li><a name="toc-OS_002f2" href="#OS_002f2">3.2 OS/2</a></li>
70     <li><a name="toc-Unix_002dlike" href="#Unix_002dlike">3.3 Unix-like</a>
71     <ul class="toc">
72       <li><a name="toc-BSD" href="#BSD">3.3.1 BSD</a></li>
73       <li><a name="toc-_0028Open_0029Solaris" href="#g_t_0028Open_0029Solaris">3.3.2 (Open)Solaris</a></li>
74       <li><a name="toc-Darwin-_0028MacOS-X_002c-iPhone_0029" href="#Darwin-_0028MacOS-X_002c-iPhone_0029">3.3.3 Darwin (MacOS X, iPhone)</a></li>
75     </ul></li>
76     <li><a name="toc-Windows" href="#Windows">3.4 Windows</a>
77     <ul class="toc">
78       <li><a name="toc-Native-Windows-compilation" href="#Native-Windows-compilation">3.4.1 Native Windows compilation</a></li>
79       <li><a name="toc-Microsoft-Visual-C_002b_002b-compatibility" href="#Microsoft-Visual-C_002b_002b-compatibility">3.4.2 Microsoft Visual C++ compatibility</a>
80       <ul class="toc">
81         <li><a name="toc-Using-static-libraries" href="#Using-static-libraries">3.4.2.1 Using static libraries</a></li>
82         <li><a name="toc-Using-shared-libraries" href="#Using-shared-libraries">3.4.2.2 Using shared libraries</a></li>
83       </ul></li>
84       <li><a name="toc-Cross-compilation-for-Windows-with-Linux-1" href="#Cross-compilation-for-Windows-with-Linux-1">3.4.3 Cross compilation for Windows with Linux</a></li>
85       <li><a name="toc-Compilation-under-Cygwin" href="#Compilation-under-Cygwin">3.4.4 Compilation under Cygwin</a></li>
86       <li><a name="toc-Crosscompilation-for-Windows-under-Cygwin" href="#Crosscompilation-for-Windows-under-Cygwin">3.4.5 Crosscompilation for Windows under Cygwin</a></li>
87     </ul>
88 </li>
89   </ul>
90 </li>
91 </ul>
92 </div>
93
94 <hr size="1">
95 <a name="external-libraries"></a>
96 <h1 class="chapter"><a href="general.html#toc-external-libraries">1. external libraries</a></h1>
97
98 <p>FFmpeg can be hooked up with a number of external libraries to add support
99 for more formats. None of them are used by default, their use has to be
100 explicitly requested by passing the appropriate flags to &lsquo;<tt>./configure</tt>&rsquo;.
101 </p>
102 <a name="OpenCORE-AMR"></a>
103 <h2 class="section"><a href="general.html#toc-OpenCORE-AMR">1.1 OpenCORE AMR</a></h2>
104
105 <p>FFmpeg can make use of the OpenCORE libraries for AMR-NB
106 decoding/encoding and AMR-WB decoding.
107 </p>
108 <p>Go to <a href="http://sourceforge.net/projects/opencore-amr/">http://sourceforge.net/projects/opencore-amr/</a> and follow the instructions for
109 installing the libraries. Then pass <code>--enable-libopencore-amrnb</code> and/or
110 <code>--enable-libopencore-amrwb</code> to configure to enable the libraries.
111 </p>
112 <p>Note that OpenCORE is under the Apache License 2.0 (see
113 <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a> for details), which is
114 incompatible with the LGPL version 2.1 and GPL version 2. You have to
115 upgrade FFmpeg&rsquo;s license to LGPL version 3 (or if you have enabled
116 GPL components, GPL version 3) to use it.
117 </p>
118
119 <a name="Supported-File-Formats-and-Codecs"></a>
120 <h1 class="chapter"><a href="general.html#toc-Supported-File-Formats-and-Codecs">2. Supported File Formats and Codecs</a></h1>
121
122 <p>You can use the <code>-formats</code> and <code>-codecs</code> options to have an exhaustive list.
123 </p>
124 <a name="File-Formats"></a>
125 <h2 class="section"><a href="general.html#toc-File-Formats">2.1 File Formats</a></h2>
126
127 <p>FFmpeg supports the following file formats through the <code>libavformat</code>
128 library:
129 </p>
130 <table>
131 <tr><td width="40%">Name</td><td width="10%">Encoding</td><td width="10%">Decoding</td><td width="40%">Comments</td></tr>
132 <tr><td width="40%">4xm</td><td width="10%"></td><td width="10%">X</td><td width="40%">4X Technologies format, used in some games.</td></tr>
133 <tr><td width="40%">8088flex TMV</td><td width="10%"></td><td width="10%">X</td></tr>
134 <tr><td width="40%">Adobe Filmstrip</td><td width="10%">X</td><td width="10%">X</td></tr>
135 <tr><td width="40%">Audio IFF (AIFF)</td><td width="10%">X</td><td width="10%">X</td></tr>
136 <tr><td width="40%">American Laser Games MM</td><td width="10%"></td><td width="10%">X</td><td width="40%">Multimedia format used in games like Mad Dog McCree.</td></tr>
137 <tr><td width="40%">3GPP AMR</td><td width="10%">X</td><td width="10%">X</td></tr>
138 <tr><td width="40%">Apple HTTP Live Streaming</td><td width="10%"></td><td width="10%">X</td></tr>
139 <tr><td width="40%">ASF</td><td width="10%">X</td><td width="10%">X</td></tr>
140 <tr><td width="40%">AVI</td><td width="10%">X</td><td width="10%">X</td></tr>
141 <tr><td width="40%">AVISynth</td><td width="10%"></td><td width="10%">X</td></tr>
142 <tr><td width="40%">AVS</td><td width="10%"></td><td width="10%">X</td><td width="40%">Multimedia format used by the Creature Shock game.</td></tr>
143 <tr><td width="40%">Beam Software SIFF</td><td width="10%"></td><td width="10%">X</td><td width="40%">Audio and video format used in some games by Beam Software.</td></tr>
144 <tr><td width="40%">Bethesda Softworks VID</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in some games from Bethesda Softworks.</td></tr>
145 <tr><td width="40%">Bink</td><td width="10%"></td><td width="10%">X</td><td width="40%">Multimedia format used by many games.</td></tr>
146 <tr><td width="40%">Bitmap Brothers JV</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Z and Z95 games.</td></tr>
147 <tr><td width="40%">Brute Force &amp; Ignorance</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in the game Flash Traffic: City of Angels.</td></tr>
148 <tr><td width="40%">BWF</td><td width="10%">X</td><td width="10%">X</td></tr>
149 <tr><td width="40%">Interplay C93</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in the game Cyberia from Interplay.</td></tr>
150 <tr><td width="40%">Delphine Software International CIN</td><td width="10%"></td><td width="10%">X</td><td width="40%">Multimedia format used by Delphine Software games.</td></tr>
151 <tr><td width="40%">CD+G</td><td width="10%"></td><td width="10%">X</td><td width="40%">Video format used by CD+G karaoke disks</td></tr>
152 <tr><td width="40%">Core Audio Format</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Apple Core Audio Format</td></tr>
153 <tr><td width="40%">CRC testing format</td><td width="10%">X</td><td width="10%"></td></tr>
154 <tr><td width="40%">Creative Voice</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Created for the Sound Blaster Pro.</td></tr>
155 <tr><td width="40%">CRYO APC</td><td width="10%"></td><td width="10%">X</td><td width="40%">Audio format used in some games by CRYO Interactive Entertainment.</td></tr>
156 <tr><td width="40%">D-Cinema audio</td><td width="10%">X</td><td width="10%">X</td></tr>
157 <tr><td width="40%">Deluxe Paint Animation</td><td width="10%"></td><td width="10%">X</td></tr>
158 <tr><td width="40%">DFA</td><td width="10%"></td><td width="10%">X</td><td width="40%">This format is used in Chronomaster game</td></tr>
159 <tr><td width="40%">DV video</td><td width="10%">X</td><td width="10%">X</td></tr>
160 <tr><td width="40%">DXA</td><td width="10%"></td><td width="10%">X</td><td width="40%">This format is used in the non-Windows version of the Feeble Files
161          game and different game cutscenes repacked for use with ScummVM.</td></tr>
162 <tr><td width="40%">Electronic Arts cdata</td><td width="10%"></td><td width="10%">X</td></tr>
163 <tr><td width="40%">Electronic Arts Multimedia</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in various EA games; files have extensions like WVE and UV2.</td></tr>
164 <tr><td width="40%">FFM (FFserver live feed)</td><td width="10%">X</td><td width="10%">X</td></tr>
165 <tr><td width="40%">Flash (SWF)</td><td width="10%">X</td><td width="10%">X</td></tr>
166 <tr><td width="40%">Flash 9 (AVM2)</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Only embedded audio is decoded.</td></tr>
167 <tr><td width="40%">FLI/FLC/FLX animation</td><td width="10%"></td><td width="10%">X</td><td width="40%">.fli/.flc files</td></tr>
168 <tr><td width="40%">Flash Video (FLV)</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Macromedia Flash video files</td></tr>
169 <tr><td width="40%">framecrc testing format</td><td width="10%">X</td><td width="10%"></td></tr>
170 <tr><td width="40%">FunCom ISS</td><td width="10%"></td><td width="10%">X</td><td width="40%">Audio format used in various games from FunCom like The Longest Journey.</td></tr>
171 <tr><td width="40%">GIF Animation</td><td width="10%">X</td><td width="10%"></td></tr>
172 <tr><td width="40%">GXF</td><td width="10%">X</td><td width="10%">X</td><td width="40%">General eXchange Format SMPTE 360M, used by Thomson Grass Valley
173          playout servers.</td></tr>
174 <tr><td width="40%">id Quake II CIN video</td><td width="10%"></td><td width="10%">X</td></tr>
175 <tr><td width="40%">id RoQ</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Used in Quake III, Jedi Knight 2, other computer games.</td></tr>
176 <tr><td width="40%">IEC61937 encapsulation</td><td width="10%">X</td><td width="10%">X</td></tr>
177 <tr><td width="40%">IFF</td><td width="10%"></td><td width="10%">X</td><td width="40%">Interchange File Format</td></tr>
178 <tr><td width="40%">Interplay MVE</td><td width="10%"></td><td width="10%">X</td><td width="40%">Format used in various Interplay computer games.</td></tr>
179 <tr><td width="40%">IV8</td><td width="10%"></td><td width="10%">X</td><td width="40%">A format generated by IndigoVision 8000 video server.</td></tr>
180 <tr><td width="40%">IVF (On2)</td><td width="10%">X</td><td width="10%">X</td><td width="40%">A format used by libvpx</td></tr>
181 <tr><td width="40%">LMLM4</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used by Linux Media Labs MPEG-4 PCI boards</td></tr>
182 <tr><td width="40%">LOAS</td><td width="10%"></td><td width="10%">X</td><td width="40%">contains LATM multiplexed AAC audio</td></tr>
183 <tr><td width="40%">LXF</td><td width="10%"></td><td width="10%">X</td><td width="40%">VR native stream format, used by Leitch/Harris&rsquo; video servers.</td></tr>
184 <tr><td width="40%">Matroska</td><td width="10%">X</td><td width="10%">X</td></tr>
185 <tr><td width="40%">Matroska audio</td><td width="10%">X</td><td width="10%"></td></tr>
186 <tr><td width="40%">FFmpeg metadata</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Metadata in text format.</td></tr>
187 <tr><td width="40%">MAXIS XA</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Sim City 3000; file extension .xa.</td></tr>
188 <tr><td width="40%">MD Studio</td><td width="10%"></td><td width="10%">X</td></tr>
189 <tr><td width="40%">Mobotix .mxg</td><td width="10%"></td><td width="10%">X</td></tr>
190 <tr><td width="40%">Monkey&rsquo;s Audio</td><td width="10%"></td><td width="10%">X</td></tr>
191 <tr><td width="40%">Motion Pixels MVI</td><td width="10%"></td><td width="10%">X</td></tr>
192 <tr><td width="40%">MOV/QuickTime/MP4</td><td width="10%">X</td><td width="10%">X</td><td width="40%">3GP, 3GP2, PSP, iPod variants supported</td></tr>
193 <tr><td width="40%">MP2</td><td width="10%">X</td><td width="10%">X</td></tr>
194 <tr><td width="40%">MP3</td><td width="10%">X</td><td width="10%">X</td></tr>
195 <tr><td width="40%">MPEG-1 System</td><td width="10%">X</td><td width="10%">X</td><td width="40%">muxed audio and video, VCD format supported</td></tr>
196 <tr><td width="40%">MPEG-PS (program stream)</td><td width="10%">X</td><td width="10%">X</td><td width="40%">also known as <code>VOB</code> file, SVCD and DVD format supported</td></tr>
197 <tr><td width="40%">MPEG-TS (transport stream)</td><td width="10%">X</td><td width="10%">X</td><td width="40%">also known as DVB Transport Stream</td></tr>
198 <tr><td width="40%">MPEG-4</td><td width="10%">X</td><td width="10%">X</td><td width="40%">MPEG-4 is a variant of QuickTime.</td></tr>
199 <tr><td width="40%">MIME multipart JPEG</td><td width="10%">X</td><td width="10%"></td></tr>
200 <tr><td width="40%">MSN TCP webcam</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used by MSN Messenger webcam streams.</td></tr>
201 <tr><td width="40%">MTV</td><td width="10%"></td><td width="10%">X</td></tr>
202 <tr><td width="40%">Musepack</td><td width="10%"></td><td width="10%">X</td></tr>
203 <tr><td width="40%">Musepack SV8</td><td width="10%"></td><td width="10%">X</td></tr>
204 <tr><td width="40%">Material eXchange Format (MXF)</td><td width="10%">X</td><td width="10%">X</td><td width="40%">SMPTE 377M, used by D-Cinema, broadcast industry.</td></tr>
205 <tr><td width="40%">Material eXchange Format (MXF), D-10 Mapping</td><td width="10%">X</td><td width="10%">X</td><td width="40%">SMPTE 386M, D-10/IMX Mapping.</td></tr>
206 <tr><td width="40%">NC camera feed</td><td width="10%"></td><td width="10%">X</td><td width="40%">NC (AVIP NC4600) camera streams</td></tr>
207 <tr><td width="40%">NTT TwinVQ (VQF)</td><td width="10%"></td><td width="10%">X</td><td width="40%">Nippon Telegraph and Telephone Corporation TwinVQ.</td></tr>
208 <tr><td width="40%">Nullsoft Streaming Video</td><td width="10%"></td><td width="10%">X</td></tr>
209 <tr><td width="40%">NuppelVideo</td><td width="10%"></td><td width="10%">X</td></tr>
210 <tr><td width="40%">NUT</td><td width="10%">X</td><td width="10%">X</td><td width="40%">NUT Open Container Format</td></tr>
211 <tr><td width="40%">Ogg</td><td width="10%">X</td><td width="10%">X</td></tr>
212 <tr><td width="40%">Playstation Portable PMP</td><td width="10%"></td><td width="10%">X</td></tr>
213 <tr><td width="40%">TechnoTrend PVA</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used by TechnoTrend DVB PCI boards.</td></tr>
214 <tr><td width="40%">QCP</td><td width="10%"></td><td width="10%">X</td></tr>
215 <tr><td width="40%">raw ADTS (AAC)</td><td width="10%">X</td><td width="10%">X</td></tr>
216 <tr><td width="40%">raw AC-3</td><td width="10%">X</td><td width="10%">X</td></tr>
217 <tr><td width="40%">raw Chinese AVS video</td><td width="10%">X</td><td width="10%">X</td></tr>
218 <tr><td width="40%">raw CRI ADX</td><td width="10%">X</td><td width="10%">X</td></tr>
219 <tr><td width="40%">raw Dirac</td><td width="10%">X</td><td width="10%">X</td></tr>
220 <tr><td width="40%">raw DNxHD</td><td width="10%">X</td><td width="10%">X</td></tr>
221 <tr><td width="40%">raw DTS</td><td width="10%">X</td><td width="10%">X</td></tr>
222 <tr><td width="40%">raw E-AC-3</td><td width="10%">X</td><td width="10%">X</td></tr>
223 <tr><td width="40%">raw FLAC</td><td width="10%">X</td><td width="10%">X</td></tr>
224 <tr><td width="40%">raw GSM</td><td width="10%"></td><td width="10%">X</td></tr>
225 <tr><td width="40%">raw H.261</td><td width="10%">X</td><td width="10%">X</td></tr>
226 <tr><td width="40%">raw H.263</td><td width="10%">X</td><td width="10%">X</td></tr>
227 <tr><td width="40%">raw H.264</td><td width="10%">X</td><td width="10%">X</td></tr>
228 <tr><td width="40%">raw Ingenient MJPEG</td><td width="10%"></td><td width="10%">X</td></tr>
229 <tr><td width="40%">raw MJPEG</td><td width="10%">X</td><td width="10%">X</td></tr>
230 <tr><td width="40%">raw MLP</td><td width="10%"></td><td width="10%">X</td></tr>
231 <tr><td width="40%">raw MPEG</td><td width="10%"></td><td width="10%">X</td></tr>
232 <tr><td width="40%">raw MPEG-1</td><td width="10%"></td><td width="10%">X</td></tr>
233 <tr><td width="40%">raw MPEG-2</td><td width="10%"></td><td width="10%">X</td></tr>
234 <tr><td width="40%">raw MPEG-4</td><td width="10%">X</td><td width="10%">X</td></tr>
235 <tr><td width="40%">raw NULL</td><td width="10%">X</td><td width="10%"></td></tr>
236 <tr><td width="40%">raw video</td><td width="10%">X</td><td width="10%">X</td></tr>
237 <tr><td width="40%">raw id RoQ</td><td width="10%">X</td><td width="10%"></td></tr>
238 <tr><td width="40%">raw Shorten</td><td width="10%"></td><td width="10%">X</td></tr>
239 <tr><td width="40%">raw TrueHD</td><td width="10%">X</td><td width="10%">X</td></tr>
240 <tr><td width="40%">raw VC-1</td><td width="10%"></td><td width="10%">X</td></tr>
241 <tr><td width="40%">raw PCM A-law</td><td width="10%">X</td><td width="10%">X</td></tr>
242 <tr><td width="40%">raw PCM mu-law</td><td width="10%">X</td><td width="10%">X</td></tr>
243 <tr><td width="40%">raw PCM signed 8 bit</td><td width="10%">X</td><td width="10%">X</td></tr>
244 <tr><td width="40%">raw PCM signed 16 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
245 <tr><td width="40%">raw PCM signed 16 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
246 <tr><td width="40%">raw PCM signed 24 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
247 <tr><td width="40%">raw PCM signed 24 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
248 <tr><td width="40%">raw PCM signed 32 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
249 <tr><td width="40%">raw PCM signed 32 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
250 <tr><td width="40%">raw PCM unsigned 8 bit</td><td width="10%">X</td><td width="10%">X</td></tr>
251 <tr><td width="40%">raw PCM unsigned 16 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
252 <tr><td width="40%">raw PCM unsigned 16 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
253 <tr><td width="40%">raw PCM unsigned 24 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
254 <tr><td width="40%">raw PCM unsigned 24 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
255 <tr><td width="40%">raw PCM unsigned 32 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
256 <tr><td width="40%">raw PCM unsigned 32 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
257 <tr><td width="40%">raw PCM floating-point 32 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
258 <tr><td width="40%">raw PCM floating-point 32 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
259 <tr><td width="40%">raw PCM floating-point 64 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
260 <tr><td width="40%">raw PCM floating-point 64 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
261 <tr><td width="40%">RDT</td><td width="10%"></td><td width="10%">X</td></tr>
262 <tr><td width="40%">REDCODE R3D</td><td width="10%"></td><td width="10%">X</td><td width="40%">File format used by RED Digital cameras, contains JPEG 2000 frames and PCM audio.</td></tr>
263 <tr><td width="40%">RealMedia</td><td width="10%">X</td><td width="10%">X</td></tr>
264 <tr><td width="40%">Redirector</td><td width="10%"></td><td width="10%">X</td></tr>
265 <tr><td width="40%">Renderware TeXture Dictionary</td><td width="10%"></td><td width="10%">X</td></tr>
266 <tr><td width="40%">RL2</td><td width="10%"></td><td width="10%">X</td><td width="40%">Audio and video format used in some games by Entertainment Software Partners.</td></tr>
267 <tr><td width="40%">RPL/ARMovie</td><td width="10%"></td><td width="10%">X</td></tr>
268 <tr><td width="40%">Lego Mindstorms RSO</td><td width="10%">X</td><td width="10%">X</td></tr>
269 <tr><td width="40%">RTMP</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Output is performed by publishing stream to RTMP server</td></tr>
270 <tr><td width="40%">RTP</td><td width="10%">X</td><td width="10%">X</td></tr>
271 <tr><td width="40%">RTSP</td><td width="10%">X</td><td width="10%">X</td></tr>
272 <tr><td width="40%">SAP</td><td width="10%">X</td><td width="10%">X</td></tr>
273 <tr><td width="40%">SDP</td><td width="10%"></td><td width="10%">X</td></tr>
274 <tr><td width="40%">Sega FILM/CPK</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in many Sega Saturn console games.</td></tr>
275 <tr><td width="40%">Sierra SOL</td><td width="10%"></td><td width="10%">X</td><td width="40%">.sol files used in Sierra Online games.</td></tr>
276 <tr><td width="40%">Sierra VMD</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Sierra CD-ROM games.</td></tr>
277 <tr><td width="40%">Smacker</td><td width="10%"></td><td width="10%">X</td><td width="40%">Multimedia format used by many games.</td></tr>
278 <tr><td width="40%">Sony OpenMG (OMA)</td><td width="10%"></td><td width="10%">X</td><td width="40%">Audio format used in Sony Sonic Stage and Sony Vegas.</td></tr>
279 <tr><td width="40%">Sony PlayStation STR</td><td width="10%"></td><td width="10%">X</td></tr>
280 <tr><td width="40%">Sony Wave64 (W64)</td><td width="10%"></td><td width="10%">X</td></tr>
281 <tr><td width="40%">SoX native format</td><td width="10%">X</td><td width="10%">X</td></tr>
282 <tr><td width="40%">SUN AU format</td><td width="10%">X</td><td width="10%">X</td></tr>
283 <tr><td width="40%">Text files</td><td width="10%"></td><td width="10%">X</td></tr>
284 <tr><td width="40%">THP</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used on the Nintendo GameCube.</td></tr>
285 <tr><td width="40%">Tiertex Limited SEQ</td><td width="10%"></td><td width="10%">X</td><td width="40%">Tiertex .seq files used in the DOS CD-ROM version of the game Flashback.</td></tr>
286 <tr><td width="40%">True Audio</td><td width="10%"></td><td width="10%">X</td></tr>
287 <tr><td width="40%">VC-1 test bitstream</td><td width="10%">X</td><td width="10%">X</td></tr>
288 <tr><td width="40%">WAV</td><td width="10%">X</td><td width="10%">X</td></tr>
289 <tr><td width="40%">WavPack</td><td width="10%"></td><td width="10%">X</td></tr>
290 <tr><td width="40%">WebM</td><td width="10%">X</td><td width="10%">X</td></tr>
291 <tr><td width="40%">Windows Televison (WTV)</td><td width="10%"></td><td width="10%">X</td></tr>
292 <tr><td width="40%">Wing Commander III movie</td><td width="10%"></td><td width="10%">X</td><td width="40%">Multimedia format used in Origin&rsquo;s Wing Commander III computer game.</td></tr>
293 <tr><td width="40%">Westwood Studios audio</td><td width="10%"></td><td width="10%">X</td><td width="40%">Multimedia format used in Westwood Studios games.</td></tr>
294 <tr><td width="40%">Westwood Studios VQA</td><td width="10%"></td><td width="10%">X</td><td width="40%">Multimedia format used in Westwood Studios games.</td></tr>
295 <tr><td width="40%">XMV</td><td width="10%"></td><td width="10%">X</td><td width="40%">Microsoft video container used in Xbox games.</td></tr>
296 <tr><td width="40%">xWMA</td><td width="10%"></td><td width="10%">X</td><td width="40%">Microsoft audio container used by XAudio 2.</td></tr>
297 <tr><td width="40%">YUV4MPEG pipe</td><td width="10%">X</td><td width="10%">X</td></tr>
298 <tr><td width="40%">Psygnosis YOP</td><td width="10%"></td><td width="10%">X</td></tr>
299 </table>
300
301 <p><code>X</code> means that encoding (resp. decoding) is supported.
302 </p>
303 <a name="Image-Formats"></a>
304 <h2 class="section"><a href="general.html#toc-Image-Formats">2.2 Image Formats</a></h2>
305
306 <p>FFmpeg can read and write images for each frame of a video sequence. The
307 following image formats are supported:
308 </p>
309 <table>
310 <tr><td width="40%">Name</td><td width="10%">Encoding</td><td width="10%">Decoding</td><td width="40%">Comments</td></tr>
311 <tr><td width="40%">.Y.U.V</td><td width="10%">X</td><td width="10%">X</td><td width="40%">one raw file per component</td></tr>
312 <tr><td width="40%">animated GIF</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Only uncompressed GIFs are generated.</td></tr>
313 <tr><td width="40%">BMP</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Microsoft BMP image</td></tr>
314 <tr><td width="40%">DPX</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Digital Picture Exchange</td></tr>
315 <tr><td width="40%">JPEG</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Progressive JPEG is not supported.</td></tr>
316 <tr><td width="40%">JPEG 2000</td><td width="10%">X</td><td width="10%">X</td></tr>
317 <tr><td width="40%">JPEG-LS</td><td width="10%">X</td><td width="10%">X</td></tr>
318 <tr><td width="40%">LJPEG</td><td width="10%">X</td><td width="10%"></td><td width="40%">Lossless JPEG</td></tr>
319 <tr><td width="40%">PAM</td><td width="10%">X</td><td width="10%">X</td><td width="40%">PAM is a PNM extension with alpha support.</td></tr>
320 <tr><td width="40%">PBM</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Portable BitMap image</td></tr>
321 <tr><td width="40%">PCX</td><td width="10%">X</td><td width="10%">X</td><td width="40%">PC Paintbrush</td></tr>
322 <tr><td width="40%">PGM</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Portable GrayMap image</td></tr>
323 <tr><td width="40%">PGMYUV</td><td width="10%">X</td><td width="10%">X</td><td width="40%">PGM with U and V components in YUV 4:2:0</td></tr>
324 <tr><td width="40%">PIC</td><td width="10%"></td><td width="10%">X</td><td width="40%">Pictor/PC Paint</td></tr>
325 <tr><td width="40%">PNG</td><td width="10%">X</td><td width="10%">X</td><td width="40%">2/4 bpp not supported yet</td></tr>
326 <tr><td width="40%">PPM</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Portable PixelMap image</td></tr>
327 <tr><td width="40%">PTX</td><td width="10%"></td><td width="10%">X</td><td width="40%">V.Flash PTX format</td></tr>
328 <tr><td width="40%">SGI</td><td width="10%">X</td><td width="10%">X</td><td width="40%">SGI RGB image format</td></tr>
329 <tr><td width="40%">Sun Rasterfile</td><td width="10%"></td><td width="10%">X</td><td width="40%">Sun RAS image format</td></tr>
330 <tr><td width="40%">TIFF</td><td width="10%">X</td><td width="10%">X</td><td width="40%">YUV, JPEG and some extension is not supported yet.</td></tr>
331 <tr><td width="40%">Truevision Targa</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Targa (.TGA) image format</td></tr>
332 </table>
333
334 <p><code>X</code> means that encoding (resp. decoding) is supported.
335 </p>
336 <p><code>E</code> means that support is provided through an external library.
337 </p>
338 <a name="Video-Codecs"></a>
339 <h2 class="section"><a href="general.html#toc-Video-Codecs">2.3 Video Codecs</a></h2>
340
341 <table>
342 <tr><td width="40%">Name</td><td width="10%">Encoding</td><td width="10%">Decoding</td><td width="40%">Comments</td></tr>
343 <tr><td width="40%">4X Movie</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in certain computer games.</td></tr>
344 <tr><td width="40%">8088flex TMV</td><td width="10%"></td><td width="10%">X</td></tr>
345 <tr><td width="40%">8SVX exponential</td><td width="10%"></td><td width="10%">X</td></tr>
346 <tr><td width="40%">8SVX fibonacci</td><td width="10%"></td><td width="10%">X</td></tr>
347 <tr><td width="40%">A64 multicolor</td><td width="10%">X</td><td width="10%"></td><td width="40%">Creates video suitable to be played on a commodore 64 (multicolor mode).</td></tr>
348 <tr><td width="40%">American Laser Games MM</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in games like Mad Dog McCree.</td></tr>
349 <tr><td width="40%">AMV Video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Chinese MP3 players.</td></tr>
350 <tr><td width="40%">ANSI/ASCII art</td><td width="10%"></td><td width="10%">X</td></tr>
351 <tr><td width="40%">Apple MJPEG-B</td><td width="10%"></td><td width="10%">X</td></tr>
352 <tr><td width="40%">Apple QuickDraw</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: qdrw</td></tr>
353 <tr><td width="40%">Asus v1</td><td width="10%">X</td><td width="10%">X</td><td width="40%">fourcc: ASV1</td></tr>
354 <tr><td width="40%">Asus v2</td><td width="10%">X</td><td width="10%">X</td><td width="40%">fourcc: ASV2</td></tr>
355 <tr><td width="40%">ATI VCR1</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: VCR1</td></tr>
356 <tr><td width="40%">ATI VCR2</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: VCR2</td></tr>
357 <tr><td width="40%">Auravision Aura</td><td width="10%"></td><td width="10%">X</td></tr>
358 <tr><td width="40%">Auravision Aura 2</td><td width="10%"></td><td width="10%">X</td></tr>
359 <tr><td width="40%">Autodesk Animator Flic video</td><td width="10%"></td><td width="10%">X</td></tr>
360 <tr><td width="40%">Autodesk RLE</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: AASC</td></tr>
361 <tr><td width="40%">AVS (Audio Video Standard) video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Video encoding used by the Creature Shock game.</td></tr>
362 <tr><td width="40%">Beam Software VB</td><td width="10%"></td><td width="10%">X</td></tr>
363 <tr><td width="40%">Bethesda VID video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in some games from Bethesda Softworks.</td></tr>
364 <tr><td width="40%">Bink Video</td><td width="10%"></td><td width="10%">X</td></tr>
365 <tr><td width="40%">Bitmap Brothers JV video</td><td width="10%"></td><td width="10%">X</td></tr>
366 <tr><td width="40%">Brute Force &amp; Ignorance</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in the game Flash Traffic: City of Angels.</td></tr>
367 <tr><td width="40%">C93 video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Codec used in Cyberia game.</td></tr>
368 <tr><td width="40%">CamStudio</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: CSCD</td></tr>
369 <tr><td width="40%">CD+G</td><td width="10%"></td><td width="10%">X</td><td width="40%">Video codec for CD+G karaoke disks</td></tr>
370 <tr><td width="40%">Chinese AVS video</td><td width="10%">E</td><td width="10%">X</td><td width="40%">AVS1-P2, JiZhun profile, encoding through external library libxavs</td></tr>
371 <tr><td width="40%">Delphine Software International CIN video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Codec used in Delphine Software International games.</td></tr>
372 <tr><td width="40%">Cinepak</td><td width="10%"></td><td width="10%">X</td></tr>
373 <tr><td width="40%">Cirrus Logic AccuPak</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: CLJR</td></tr>
374 <tr><td width="40%">Creative YUV (CYUV)</td><td width="10%"></td><td width="10%">X</td></tr>
375 <tr><td width="40%">DFA</td><td width="10%"></td><td width="10%">X</td><td width="40%">Codec used in Chronomaster game.</td></tr>
376 <tr><td width="40%">Dirac</td><td width="10%">E</td><td width="10%">E</td><td width="40%">supported through external libdirac/libschroedinger libraries</td></tr>
377 <tr><td width="40%">Deluxe Paint Animation</td><td width="10%"></td><td width="10%">X</td></tr>
378 <tr><td width="40%">DNxHD</td><td width="10%">X</td><td width="10%">X</td><td width="40%">aka SMPTE VC3</td></tr>
379 <tr><td width="40%">Duck TrueMotion 1.0</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: DUCK</td></tr>
380 <tr><td width="40%">Duck TrueMotion 2.0</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: TM20</td></tr>
381 <tr><td width="40%">DV (Digital Video)</td><td width="10%">X</td><td width="10%">X</td></tr>
382 <tr><td width="40%">Feeble Files/ScummVM DXA</td><td width="10%"></td><td width="10%">X</td><td width="40%">Codec originally used in Feeble Files game.</td></tr>
383 <tr><td width="40%">Electronic Arts CMV video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in NHL 95 game.</td></tr>
384 <tr><td width="40%">Electronic Arts Madcow video</td><td width="10%"></td><td width="10%">X</td></tr>
385 <tr><td width="40%">Electronic Arts TGV video</td><td width="10%"></td><td width="10%">X</td></tr>
386 <tr><td width="40%">Electronic Arts TGQ video</td><td width="10%"></td><td width="10%">X</td></tr>
387 <tr><td width="40%">Electronic Arts TQI video</td><td width="10%"></td><td width="10%">X</td></tr>
388 <tr><td width="40%">Escape 124</td><td width="10%"></td><td width="10%">X</td></tr>
389 <tr><td width="40%">FFmpeg video codec #1</td><td width="10%">X</td><td width="10%">X</td><td width="40%">experimental lossless codec (fourcc: FFV1)</td></tr>
390 <tr><td width="40%">Flash Screen Video v1</td><td width="10%">X</td><td width="10%">X</td><td width="40%">fourcc: FSV1</td></tr>
391 <tr><td width="40%">Flash Screen Video v2</td><td width="10%">X</td><td width="10%">X</td></tr>
392 <tr><td width="40%">Flash Video (FLV)</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Sorenson H.263 used in Flash</td></tr>
393 <tr><td width="40%">Fraps</td><td width="10%"></td><td width="10%">X</td></tr>
394 <tr><td width="40%">H.261</td><td width="10%">X</td><td width="10%">X</td></tr>
395 <tr><td width="40%">H.263 / H.263-1996</td><td width="10%">X</td><td width="10%">X</td></tr>
396 <tr><td width="40%">H.263+ / H.263-1998 / H.263 version 2</td><td width="10%">X</td><td width="10%">X</td></tr>
397 <tr><td width="40%">H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10</td><td width="10%">E</td><td width="10%">X</td><td width="40%">encoding supported through external library libx264</td></tr>
398 <tr><td width="40%">H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)</td><td width="10%">E</td><td width="10%">X</td></tr>
399 <tr><td width="40%">HuffYUV</td><td width="10%">X</td><td width="10%">X</td></tr>
400 <tr><td width="40%">HuffYUV FFmpeg variant</td><td width="10%">X</td><td width="10%">X</td></tr>
401 <tr><td width="40%">IBM Ultimotion</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: ULTI</td></tr>
402 <tr><td width="40%">id Cinematic video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Quake II.</td></tr>
403 <tr><td width="40%">id RoQ video</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Used in Quake III, Jedi Knight 2, other computer games.</td></tr>
404 <tr><td width="40%">IFF ILBM</td><td width="10%"></td><td width="10%">X</td><td width="40%">IFF interlaved bitmap</td></tr>
405 <tr><td width="40%">IFF ByteRun1</td><td width="10%"></td><td width="10%">X</td><td width="40%">IFF run length encoded bitmap</td></tr>
406 <tr><td width="40%">Intel H.263</td><td width="10%"></td><td width="10%">X</td></tr>
407 <tr><td width="40%">Intel Indeo 2</td><td width="10%"></td><td width="10%">X</td></tr>
408 <tr><td width="40%">Intel Indeo 3</td><td width="10%"></td><td width="10%">X</td></tr>
409 <tr><td width="40%">Intel Indeo 5</td><td width="10%"></td><td width="10%">X</td></tr>
410 <tr><td width="40%">Interplay C93</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in the game Cyberia from Interplay.</td></tr>
411 <tr><td width="40%">Interplay MVE video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Interplay .MVE files.</td></tr>
412 <tr><td width="40%">Karl Morton&rsquo;s video codec</td><td width="10%"></td><td width="10%">X</td><td width="40%">Codec used in Worms games.</td></tr>
413 <tr><td width="40%">Kega Game Video (KGV1)</td><td width="10%"></td><td width="10%">X</td><td width="40%">Kega emulator screen capture codec.</td></tr>
414 <tr><td width="40%">Lagarith</td><td width="10%"></td><td width="10%">X</td></tr>
415 <tr><td width="40%">LCL (LossLess Codec Library) MSZH</td><td width="10%"></td><td width="10%">X</td></tr>
416 <tr><td width="40%">LCL (LossLess Codec Library) ZLIB</td><td width="10%">E</td><td width="10%">E</td></tr>
417 <tr><td width="40%">LOCO</td><td width="10%"></td><td width="10%">X</td></tr>
418 <tr><td width="40%">lossless MJPEG</td><td width="10%">X</td><td width="10%">X</td></tr>
419 <tr><td width="40%">Microsoft RLE</td><td width="10%"></td><td width="10%">X</td></tr>
420 <tr><td width="40%">Microsoft Video 1</td><td width="10%"></td><td width="10%">X</td></tr>
421 <tr><td width="40%">Mimic</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in MSN Messenger Webcam streams.</td></tr>
422 <tr><td width="40%">Miro VideoXL</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: VIXL</td></tr>
423 <tr><td width="40%">MJPEG (Motion JPEG)</td><td width="10%">X</td><td width="10%">X</td></tr>
424 <tr><td width="40%">Mobotix MxPEG video</td><td width="10%"></td><td width="10%">X</td></tr>
425 <tr><td width="40%">Motion Pixels video</td><td width="10%"></td><td width="10%">X</td></tr>
426 <tr><td width="40%">MPEG-1 video</td><td width="10%">X</td><td width="10%">X</td></tr>
427 <tr><td width="40%">MPEG-1/2 video XvMC (X-Video Motion Compensation)</td><td width="10%"></td><td width="10%">X</td></tr>
428 <tr><td width="40%">MPEG-1/2 video (VDPAU acceleration)</td><td width="10%"></td><td width="10%">X</td></tr>
429 <tr><td width="40%">MPEG-2 video</td><td width="10%">X</td><td width="10%">X</td></tr>
430 <tr><td width="40%">MPEG-4 part 2</td><td width="10%">X</td><td width="10%">X
431     &nbsp;libxvidcore can be used alternatively for encoding.</td></tr>
432 <tr><td width="40%">MPEG-4 part 2 Microsoft variant version 1</td><td width="10%"></td><td width="10%">X</td></tr>
433 <tr><td width="40%">MPEG-4 part 2 Microsoft variant version 2</td><td width="10%">X</td><td width="10%">X</td></tr>
434 <tr><td width="40%">MPEG-4 part 2 Microsoft variant version 3</td><td width="10%">X</td><td width="10%">X</td></tr>
435 <tr><td width="40%">Nintendo Gamecube THP video</td><td width="10%"></td><td width="10%">X</td></tr>
436 <tr><td width="40%">NuppelVideo/RTjpeg</td><td width="10%"></td><td width="10%">X</td><td width="40%">Video encoding used in NuppelVideo files.</td></tr>
437 <tr><td width="40%">On2 VP3</td><td width="10%"></td><td width="10%">X</td><td width="40%">still experimental</td></tr>
438 <tr><td width="40%">On2 VP5</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: VP50</td></tr>
439 <tr><td width="40%">On2 VP6</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: VP60,VP61,VP62</td></tr>
440 <tr><td width="40%">VP8</td><td width="10%">E</td><td width="10%">X</td><td width="40%">fourcc: VP80, encoding supported through external library libvpx</td></tr>
441 <tr><td width="40%">planar RGB</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: 8BPS</td></tr>
442 <tr><td width="40%">Q-team QPEG</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourccs: QPEG, Q1.0, Q1.1</td></tr>
443 <tr><td width="40%">QuickTime 8BPS video</td><td width="10%"></td><td width="10%">X</td></tr>
444 <tr><td width="40%">QuickTime Animation (RLE) video</td><td width="10%">X</td><td width="10%">X</td><td width="40%">fourcc: &rsquo;rle &rsquo;</td></tr>
445 <tr><td width="40%">QuickTime Graphics (SMC)</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: &rsquo;smc &rsquo;</td></tr>
446 <tr><td width="40%">QuickTime video (RPZA)</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: rpza</td></tr>
447 <tr><td width="40%">R10K AJA Kona 10-bit RGB Codec</td><td width="10%"></td><td width="10%">X</td></tr>
448 <tr><td width="40%">R210 Quicktime Uncompressed RGB 10-bit</td><td width="10%"></td><td width="10%">X</td></tr>
449 <tr><td width="40%">Raw Video</td><td width="10%">X</td><td width="10%">X</td></tr>
450 <tr><td width="40%">RealVideo 1.0</td><td width="10%">X</td><td width="10%">X</td></tr>
451 <tr><td width="40%">RealVideo 2.0</td><td width="10%">X</td><td width="10%">X</td></tr>
452 <tr><td width="40%">RealVideo 3.0</td><td width="10%"></td><td width="10%">X</td><td width="40%">still far from ideal</td></tr>
453 <tr><td width="40%">RealVideo 4.0</td><td width="10%"></td><td width="10%">X</td></tr>
454 <tr><td width="40%">Renderware TXD (TeXture Dictionary)</td><td width="10%"></td><td width="10%">X</td><td width="40%">Texture dictionaries used by the Renderware Engine.</td></tr>
455 <tr><td width="40%">RL2 video</td><td width="10%"></td><td width="10%">X</td><td width="40%">used in some games by Entertainment Software Partners</td></tr>
456 <tr><td width="40%">Sierra VMD video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Sierra VMD files.</td></tr>
457 <tr><td width="40%">Smacker video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Video encoding used in Smacker.</td></tr>
458 <tr><td width="40%">SMPTE VC-1</td><td width="10%"></td><td width="10%">X</td></tr>
459 <tr><td width="40%">Snow</td><td width="10%">X</td><td width="10%">X</td><td width="40%">experimental wavelet codec (fourcc: SNOW)</td></tr>
460 <tr><td width="40%">Sony PlayStation MDEC (Motion DECoder)</td><td width="10%"></td><td width="10%">X</td></tr>
461 <tr><td width="40%">Sorenson Vector Quantizer 1</td><td width="10%">X</td><td width="10%">X</td><td width="40%">fourcc: SVQ1</td></tr>
462 <tr><td width="40%">Sorenson Vector Quantizer 3</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: SVQ3</td></tr>
463 <tr><td width="40%">Sunplus JPEG (SP5X)</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: SP5X</td></tr>
464 <tr><td width="40%">TechSmith Screen Capture Codec</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: TSCC</td></tr>
465 <tr><td width="40%">Theora</td><td width="10%">E</td><td width="10%">X</td><td width="40%">encoding supported through external library libtheora</td></tr>
466 <tr><td width="40%">Tiertex Limited SEQ video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Codec used in DOS CD-ROM FlashBack game.</td></tr>
467 <tr><td width="40%">V210 Quicktime Uncompressed 4:2:2 10-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
468 <tr><td width="40%">VMware Screen Codec / VMware Video</td><td width="10%"></td><td width="10%">X</td><td width="40%">Codec used in videos captured by VMware.</td></tr>
469 <tr><td width="40%">Westwood Studios VQA (Vector Quantized Animation) video</td><td width="10%"></td><td width="10%">X</td></tr>
470 <tr><td width="40%">Windows Media Image</td><td width="10%"></td><td width="10%">X</td></tr>
471 <tr><td width="40%">Windows Media Video 7</td><td width="10%">X</td><td width="10%">X</td></tr>
472 <tr><td width="40%">Windows Media Video 8</td><td width="10%">X</td><td width="10%">X</td></tr>
473 <tr><td width="40%">Windows Media Video 9</td><td width="10%"></td><td width="10%">X</td><td width="40%">not completely working</td></tr>
474 <tr><td width="40%">Wing Commander III / Xan</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Wing Commander III .MVE files.</td></tr>
475 <tr><td width="40%">Wing Commander IV / Xan</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Wing Commander IV.</td></tr>
476 <tr><td width="40%">Winnov WNV1</td><td width="10%"></td><td width="10%">X</td></tr>
477 <tr><td width="40%">WMV7</td><td width="10%">X</td><td width="10%">X</td></tr>
478 <tr><td width="40%">YAMAHA SMAF</td><td width="10%">X</td><td width="10%">X</td></tr>
479 <tr><td width="40%">Psygnosis YOP Video</td><td width="10%"></td><td width="10%">X</td></tr>
480 <tr><td width="40%">ZLIB</td><td width="10%">X</td><td width="10%">X</td><td width="40%">part of LCL, encoder experimental</td></tr>
481 <tr><td width="40%">Zip Motion Blocks Video</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Encoder works only in PAL8.</td></tr>
482 </table>
483
484 <p><code>X</code> means that encoding (resp. decoding) is supported.
485 </p>
486 <p><code>E</code> means that support is provided through an external library.
487 </p>
488 <a name="Audio-Codecs"></a>
489 <h2 class="section"><a href="general.html#toc-Audio-Codecs">2.4 Audio Codecs</a></h2>
490
491 <table>
492 <tr><td width="40%">Name</td><td width="10%">Encoding</td><td width="10%">Decoding</td><td width="40%">Comments</td></tr>
493 <tr><td width="40%">8SVX audio</td><td width="10%"></td><td width="10%">X</td></tr>
494 <tr><td width="40%">AAC</td><td width="10%">E</td><td width="10%">X</td><td width="40%">encoding supported through external library libfaac and libvo-aacenc</td></tr>
495 <tr><td width="40%">AC-3</td><td width="10%">IX</td><td width="10%">X</td></tr>
496 <tr><td width="40%">ADPCM 4X Movie</td><td width="10%"></td><td width="10%">X</td></tr>
497 <tr><td width="40%">ADPCM CDROM XA</td><td width="10%"></td><td width="10%">X</td></tr>
498 <tr><td width="40%">ADPCM Creative Technology</td><td width="10%"></td><td width="10%">X</td><td width="40%">16 -&gt; 4, 8 -&gt; 4, 8 -&gt; 3, 8 -&gt; 2</td></tr>
499 <tr><td width="40%">ADPCM Electronic Arts</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in various EA titles.</td></tr>
500 <tr><td width="40%">ADPCM Electronic Arts Maxis CDROM XS</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Sim City 3000.</td></tr>
501 <tr><td width="40%">ADPCM Electronic Arts R1</td><td width="10%"></td><td width="10%">X</td></tr>
502 <tr><td width="40%">ADPCM Electronic Arts R2</td><td width="10%"></td><td width="10%">X</td></tr>
503 <tr><td width="40%">ADPCM Electronic Arts R3</td><td width="10%"></td><td width="10%">X</td></tr>
504 <tr><td width="40%">ADPCM Electronic Arts XAS</td><td width="10%"></td><td width="10%">X</td></tr>
505 <tr><td width="40%">ADPCM G.722</td><td width="10%">X</td><td width="10%">X</td></tr>
506 <tr><td width="40%">ADPCM G.726</td><td width="10%">X</td><td width="10%">X</td></tr>
507 <tr><td width="40%">ADPCM IMA AMV</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in AMV files</td></tr>
508 <tr><td width="40%">ADPCM IMA Electronic Arts EACS</td><td width="10%"></td><td width="10%">X</td></tr>
509 <tr><td width="40%">ADPCM IMA Electronic Arts SEAD</td><td width="10%"></td><td width="10%">X</td></tr>
510 <tr><td width="40%">ADPCM IMA Funcom</td><td width="10%"></td><td width="10%">X</td></tr>
511 <tr><td width="40%">ADPCM IMA QuickTime</td><td width="10%">X</td><td width="10%">X</td></tr>
512 <tr><td width="40%">ADPCM IMA Loki SDL MJPEG</td><td width="10%"></td><td width="10%">X</td></tr>
513 <tr><td width="40%">ADPCM IMA WAV</td><td width="10%">X</td><td width="10%">X</td></tr>
514 <tr><td width="40%">ADPCM IMA Westwood</td><td width="10%"></td><td width="10%">X</td></tr>
515 <tr><td width="40%">ADPCM ISS IMA</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in FunCom games.</td></tr>
516 <tr><td width="40%">ADPCM IMA Duck DK3</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in some Sega Saturn console games.</td></tr>
517 <tr><td width="40%">ADPCM IMA Duck DK4</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in some Sega Saturn console games.</td></tr>
518 <tr><td width="40%">ADPCM Microsoft</td><td width="10%">X</td><td width="10%">X</td></tr>
519 <tr><td width="40%">ADPCM MS IMA</td><td width="10%">X</td><td width="10%">X</td></tr>
520 <tr><td width="40%">ADPCM Nintendo Gamecube THP</td><td width="10%"></td><td width="10%">X</td></tr>
521 <tr><td width="40%">ADPCM QT IMA</td><td width="10%">X</td><td width="10%">X</td></tr>
522 <tr><td width="40%">ADPCM SEGA CRI ADX</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Used in Sega Dreamcast games.</td></tr>
523 <tr><td width="40%">ADPCM Shockwave Flash</td><td width="10%">X</td><td width="10%">X</td></tr>
524 <tr><td width="40%">ADPCM SMJPEG IMA</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in certain Loki game ports.</td></tr>
525 <tr><td width="40%">ADPCM Sound Blaster Pro 2-bit</td><td width="10%"></td><td width="10%">X</td></tr>
526 <tr><td width="40%">ADPCM Sound Blaster Pro 2.6-bit</td><td width="10%"></td><td width="10%">X</td></tr>
527 <tr><td width="40%">ADPCM Sound Blaster Pro 4-bit</td><td width="10%"></td><td width="10%">X</td></tr>
528 <tr><td width="40%">ADPCM Westwood Studios IMA</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Westwood Studios games like Command and Conquer.</td></tr>
529 <tr><td width="40%">ADPCM Yamaha</td><td width="10%">X</td><td width="10%">X</td></tr>
530 <tr><td width="40%">AMR-NB</td><td width="10%">E</td><td width="10%">X</td><td width="40%">encoding supported through external library libopencore-amrnb</td></tr>
531 <tr><td width="40%">AMR-WB</td><td width="10%">E</td><td width="10%">X</td><td width="40%">encoding supported through external library libvo-amrwbenc</td></tr>
532 <tr><td width="40%">Apple lossless audio</td><td width="10%">X</td><td width="10%">X</td><td width="40%">QuickTime fourcc &rsquo;alac&rsquo;</td></tr>
533 <tr><td width="40%">Atrac 1</td><td width="10%"></td><td width="10%">X</td></tr>
534 <tr><td width="40%">Atrac 3</td><td width="10%"></td><td width="10%">X</td></tr>
535 <tr><td width="40%">Bink Audio</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Bink and Smacker files in many games.</td></tr>
536 <tr><td width="40%">CELT (Opus)</td><td width="10%"></td><td width="10%">E</td><td width="40%">decoding supported through external library libcelt</td></tr>
537 <tr><td width="40%">Delphine Software International CIN audio</td><td width="10%"></td><td width="10%">X</td><td width="40%">Codec used in Delphine Software International games.</td></tr>
538 <tr><td width="40%">COOK</td><td width="10%"></td><td width="10%">X</td><td width="40%">All versions except 5.1 are supported.</td></tr>
539 <tr><td width="40%">DCA (DTS Coherent Acoustics)</td><td width="10%">X</td><td width="10%">X</td></tr>
540 <tr><td width="40%">DPCM id RoQ</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Used in Quake III, Jedi Knight 2, other computer games.</td></tr>
541 <tr><td width="40%">DPCM Interplay</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in various Interplay computer games.</td></tr>
542 <tr><td width="40%">DPCM Sierra Online</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Sierra Online game audio files.</td></tr>
543 <tr><td width="40%">DPCM Sol</td><td width="10%"></td><td width="10%">X</td></tr>
544 <tr><td width="40%">DPCM Xan</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Origin&rsquo;s Wing Commander IV AVI files.</td></tr>
545 <tr><td width="40%">DSP Group TrueSpeech</td><td width="10%"></td><td width="10%">X</td></tr>
546 <tr><td width="40%">DV audio</td><td width="10%"></td><td width="10%">X</td></tr>
547 <tr><td width="40%">Enhanced AC-3</td><td width="10%">X</td><td width="10%">X</td></tr>
548 <tr><td width="40%">FLAC (Free Lossless Audio Codec)</td><td width="10%">X</td><td width="10%">IX</td></tr>
549 <tr><td width="40%">GSM</td><td width="10%">E</td><td width="10%">X</td><td width="40%">encoding supported through external library libgsm</td></tr>
550 <tr><td width="40%">GSM Microsoft variant</td><td width="10%">E</td><td width="10%">X</td><td width="40%">encoding supported through external library libgsm</td></tr>
551 <tr><td width="40%">IMC (Intel Music Coder)</td><td width="10%"></td><td width="10%">X</td></tr>
552 <tr><td width="40%">MACE (Macintosh Audio Compression/Expansion) 3:1</td><td width="10%"></td><td width="10%">X</td></tr>
553 <tr><td width="40%">MACE (Macintosh Audio Compression/Expansion) 6:1</td><td width="10%"></td><td width="10%">X</td></tr>
554 <tr><td width="40%">MLP (Meridian Lossless Packing)</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in DVD-Audio discs.</td></tr>
555 <tr><td width="40%">Monkey&rsquo;s Audio</td><td width="10%"></td><td width="10%">X</td><td width="40%">Only versions 3.97-3.99 are supported.</td></tr>
556 <tr><td width="40%">MP1 (MPEG audio layer 1)</td><td width="10%"></td><td width="10%">IX</td></tr>
557 <tr><td width="40%">MP2 (MPEG audio layer 2)</td><td width="10%">IX</td><td width="10%">IX</td></tr>
558 <tr><td width="40%">MP3 (MPEG audio layer 3)</td><td width="10%">E</td><td width="10%">IX</td><td width="40%">encoding supported through external library LAME, ADU MP3 and MP3onMP4 also supported</td></tr>
559 <tr><td width="40%">MPEG-4 Audio Lossless Coding (ALS)</td><td width="10%"></td><td width="10%">X</td></tr>
560 <tr><td width="40%">Musepack SV7</td><td width="10%"></td><td width="10%">X</td></tr>
561 <tr><td width="40%">Musepack SV8</td><td width="10%"></td><td width="10%">X</td></tr>
562 <tr><td width="40%">Nellymoser Asao</td><td width="10%">X</td><td width="10%">X</td></tr>
563 <tr><td width="40%">PCM A-law</td><td width="10%">X</td><td width="10%">X</td></tr>
564 <tr><td width="40%">PCM mu-law</td><td width="10%">X</td><td width="10%">X</td></tr>
565 <tr><td width="40%">PCM 16-bit little-endian planar</td><td width="10%"></td><td width="10%">X</td></tr>
566 <tr><td width="40%">PCM 32-bit floating point big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
567 <tr><td width="40%">PCM 32-bit floating point little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
568 <tr><td width="40%">PCM 64-bit floating point big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
569 <tr><td width="40%">PCM 64-bit floating point little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
570 <tr><td width="40%">PCM D-Cinema audio signed 24-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
571 <tr><td width="40%">PCM signed 8-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
572 <tr><td width="40%">PCM signed 16-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
573 <tr><td width="40%">PCM signed 16-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
574 <tr><td width="40%">PCM signed 24-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
575 <tr><td width="40%">PCM signed 24-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
576 <tr><td width="40%">PCM signed 32-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
577 <tr><td width="40%">PCM signed 32-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
578 <tr><td width="40%">PCM signed 16/20/24-bit big-endian in MPEG-TS</td><td width="10%"></td><td width="10%">X</td></tr>
579 <tr><td width="40%">PCM unsigned 8-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
580 <tr><td width="40%">PCM unsigned 16-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
581 <tr><td width="40%">PCM unsigned 16-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
582 <tr><td width="40%">PCM unsigned 24-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
583 <tr><td width="40%">PCM unsigned 24-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
584 <tr><td width="40%">PCM unsigned 32-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
585 <tr><td width="40%">PCM unsigned 32-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
586 <tr><td width="40%">PCM Zork</td><td width="10%">X</td><td width="10%">X</td></tr>
587 <tr><td width="40%">QCELP / PureVoice</td><td width="10%"></td><td width="10%">X</td></tr>
588 <tr><td width="40%">QDesign Music Codec 2</td><td width="10%"></td><td width="10%">X</td><td width="40%">There are still some distortions.</td></tr>
589 <tr><td width="40%">RealAudio 1.0 (14.4K)</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Real 14400 bit/s codec</td></tr>
590 <tr><td width="40%">RealAudio 2.0 (28.8K)</td><td width="10%"></td><td width="10%">X</td><td width="40%">Real 28800 bit/s codec</td></tr>
591 <tr><td width="40%">RealAudio 3.0 (dnet)</td><td width="10%">IX</td><td width="10%">X</td><td width="40%">Real low bitrate AC-3 codec</td></tr>
592 <tr><td width="40%">RealAudio SIPR / ACELP.NET</td><td width="10%"></td><td width="10%">X</td></tr>
593 <tr><td width="40%">Shorten</td><td width="10%"></td><td width="10%">X</td></tr>
594 <tr><td width="40%">Sierra VMD audio</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in Sierra VMD files.</td></tr>
595 <tr><td width="40%">Smacker audio</td><td width="10%"></td><td width="10%">X</td></tr>
596 <tr><td width="40%">SMPTE 302M AES3 audio</td><td width="10%"></td><td width="10%">X</td></tr>
597 <tr><td width="40%">Sonic</td><td width="10%">X</td><td width="10%">X</td><td width="40%">experimental codec</td></tr>
598 <tr><td width="40%">Sonic lossless</td><td width="10%">X</td><td width="10%">X</td><td width="40%">experimental codec</td></tr>
599 <tr><td width="40%">Speex</td><td width="10%"></td><td width="10%">E</td><td width="40%">supported through external library libspeex</td></tr>
600 <tr><td width="40%">True Audio (TTA)</td><td width="10%"></td><td width="10%">X</td></tr>
601 <tr><td width="40%">TrueHD</td><td width="10%"></td><td width="10%">X</td><td width="40%">Used in HD-DVD and Blu-Ray discs.</td></tr>
602 <tr><td width="40%">TwinVQ (VQF flavor)</td><td width="10%"></td><td width="10%">X</td></tr>
603 <tr><td width="40%">Vorbis</td><td width="10%">E</td><td width="10%">X</td><td width="40%">A native but very primitive encoder exists.</td></tr>
604 <tr><td width="40%">WavPack</td><td width="10%"></td><td width="10%">X</td></tr>
605 <tr><td width="40%">Westwood Audio (SND1)</td><td width="10%"></td><td width="10%">X</td></tr>
606 <tr><td width="40%">Windows Media Audio 1</td><td width="10%">X</td><td width="10%">X</td></tr>
607 <tr><td width="40%">Windows Media Audio 2</td><td width="10%">X</td><td width="10%">X</td></tr>
608 <tr><td width="40%">Windows Media Audio Pro</td><td width="10%"></td><td width="10%">X</td></tr>
609 <tr><td width="40%">Windows Media Audio Voice</td><td width="10%"></td><td width="10%">X</td></tr>
610 </table>
611
612 <p><code>X</code> means that encoding (resp. decoding) is supported.
613 </p>
614 <p><code>E</code> means that support is provided through an external library.
615 </p>
616 <p><code>I</code> means that an integer-only version is available, too (ensures high
617 performance on systems without hardware floating point support).
618 </p>
619 <a name="Subtitle-Formats"></a>
620 <h2 class="section"><a href="general.html#toc-Subtitle-Formats">2.5 Subtitle Formats</a></h2>
621
622 <table>
623 <tr><td width="40%">Name</td><td width="10%">Muxing</td><td width="10%">Demuxing</td><td width="10%">Encoding</td><td width="10%">Decoding</td></tr>
624 <tr><td width="40%">SSA/ASS</td><td width="10%">X</td><td width="10%">X</td><td width="10%">X</td><td width="10%">X</td></tr>
625 <tr><td width="40%">DVB</td><td width="10%">X</td><td width="10%">X</td><td width="10%">X</td><td width="10%">X</td></tr>
626 <tr><td width="40%">DVD</td><td width="10%">X</td><td width="10%">X</td><td width="10%">X</td><td width="10%">X</td></tr>
627 <tr><td width="40%">MicroDVD</td><td width="10%">X</td><td width="10%">X</td><td width="10%"></td><td width="10%"></td></tr>
628 <tr><td width="40%">PGS</td><td width="10%"></td><td width="10%"></td><td width="10%"></td><td width="10%">X</td></tr>
629 <tr><td width="40%">SubRip (SRT)</td><td width="10%">X</td><td width="10%">X</td><td width="10%">X</td><td width="10%">X</td></tr>
630 <tr><td width="40%">XSUB</td><td width="10%"></td><td width="10%"></td><td width="10%">X</td><td width="10%">X</td></tr>
631 </table>
632
633 <p><code>X</code> means that the feature is supported.
634 </p>
635 <a name="Network-Protocols"></a>
636 <h2 class="section"><a href="general.html#toc-Network-Protocols">2.6 Network Protocols</a></h2>
637
638 <table>
639 <tr><td width="40%">Name</td><td width="10%">Support</td></tr>
640 <tr><td width="40%">Apple HTTP Live Streaming</td><td width="10%">X</td></tr>
641 <tr><td width="40%">file</td><td width="10%">X</td></tr>
642 <tr><td width="40%">Gopher</td><td width="10%">X</td></tr>
643 <tr><td width="40%">HTTP</td><td width="10%">X</td></tr>
644 <tr><td width="40%">MMS</td><td width="10%">X</td></tr>
645 <tr><td width="40%">pipe</td><td width="10%">X</td></tr>
646 <tr><td width="40%">RTP</td><td width="10%">X</td></tr>
647 <tr><td width="40%">TCP</td><td width="10%">X</td></tr>
648 <tr><td width="40%">UDP</td><td width="10%">X</td></tr>
649 </table>
650
651 <p><code>X</code> means that the protocol is supported.
652 </p>
653
654 <a name="Input_002fOutput-Devices"></a>
655 <h2 class="section"><a href="general.html#toc-Input_002fOutput-Devices">2.7 Input/Output Devices</a></h2>
656
657 <table>
658 <tr><td width="40%">Name</td><td width="10%">Input</td><td width="10%">Output</td></tr>
659 <tr><td width="40%">ALSA</td><td width="10%">X</td><td width="10%">X</td></tr>
660 <tr><td width="40%">BKTR</td><td width="10%">X</td><td width="10%"></td></tr>
661 <tr><td width="40%">DV1394</td><td width="10%">X</td><td width="10%"></td></tr>
662 <tr><td width="40%">JACK</td><td width="10%">X</td><td width="10%"></td></tr>
663 <tr><td width="40%">LIBDC1394</td><td width="10%">X</td><td width="10%"></td></tr>
664 <tr><td width="40%">OSS</td><td width="10%">X</td><td width="10%">X</td></tr>
665 <tr><td width="40%">Video4Linux</td><td width="10%">X</td><td width="10%"></td></tr>
666 <tr><td width="40%">Video4Linux2</td><td width="10%">X</td><td width="10%"></td></tr>
667 <tr><td width="40%">VfW capture</td><td width="10%">X</td><td width="10%"></td></tr>
668 <tr><td width="40%">X11 grabbing</td><td width="10%">X</td><td width="10%"></td></tr>
669 </table>
670
671 <p><code>X</code> means that input/output is supported.
672 </p>
673
674 <a name="Platform-Specific-information"></a>
675 <h1 class="chapter"><a href="general.html#toc-Platform-Specific-information">3. Platform Specific information</a></h1>
676
677 <a name="DOS"></a>
678 <h2 class="section"><a href="general.html#toc-DOS">3.1 DOS</a></h2>
679
680 <p>Using a cross-compiler is preferred for various reasons.
681 </p>
682 <a name="OS_002f2"></a>
683 <h2 class="section"><a href="general.html#toc-OS_002f2">3.2 OS/2</a></h2>
684
685 <p>For information about compiling FFmpeg on OS/2 see
686 <a href="http://www.edm2.com/index.php/FFmpeg">http://www.edm2.com/index.php/FFmpeg</a>.
687 </p>
688 <a name="Unix_002dlike"></a>
689 <h2 class="section"><a href="general.html#toc-Unix_002dlike">3.3 Unix-like</a></h2>
690
691 <p>Some parts of FFmpeg cannot be built with version 2.15 of the GNU
692 assembler which is still provided by a few AMD64 distributions. To
693 make sure your compiler really uses the required version of gas
694 after a binutils upgrade, run:
695 </p>
696 <table><tr><td>&nbsp;</td><td><pre class="example">$(gcc -print-prog-name=as) --version
697 </pre></td></tr></table>
698
699 <p>If not, then you should install a different compiler that has no
700 hard-coded path to gas. In the worst case pass <code>--disable-asm</code>
701 to configure.
702 </p>
703 <a name="BSD"></a>
704 <h3 class="subsection"><a href="general.html#toc-BSD">3.3.1 BSD</a></h3>
705
706 <p>BSD make will not build FFmpeg, you need to install and use GNU Make
707 (&lsquo;<tt>gmake</tt>&rsquo;).
708 </p>
709 <a name="g_t_0028Open_0029Solaris"></a>
710 <h3 class="subsection"><a href="general.html#toc-_0028Open_0029Solaris">3.3.2 (Open)Solaris</a></h3>
711
712 <p>GNU Make is required to build FFmpeg, so you have to invoke (&lsquo;<tt>gmake</tt>&rsquo;),
713 standard Solaris Make will not work. When building with a non-c99 front-end
714 (gcc, generic suncc) add either <code>--extra-libs=/usr/lib/values-xpg6.o</code>
715 or <code>--extra-libs=/usr/lib/64/values-xpg6.o</code> to the configure options
716 since the libc is not c99-compliant by default. The probes performed by
717 configure may raise an exception leading to the death of configure itself
718 due to a bug in the system shell. Simply invoke a different shell such as
719 bash directly to work around this:
720 </p>
721 <table><tr><td>&nbsp;</td><td><pre class="example">bash ./configure
722 </pre></td></tr></table>
723
724 <a name="Darwin-_0028MacOS-X_002c-iPhone_0029"></a>
725 <h3 class="subsection"><a href="general.html#toc-Darwin-_0028MacOS-X_002c-iPhone_0029">3.3.3 Darwin (MacOS X, iPhone)</a></h3>
726
727 <p>MacOS X on PowerPC or ARM (iPhone) requires a preprocessor from
728 <a href="http://github.com/yuvi/gas-preprocessor">http://github.com/yuvi/gas-preprocessor</a> to build the optimized
729 assembler functions. Just download the Perl script and put it somewhere
730 in your PATH, FFmpeg&rsquo;s configure will pick it up automatically.
731 </p>
732 <a name="Windows"></a>
733 <h2 class="section"><a href="general.html#toc-Windows">3.4 Windows</a></h2>
734
735 <p>To get help and instructions for building FFmpeg under Windows, check out
736 the FFmpeg Windows Help Forum at
737 <a href="http://ffmpeg.arrozcru.org/">http://ffmpeg.arrozcru.org/</a>.
738 </p>
739 <a name="Native-Windows-compilation"></a>
740 <h3 class="subsection"><a href="general.html#toc-Native-Windows-compilation">3.4.1 Native Windows compilation</a></h3>
741
742 <p>FFmpeg can be built to run natively on Windows using the MinGW tools. Install
743 the latest versions of MSYS and MinGW from <a href="http://www.mingw.org/">http://www.mingw.org/</a>.
744 You can find detailed installation instructions in the download
745 section and the FAQ.
746 </p>
747 <p>FFmpeg does not build out-of-the-box with the packages the automated MinGW
748 installer provides. It also requires coreutils to be installed and many other
749 packages updated to the latest version. The minimum version for some packages
750 are listed below:
751 </p>
752 <ul>
753 <li> bash 3.1
754 </li><li> msys-make 3.81-2 (note: not mingw32-make)
755 </li><li> w32api 3.13
756 </li><li> mingw-runtime 3.15
757 </li></ul>
758
759 <p>FFmpeg automatically passes <code>-fno-common</code> to the compiler to work around
760 a GCC bug (see <a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216</a>).
761 </p>
762 <p>Notes:
763 </p>
764 <ul>
765 <li> Building natively using MSYS can be sped up by disabling implicit rules
766 in the Makefile by calling <code>make -r</code> instead of plain <code>make</code>. This
767 speed up is close to non-existent for normal one-off builds and is only
768 noticeable when running make for a second time (for example in
769 <code>make install</code>).
770
771 </li><li> In order to compile FFplay, you must have the MinGW development library
772 of <a href="http://www.libsdl.org/">SDL</a>.
773 Edit the &lsquo;<tt>bin/sdl-config</tt>&rsquo; script so that it points to the correct prefix
774 where SDL was installed. Verify that &lsquo;<tt>sdl-config</tt>&rsquo; can be launched from
775 the MSYS command line.
776
777 </li><li> By using <code>./configure --enable-shared</code> when configuring FFmpeg,
778 you can build the FFmpeg libraries (e.g. libavutil, libavcodec,
779 libavformat) as DLLs.
780
781 </li></ul>
782
783 <a name="Microsoft-Visual-C_002b_002b-compatibility"></a>
784 <h3 class="subsection"><a href="general.html#toc-Microsoft-Visual-C_002b_002b-compatibility">3.4.2 Microsoft Visual C++ compatibility</a></h3>
785
786 <p>As stated in the FAQ, FFmpeg will not compile under MSVC++. However, if you
787 want to use the libav* libraries in your own applications, you can still
788 compile those applications using MSVC++. But the libav* libraries you link
789 to <em>must</em> be built with MinGW. However, you will not be able to debug
790 inside the libav* libraries, since MSVC++ does not recognize the debug
791 symbols generated by GCC.
792 We strongly recommend you to move over from MSVC++ to MinGW tools.
793 </p>
794 <p>This description of how to use the FFmpeg libraries with MSVC++ is based on
795 Microsoft Visual C++ 2005 Express Edition. If you have a different version,
796 you might have to modify the procedures slightly.
797 </p>
798 <a name="Using-static-libraries"></a>
799 <h4 class="subsubsection"><a href="general.html#toc-Using-static-libraries">3.4.2.1 Using static libraries</a></h4>
800
801 <p>Assuming you have just built and installed FFmpeg in &lsquo;<tt>/usr/local</tt>&rsquo;.
802 </p>
803 <ol>
804 <li> Create a new console application (&quot;File / New / Project&quot;) and then
805 select &quot;Win32 Console Application&quot;. On the appropriate page of the
806 Application Wizard, uncheck the &quot;Precompiled headers&quot; option.
807
808 </li><li> Write the source code for your application, or, for testing, just
809 copy the code from an existing sample application into the source file
810 that MSVC++ has already created for you. For example, you can copy
811 &lsquo;<tt>libavformat/output-example.c</tt>&rsquo; from the FFmpeg distribution.
812
813 </li><li> Open the &quot;Project / Properties&quot; dialog box. In the &quot;Configuration&quot;
814 combo box, select &quot;All Configurations&quot; so that the changes you make will
815 affect both debug and release builds. In the tree view on the left hand
816 side, select &quot;C/C++ / General&quot;, then edit the &quot;Additional Include
817 Directories&quot; setting to contain the path where the FFmpeg includes were
818 installed (i.e. &lsquo;<tt>c:\msys\1.0\local\include</tt>&rsquo;).
819 Do not add MinGW&rsquo;s include directory here, or the include files will
820 conflict with MSVC&rsquo;s.
821
822 </li><li> Still in the &quot;Project / Properties&quot; dialog box, select
823 &quot;Linker / General&quot; from the tree view and edit the
824 &quot;Additional Library Directories&quot; setting to contain the &lsquo;<tt>lib</tt>&rsquo;
825 directory where FFmpeg was installed (i.e. &lsquo;<tt>c:\msys\1.0\local\lib</tt>&rsquo;),
826 the directory where MinGW libs are installed (i.e. &lsquo;<tt>c:\mingw\lib</tt>&rsquo;),
827 and the directory where MinGW&rsquo;s GCC libs are installed
828 (i.e. &lsquo;<tt>C:\mingw\lib\gcc\mingw32\4.2.1-sjlj</tt>&rsquo;). Then select
829 &quot;Linker / Input&quot; from the tree view, and add the files &lsquo;<tt>libavformat.a</tt>&rsquo;,
830 &lsquo;<tt>libavcodec.a</tt>&rsquo;, &lsquo;<tt>libavutil.a</tt>&rsquo;, &lsquo;<tt>libmingwex.a</tt>&rsquo;,
831 &lsquo;<tt>libgcc.a</tt>&rsquo;, and any other libraries you used (i.e. &lsquo;<tt>libz.a</tt>&rsquo;)
832 to the end of &quot;Additional Dependencies&quot;.
833
834 </li><li> Now, select &quot;C/C++ / Code Generation&quot; from the tree view. Select
835 &quot;Debug&quot; in the &quot;Configuration&quot; combo box. Make sure that &quot;Runtime
836 Library&quot; is set to &quot;Multi-threaded Debug DLL&quot;. Then, select &quot;Release&quot; in
837 the &quot;Configuration&quot; combo box and make sure that &quot;Runtime Library&quot; is
838 set to &quot;Multi-threaded DLL&quot;.
839
840 </li><li> Click &quot;OK&quot; to close the &quot;Project / Properties&quot; dialog box.
841
842 </li><li> MSVC++ lacks some C99 header files that are fundamental for FFmpeg.
843 Get msinttypes from <a href="http://code.google.com/p/msinttypes/downloads/list">http://code.google.com/p/msinttypes/downloads/list</a>
844 and install it in MSVC++&rsquo;s include directory
845 (i.e. &lsquo;<tt>C:\Program Files\Microsoft Visual Studio 8\VC\include</tt>&rsquo;).
846
847 </li><li> MSVC++ also does not understand the <code>inline</code> keyword used by
848 FFmpeg, so you must add this line before <code>#include</code>ing libav*:
849 <table><tr><td>&nbsp;</td><td><pre class="example">#define inline _inline
850 </pre></td></tr></table>
851
852 </li><li> Build your application, everything should work.
853
854 </li></ol>
855
856 <a name="Using-shared-libraries"></a>
857 <h4 class="subsubsection"><a href="general.html#toc-Using-shared-libraries">3.4.2.2 Using shared libraries</a></h4>
858
859 <p>This is how to create DLL and LIB files that are compatible with MSVC++:
860 </p>
861 <ol>
862 <li> Add a call to &lsquo;<tt>vcvars32.bat</tt>&rsquo; (which sets up the environment
863 variables for the Visual C++ tools) as the first line of &lsquo;<tt>msys.bat</tt>&rsquo;.
864 The standard location for &lsquo;<tt>vcvars32.bat</tt>&rsquo; is
865 &lsquo;<tt>C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat</tt>&rsquo;,
866 and the standard location for &lsquo;<tt>msys.bat</tt>&rsquo; is &lsquo;<tt>C:\msys\1.0\msys.bat</tt>&rsquo;.
867 If this corresponds to your setup, add the following line as the first line
868 of &lsquo;<tt>msys.bat</tt>&rsquo;:
869
870 <table><tr><td>&nbsp;</td><td><pre class="example">call &quot;C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat&quot;
871 </pre></td></tr></table>
872
873 <p>Alternatively, you may start the &lsquo;<tt>Visual Studio 2005 Command Prompt</tt>&rsquo;,
874 and run &lsquo;<tt>c:\msys\1.0\msys.bat</tt>&rsquo; from there.
875 </p>
876 </li><li> Within the MSYS shell, run <code>lib.exe</code>. If you get a help message
877 from &lsquo;<tt>Microsoft (R) Library Manager</tt>&rsquo;, this means your environment
878 variables are set up correctly, the &lsquo;<tt>Microsoft (R) Library Manager</tt>&rsquo;
879 is on the path and will be used by FFmpeg to create
880 MSVC++-compatible import libraries.
881
882 </li><li> Build FFmpeg with
883
884 <table><tr><td>&nbsp;</td><td><pre class="example">./configure --enable-shared
885 make
886 make install
887 </pre></td></tr></table>
888
889 <p>Your install path (&lsquo;<tt>/usr/local/</tt>&rsquo; by default) should now have the
890 necessary DLL and LIB files under the &lsquo;<tt>bin</tt>&rsquo; directory.
891 </p>
892 <p>Alternatively, build the libraries with a cross compiler, according to
893 the instructions below in <a href="#Cross-compilation-for-Windows-with-Linux">Cross compilation for Windows with Linux</a>.
894 </p>
895 <p>To use those files with MSVC++, do the same as you would do with
896 the static libraries, as described above. But in Step 4,
897 you should only need to add the directory where the LIB files are installed
898 (i.e. &lsquo;<tt>c:\msys\usr\local\bin</tt>&rsquo;). This is not a typo, the LIB files are
899 installed in the &lsquo;<tt>bin</tt>&rsquo; directory. And instead of adding the static
900 libraries (&lsquo;<tt>libxxx.a</tt>&rsquo; files) you should add the MSVC import libraries
901 (&lsquo;<tt>avcodec.lib</tt>&rsquo;, &lsquo;<tt>avformat.lib</tt>&rsquo;, and
902 &lsquo;<tt>avutil.lib</tt>&rsquo;). Note that you should not use the GCC import
903 libraries (&lsquo;<tt>libxxx.dll.a</tt>&rsquo; files), as these will give you undefined
904 reference errors. There should be no need for &lsquo;<tt>libmingwex.a</tt>&rsquo;,
905 &lsquo;<tt>libgcc.a</tt>&rsquo;, and &lsquo;<tt>wsock32.lib</tt>&rsquo;, nor any other external library
906 statically linked into the DLLs.
907 </p>
908 <p>FFmpeg headers do not declare global data for Windows DLLs through the usual
909 dllexport/dllimport interface. Such data will be exported properly while
910 building, but to use them in your MSVC++ code you will have to edit the
911 appropriate headers and mark the data as dllimport. For example, in
912 libavutil/pixdesc.h you should have:
913 </p><table><tr><td>&nbsp;</td><td><pre class="example">extern __declspec(dllimport) const AVPixFmtDescriptor av_pix_fmt_descriptors[];
914 </pre></td></tr></table>
915
916 <p>Note that using import libraries created by dlltool requires
917 the linker optimization option to be set to
918 &quot;References: Keep Unreferenced Data (<code>/OPT:NOREF</code>)&quot;, otherwise
919 the resulting binaries will fail during runtime. This isn&rsquo;t
920 required when using import libraries generated by lib.exe.
921 This issue is reported upstream at
922 <a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12633">http://sourceware.org/bugzilla/show_bug.cgi?id=12633</a>.
923 </p>
924 <p>To create import libraries that work with the <code>/OPT:REF</code> option
925 (which is enabled by default in Release mode), follow these steps:
926 </p>
927 <ol>
928 <li> Open &lsquo;<tt>Visual Studio 2005 Command Prompt</tt>&rsquo;.
929
930 <p>Alternatively, in a normal command line prompt, call &lsquo;<tt>vcvars32.bat</tt>&rsquo;
931 which sets up the environment variables for the Visual C++ tools
932 (the standard location for this file is
933 &lsquo;<tt>C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat</tt>&rsquo;).
934 </p>
935 </li><li> Enter the &lsquo;<tt>bin</tt>&rsquo; directory where the created LIB and DLL files
936 are stored.
937
938 </li><li> Generate new import libraries with &lsquo;<tt>lib.exe</tt>&rsquo;:
939
940 <table><tr><td>&nbsp;</td><td><pre class="example">lib /machine:i386 /def:..\lib\avcodec-53.def  /out:avcodec.lib
941 lib /machine:i386 /def:..\lib\avdevice-53.def /out:avdevice.lib
942 lib /machine:i386 /def:..\lib\avfilter-2.def  /out:avfilter.lib
943 lib /machine:i386 /def:..\lib\avformat-53.def /out:avformat.lib
944 lib /machine:i386 /def:..\lib\avutil-51.def   /out:avutil.lib
945 lib /machine:i386 /def:..\lib\swscale-2.def   /out:swscale.lib
946 </pre></td></tr></table>
947
948 </li></ol>
949
950 <p><a name="Cross-compilation-for-Windows-with-Linux"></a>
951 </p></li></ol>
952 <a name="Cross-compilation-for-Windows-with-Linux-1"></a>
953 <h3 class="subsection"><a href="general.html#toc-Cross-compilation-for-Windows-with-Linux-1">3.4.3 Cross compilation for Windows with Linux</a></h3>
954
955 <p>You must use the MinGW cross compilation tools available at
956 <a href="http://www.mingw.org/">http://www.mingw.org/</a>.
957 </p>
958 <p>Then configure FFmpeg with the following options:
959 </p><table><tr><td>&nbsp;</td><td><pre class="example">./configure --target-os=mingw32 --cross-prefix=i386-mingw32msvc-
960 </pre></td></tr></table>
961 <p>(you can change the cross-prefix according to the prefix chosen for the
962 MinGW tools).
963 </p>
964 <p>Then you can easily test FFmpeg with <a href="http://www.winehq.com/">Wine</a>.
965 </p>
966 <a name="Compilation-under-Cygwin"></a>
967 <h3 class="subsection"><a href="general.html#toc-Compilation-under-Cygwin">3.4.4 Compilation under Cygwin</a></h3>
968
969 <p>Please use Cygwin 1.7.x as the obsolete 1.5.x Cygwin versions lack
970 llrint() in its C library.
971 </p>
972 <p>Install your Cygwin with all the &quot;Base&quot; packages, plus the
973 following &quot;Devel&quot; ones:
974 </p><table><tr><td>&nbsp;</td><td><pre class="example">binutils, gcc4-core, make, git, mingw-runtime, texi2html
975 </pre></td></tr></table>
976
977 <p>And the following &quot;Utils&quot; one:
978 </p><table><tr><td>&nbsp;</td><td><pre class="example">diffutils
979 </pre></td></tr></table>
980
981 <p>Then run
982 </p>
983 <table><tr><td>&nbsp;</td><td><pre class="example">./configure
984 </pre></td></tr></table>
985
986 <p>to make a static build.
987 </p>
988 <p>The current <code>gcc4-core</code> package is buggy and needs this flag to build
989 shared libraries:
990 </p>
991 <table><tr><td>&nbsp;</td><td><pre class="example">./configure --enable-shared --disable-static --extra-cflags=-fno-reorder-functions
992 </pre></td></tr></table>
993
994 <p>If you want to build FFmpeg with additional libraries, download Cygwin
995 &quot;Devel&quot; packages for Ogg and Vorbis from any Cygwin packages repository:
996 </p><table><tr><td>&nbsp;</td><td><pre class="example">libogg-devel, libvorbis-devel
997 </pre></td></tr></table>
998
999 <p>These library packages are only available from
1000 <a href="http://sourceware.org/cygwinports/">Cygwin Ports</a>:
1001 </p>
1002 <table><tr><td>&nbsp;</td><td><pre class="example">yasm, libSDL-devel, libdirac-devel, libfaac-devel, libgsm-devel,
1003 libmp3lame-devel, libschroedinger1.0-devel, speex-devel, libtheora-devel,
1004 libxvidcore-devel
1005 </pre></td></tr></table>
1006
1007 <p>The recommendation for libnut and x264 is to build them from source by
1008 yourself, as they evolve too quickly for Cygwin Ports to be up to date.
1009 </p>
1010 <p>Cygwin 1.7.x has IPv6 support. You can add IPv6 to Cygwin 1.5.x by means
1011 of the <code>libgetaddrinfo-devel</code> package, available at Cygwin Ports.
1012 </p>
1013 <a name="Crosscompilation-for-Windows-under-Cygwin"></a>
1014 <h3 class="subsection"><a href="general.html#toc-Crosscompilation-for-Windows-under-Cygwin">3.4.5 Crosscompilation for Windows under Cygwin</a></h3>
1015
1016 <p>With Cygwin you can create Windows binaries that do not need the cygwin1.dll.
1017 </p>
1018 <p>Just install your Cygwin as explained before, plus these additional
1019 &quot;Devel&quot; packages:
1020 </p><table><tr><td>&nbsp;</td><td><pre class="example">gcc-mingw-core, mingw-runtime, mingw-zlib
1021 </pre></td></tr></table>
1022
1023 <p>and add some special flags to your configure invocation.
1024 </p>
1025 <p>For a static build run
1026 </p><table><tr><td>&nbsp;</td><td><pre class="example">./configure --target-os=mingw32 --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
1027 </pre></td></tr></table>
1028
1029 <p>and for a build with shared libraries
1030 </p><table><tr><td>&nbsp;</td><td><pre class="example">./configure --target-os=mingw32 --enable-shared --disable-static --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
1031 </pre></td></tr></table>
1032
1033 <hr size="1">
1034 <p>
1035  <font size="-1">
1036   This document was generated by <em>Kyle Schwarz</em> on <em>September 2, 2011</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.
1037  </font>
1038  <br>
1039
1040 </p>
1041 </body>
1042 </html>