]> git.sesse.net Git - casparcg/blob - ffmpeg 0.8/doc/general.html
2.0.0.2: Updated to ffmpeg 0.8.
[casparcg] / ffmpeg 0.8 / 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 July 23, 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%">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>
183 <tr><td width="40%">Matroska</td><td width="10%">X</td><td width="10%">X</td></tr>
184 <tr><td width="40%">Matroska audio</td><td width="10%">X</td><td width="10%"></td></tr>
185 <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>
186 <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>
187 <tr><td width="40%">MD Studio</td><td width="10%"></td><td width="10%">X</td></tr>
188 <tr><td width="40%">Mobotix .mxg</td><td width="10%"></td><td width="10%">X</td></tr>
189 <tr><td width="40%">Monkey&rsquo;s Audio</td><td width="10%"></td><td width="10%">X</td></tr>
190 <tr><td width="40%">Motion Pixels MVI</td><td width="10%"></td><td width="10%">X</td></tr>
191 <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>
192 <tr><td width="40%">MP2</td><td width="10%">X</td><td width="10%">X</td></tr>
193 <tr><td width="40%">MP3</td><td width="10%">X</td><td width="10%">X</td></tr>
194 <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>
195 <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>
196 <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>
197 <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>
198 <tr><td width="40%">MIME multipart JPEG</td><td width="10%">X</td><td width="10%"></td></tr>
199 <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>
200 <tr><td width="40%">MTV</td><td width="10%"></td><td width="10%">X</td></tr>
201 <tr><td width="40%">Musepack</td><td width="10%"></td><td width="10%">X</td></tr>
202 <tr><td width="40%">Musepack SV8</td><td width="10%"></td><td width="10%">X</td></tr>
203 <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>
204 <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>
205 <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>
206 <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>
207 <tr><td width="40%">Nullsoft Streaming Video</td><td width="10%"></td><td width="10%">X</td></tr>
208 <tr><td width="40%">NuppelVideo</td><td width="10%"></td><td width="10%">X</td></tr>
209 <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>
210 <tr><td width="40%">Ogg</td><td width="10%">X</td><td width="10%">X</td></tr>
211 <tr><td width="40%">Playstation Portable PMP</td><td width="10%"></td><td width="10%">X</td></tr>
212 <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>
213 <tr><td width="40%">QCP</td><td width="10%"></td><td width="10%">X</td></tr>
214 <tr><td width="40%">raw ADTS (AAC)</td><td width="10%">X</td><td width="10%">X</td></tr>
215 <tr><td width="40%">raw AC-3</td><td width="10%">X</td><td width="10%">X</td></tr>
216 <tr><td width="40%">raw Chinese AVS video</td><td width="10%">X</td><td width="10%">X</td></tr>
217 <tr><td width="40%">raw CRI ADX</td><td width="10%">X</td><td width="10%">X</td></tr>
218 <tr><td width="40%">raw Dirac</td><td width="10%">X</td><td width="10%">X</td></tr>
219 <tr><td width="40%">raw DNxHD</td><td width="10%">X</td><td width="10%">X</td></tr>
220 <tr><td width="40%">raw DTS</td><td width="10%">X</td><td width="10%">X</td></tr>
221 <tr><td width="40%">raw E-AC-3</td><td width="10%">X</td><td width="10%">X</td></tr>
222 <tr><td width="40%">raw FLAC</td><td width="10%">X</td><td width="10%">X</td></tr>
223 <tr><td width="40%">raw GSM</td><td width="10%"></td><td width="10%">X</td></tr>
224 <tr><td width="40%">raw H.261</td><td width="10%">X</td><td width="10%">X</td></tr>
225 <tr><td width="40%">raw H.263</td><td width="10%">X</td><td width="10%">X</td></tr>
226 <tr><td width="40%">raw H.264</td><td width="10%">X</td><td width="10%">X</td></tr>
227 <tr><td width="40%">raw Ingenient MJPEG</td><td width="10%"></td><td width="10%">X</td></tr>
228 <tr><td width="40%">raw MJPEG</td><td width="10%">X</td><td width="10%">X</td></tr>
229 <tr><td width="40%">raw MLP</td><td width="10%"></td><td width="10%">X</td></tr>
230 <tr><td width="40%">raw MPEG</td><td width="10%"></td><td width="10%">X</td></tr>
231 <tr><td width="40%">raw MPEG-1</td><td width="10%"></td><td width="10%">X</td></tr>
232 <tr><td width="40%">raw MPEG-2</td><td width="10%"></td><td width="10%">X</td></tr>
233 <tr><td width="40%">raw MPEG-4</td><td width="10%">X</td><td width="10%">X</td></tr>
234 <tr><td width="40%">raw NULL</td><td width="10%">X</td><td width="10%"></td></tr>
235 <tr><td width="40%">raw video</td><td width="10%">X</td><td width="10%">X</td></tr>
236 <tr><td width="40%">raw id RoQ</td><td width="10%">X</td><td width="10%"></td></tr>
237 <tr><td width="40%">raw Shorten</td><td width="10%"></td><td width="10%">X</td></tr>
238 <tr><td width="40%">raw TrueHD</td><td width="10%">X</td><td width="10%">X</td></tr>
239 <tr><td width="40%">raw VC-1</td><td width="10%"></td><td width="10%">X</td></tr>
240 <tr><td width="40%">raw PCM A-law</td><td width="10%">X</td><td width="10%">X</td></tr>
241 <tr><td width="40%">raw PCM mu-law</td><td width="10%">X</td><td width="10%">X</td></tr>
242 <tr><td width="40%">raw PCM signed 8 bit</td><td width="10%">X</td><td width="10%">X</td></tr>
243 <tr><td width="40%">raw PCM signed 16 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
244 <tr><td width="40%">raw PCM signed 16 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
245 <tr><td width="40%">raw PCM signed 24 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
246 <tr><td width="40%">raw PCM signed 24 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
247 <tr><td width="40%">raw PCM signed 32 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
248 <tr><td width="40%">raw PCM signed 32 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
249 <tr><td width="40%">raw PCM unsigned 8 bit</td><td width="10%">X</td><td width="10%">X</td></tr>
250 <tr><td width="40%">raw PCM unsigned 16 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
251 <tr><td width="40%">raw PCM unsigned 16 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
252 <tr><td width="40%">raw PCM unsigned 24 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
253 <tr><td width="40%">raw PCM unsigned 24 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
254 <tr><td width="40%">raw PCM unsigned 32 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
255 <tr><td width="40%">raw PCM unsigned 32 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
256 <tr><td width="40%">raw PCM floating-point 32 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
257 <tr><td width="40%">raw PCM floating-point 32 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
258 <tr><td width="40%">raw PCM floating-point 64 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
259 <tr><td width="40%">raw PCM floating-point 64 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
260 <tr><td width="40%">RDT</td><td width="10%"></td><td width="10%">X</td></tr>
261 <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>
262 <tr><td width="40%">RealMedia</td><td width="10%">X</td><td width="10%">X</td></tr>
263 <tr><td width="40%">Redirector</td><td width="10%"></td><td width="10%">X</td></tr>
264 <tr><td width="40%">Renderware TeXture Dictionary</td><td width="10%"></td><td width="10%">X</td></tr>
265 <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>
266 <tr><td width="40%">RPL/ARMovie</td><td width="10%"></td><td width="10%">X</td></tr>
267 <tr><td width="40%">Lego Mindstorms RSO</td><td width="10%">X</td><td width="10%">X</td></tr>
268 <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>
269 <tr><td width="40%">RTP</td><td width="10%">X</td><td width="10%">X</td></tr>
270 <tr><td width="40%">RTSP</td><td width="10%">X</td><td width="10%">X</td></tr>
271 <tr><td width="40%">SAP</td><td width="10%">X</td><td width="10%">X</td></tr>
272 <tr><td width="40%">SDP</td><td width="10%"></td><td width="10%">X</td></tr>
273 <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>
274 <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>
275 <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>
276 <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>
277 <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>
278 <tr><td width="40%">Sony PlayStation STR</td><td width="10%"></td><td width="10%">X</td></tr>
279 <tr><td width="40%">Sony Wave64 (W64)</td><td width="10%"></td><td width="10%">X</td></tr>
280 <tr><td width="40%">SoX native format</td><td width="10%">X</td><td width="10%">X</td></tr>
281 <tr><td width="40%">SUN AU format</td><td width="10%">X</td><td width="10%">X</td></tr>
282 <tr><td width="40%">Text files</td><td width="10%"></td><td width="10%">X</td></tr>
283 <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>
284 <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>
285 <tr><td width="40%">True Audio</td><td width="10%"></td><td width="10%">X</td></tr>
286 <tr><td width="40%">VC-1 test bitstream</td><td width="10%">X</td><td width="10%">X</td></tr>
287 <tr><td width="40%">WAV</td><td width="10%">X</td><td width="10%">X</td></tr>
288 <tr><td width="40%">WavPack</td><td width="10%"></td><td width="10%">X</td></tr>
289 <tr><td width="40%">WebM</td><td width="10%">X</td><td width="10%">X</td></tr>
290 <tr><td width="40%">Windows Televison (WTV)</td><td width="10%"></td><td width="10%">X</td></tr>
291 <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>
292 <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>
293 <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>
294 <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>
295 <tr><td width="40%">YUV4MPEG pipe</td><td width="10%">X</td><td width="10%">X</td></tr>
296 <tr><td width="40%">Psygnosis YOP</td><td width="10%"></td><td width="10%">X</td></tr>
297 </table>
298
299 <p><code>X</code> means that encoding (resp. decoding) is supported.
300 </p>
301 <a name="Image-Formats"></a>
302 <h2 class="section"><a href="general.html#toc-Image-Formats">2.2 Image Formats</a></h2>
303
304 <p>FFmpeg can read and write images for each frame of a video sequence. The
305 following image formats are supported:
306 </p>
307 <table>
308 <tr><td width="40%">Name</td><td width="10%">Encoding</td><td width="10%">Decoding</td><td width="40%">Comments</td></tr>
309 <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>
310 <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>
311 <tr><td width="40%">BMP</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Microsoft BMP image</td></tr>
312 <tr><td width="40%">DPX</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Digital Picture Exchange</td></tr>
313 <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>
314 <tr><td width="40%">JPEG 2000</td><td width="10%">X</td><td width="10%">X</td></tr>
315 <tr><td width="40%">JPEG-LS</td><td width="10%">X</td><td width="10%">X</td></tr>
316 <tr><td width="40%">LJPEG</td><td width="10%">X</td><td width="10%"></td><td width="40%">Lossless JPEG</td></tr>
317 <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>
318 <tr><td width="40%">PBM</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Portable BitMap image</td></tr>
319 <tr><td width="40%">PCX</td><td width="10%">X</td><td width="10%">X</td><td width="40%">PC Paintbrush</td></tr>
320 <tr><td width="40%">PGM</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Portable GrayMap image</td></tr>
321 <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>
322 <tr><td width="40%">PIC</td><td width="10%"></td><td width="10%">X</td><td width="40%">Pictor/PC Paint</td></tr>
323 <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>
324 <tr><td width="40%">PPM</td><td width="10%">X</td><td width="10%">X</td><td width="40%">Portable PixelMap image</td></tr>
325 <tr><td width="40%">PTX</td><td width="10%"></td><td width="10%">X</td><td width="40%">V.Flash PTX format</td></tr>
326 <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>
327 <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>
328 <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>
329 <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>
330 </table>
331
332 <p><code>X</code> means that encoding (resp. decoding) is supported.
333 </p>
334 <p><code>E</code> means that support is provided through an external library.
335 </p>
336 <a name="Video-Codecs"></a>
337 <h2 class="section"><a href="general.html#toc-Video-Codecs">2.3 Video Codecs</a></h2>
338
339 <table>
340 <tr><td width="40%">Name</td><td width="10%">Encoding</td><td width="10%">Decoding</td><td width="40%">Comments</td></tr>
341 <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>
342 <tr><td width="40%">8088flex TMV</td><td width="10%"></td><td width="10%">X</td></tr>
343 <tr><td width="40%">8SVX exponential</td><td width="10%"></td><td width="10%">X</td></tr>
344 <tr><td width="40%">8SVX fibonacci</td><td width="10%"></td><td width="10%">X</td></tr>
345 <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>
346 <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>
347 <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>
348 <tr><td width="40%">ANSI/ASCII art</td><td width="10%"></td><td width="10%">X</td></tr>
349 <tr><td width="40%">Apple MJPEG-B</td><td width="10%"></td><td width="10%">X</td></tr>
350 <tr><td width="40%">Apple QuickDraw</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: qdrw</td></tr>
351 <tr><td width="40%">Asus v1</td><td width="10%">X</td><td width="10%">X</td><td width="40%">fourcc: ASV1</td></tr>
352 <tr><td width="40%">Asus v2</td><td width="10%">X</td><td width="10%">X</td><td width="40%">fourcc: ASV2</td></tr>
353 <tr><td width="40%">ATI VCR1</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: VCR1</td></tr>
354 <tr><td width="40%">ATI VCR2</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: VCR2</td></tr>
355 <tr><td width="40%">Auravision Aura</td><td width="10%"></td><td width="10%">X</td></tr>
356 <tr><td width="40%">Auravision Aura 2</td><td width="10%"></td><td width="10%">X</td></tr>
357 <tr><td width="40%">Autodesk Animator Flic video</td><td width="10%"></td><td width="10%">X</td></tr>
358 <tr><td width="40%">Autodesk RLE</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: AASC</td></tr>
359 <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>
360 <tr><td width="40%">Beam Software VB</td><td width="10%"></td><td width="10%">X</td></tr>
361 <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>
362 <tr><td width="40%">Bink Video</td><td width="10%"></td><td width="10%">X</td></tr>
363 <tr><td width="40%">Bitmap Brothers JV video</td><td width="10%"></td><td width="10%">X</td></tr>
364 <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>
365 <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>
366 <tr><td width="40%">CamStudio</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: CSCD</td></tr>
367 <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>
368 <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>
369 <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>
370 <tr><td width="40%">Cinepak</td><td width="10%"></td><td width="10%">X</td></tr>
371 <tr><td width="40%">Cirrus Logic AccuPak</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: CLJR</td></tr>
372 <tr><td width="40%">Creative YUV (CYUV)</td><td width="10%"></td><td width="10%">X</td></tr>
373 <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>
374 <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>
375 <tr><td width="40%">Deluxe Paint Animation</td><td width="10%"></td><td width="10%">X</td></tr>
376 <tr><td width="40%">DNxHD</td><td width="10%">X</td><td width="10%">X</td><td width="40%">aka SMPTE VC3</td></tr>
377 <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>
378 <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>
379 <tr><td width="40%">DV (Digital Video)</td><td width="10%">X</td><td width="10%">X</td></tr>
380 <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>
381 <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>
382 <tr><td width="40%">Electronic Arts Madcow video</td><td width="10%"></td><td width="10%">X</td></tr>
383 <tr><td width="40%">Electronic Arts TGV video</td><td width="10%"></td><td width="10%">X</td></tr>
384 <tr><td width="40%">Electronic Arts TGQ video</td><td width="10%"></td><td width="10%">X</td></tr>
385 <tr><td width="40%">Electronic Arts TQI video</td><td width="10%"></td><td width="10%">X</td></tr>
386 <tr><td width="40%">Escape 124</td><td width="10%"></td><td width="10%">X</td></tr>
387 <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>
388 <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>
389 <tr><td width="40%">Flash Screen Video v2</td><td width="10%">X</td><td width="10%">X</td></tr>
390 <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>
391 <tr><td width="40%">Fraps</td><td width="10%"></td><td width="10%">X</td></tr>
392 <tr><td width="40%">H.261</td><td width="10%">X</td><td width="10%">X</td></tr>
393 <tr><td width="40%">H.263 / H.263-1996</td><td width="10%">X</td><td width="10%">X</td></tr>
394 <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>
395 <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>
396 <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>
397 <tr><td width="40%">HuffYUV</td><td width="10%">X</td><td width="10%">X</td></tr>
398 <tr><td width="40%">HuffYUV FFmpeg variant</td><td width="10%">X</td><td width="10%">X</td></tr>
399 <tr><td width="40%">IBM Ultimotion</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: ULTI</td></tr>
400 <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>
401 <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>
402 <tr><td width="40%">IFF ILBM</td><td width="10%"></td><td width="10%">X</td><td width="40%">IFF interlaved bitmap</td></tr>
403 <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>
404 <tr><td width="40%">Intel H.263</td><td width="10%"></td><td width="10%">X</td></tr>
405 <tr><td width="40%">Intel Indeo 2</td><td width="10%"></td><td width="10%">X</td></tr>
406 <tr><td width="40%">Intel Indeo 3</td><td width="10%"></td><td width="10%">X</td></tr>
407 <tr><td width="40%">Intel Indeo 5</td><td width="10%"></td><td width="10%">X</td></tr>
408 <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>
409 <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>
410 <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>
411 <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>
412 <tr><td width="40%">Lagarith</td><td width="10%"></td><td width="10%">X</td></tr>
413 <tr><td width="40%">LCL (LossLess Codec Library) MSZH</td><td width="10%"></td><td width="10%">X</td></tr>
414 <tr><td width="40%">LCL (LossLess Codec Library) ZLIB</td><td width="10%">E</td><td width="10%">E</td></tr>
415 <tr><td width="40%">LOCO</td><td width="10%"></td><td width="10%">X</td></tr>
416 <tr><td width="40%">lossless MJPEG</td><td width="10%">X</td><td width="10%">X</td></tr>
417 <tr><td width="40%">Microsoft RLE</td><td width="10%"></td><td width="10%">X</td></tr>
418 <tr><td width="40%">Microsoft Video 1</td><td width="10%"></td><td width="10%">X</td></tr>
419 <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>
420 <tr><td width="40%">Miro VideoXL</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: VIXL</td></tr>
421 <tr><td width="40%">MJPEG (Motion JPEG)</td><td width="10%">X</td><td width="10%">X</td></tr>
422 <tr><td width="40%">Mobotix MxPEG video</td><td width="10%"></td><td width="10%">X</td></tr>
423 <tr><td width="40%">Motion Pixels video</td><td width="10%"></td><td width="10%">X</td></tr>
424 <tr><td width="40%">MPEG-1 video</td><td width="10%">X</td><td width="10%">X</td></tr>
425 <tr><td width="40%">MPEG-1/2 video XvMC (X-Video Motion Compensation)</td><td width="10%"></td><td width="10%">X</td></tr>
426 <tr><td width="40%">MPEG-1/2 video (VDPAU acceleration)</td><td width="10%"></td><td width="10%">X</td></tr>
427 <tr><td width="40%">MPEG-2 video</td><td width="10%">X</td><td width="10%">X</td></tr>
428 <tr><td width="40%">MPEG-4 part 2</td><td width="10%">X</td><td width="10%">X
429     &nbsp;libxvidcore can be used alternatively for encoding.</td></tr>
430 <tr><td width="40%">MPEG-4 part 2 Microsoft variant version 1</td><td width="10%"></td><td width="10%">X</td></tr>
431 <tr><td width="40%">MPEG-4 part 2 Microsoft variant version 2</td><td width="10%">X</td><td width="10%">X</td></tr>
432 <tr><td width="40%">MPEG-4 part 2 Microsoft variant version 3</td><td width="10%">X</td><td width="10%">X</td></tr>
433 <tr><td width="40%">Nintendo Gamecube THP video</td><td width="10%"></td><td width="10%">X</td></tr>
434 <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>
435 <tr><td width="40%">On2 VP3</td><td width="10%"></td><td width="10%">X</td><td width="40%">still experimental</td></tr>
436 <tr><td width="40%">On2 VP5</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: VP50</td></tr>
437 <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>
438 <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>
439 <tr><td width="40%">planar RGB</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: 8BPS</td></tr>
440 <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>
441 <tr><td width="40%">QuickTime 8BPS video</td><td width="10%"></td><td width="10%">X</td></tr>
442 <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>
443 <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>
444 <tr><td width="40%">QuickTime video (RPZA)</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: rpza</td></tr>
445 <tr><td width="40%">R10K AJA Kona 10-bit RGB Codec</td><td width="10%"></td><td width="10%">X</td></tr>
446 <tr><td width="40%">R210 Quicktime Uncompressed RGB 10-bit</td><td width="10%"></td><td width="10%">X</td></tr>
447 <tr><td width="40%">Raw Video</td><td width="10%">X</td><td width="10%">X</td></tr>
448 <tr><td width="40%">RealVideo 1.0</td><td width="10%">X</td><td width="10%">X</td></tr>
449 <tr><td width="40%">RealVideo 2.0</td><td width="10%">X</td><td width="10%">X</td></tr>
450 <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>
451 <tr><td width="40%">RealVideo 4.0</td><td width="10%"></td><td width="10%">X</td></tr>
452 <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>
453 <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>
454 <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>
455 <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>
456 <tr><td width="40%">SMPTE VC-1</td><td width="10%"></td><td width="10%">X</td></tr>
457 <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>
458 <tr><td width="40%">Sony PlayStation MDEC (Motion DECoder)</td><td width="10%"></td><td width="10%">X</td></tr>
459 <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>
460 <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>
461 <tr><td width="40%">Sunplus JPEG (SP5X)</td><td width="10%"></td><td width="10%">X</td><td width="40%">fourcc: SP5X</td></tr>
462 <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>
463 <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>
464 <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>
465 <tr><td width="40%">V210 Quicktime Uncompressed 4:2:2 10-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
466 <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>
467 <tr><td width="40%">Westwood Studios VQA (Vector Quantized Animation) video</td><td width="10%"></td><td width="10%">X</td></tr>
468 <tr><td width="40%">Windows Media Video 7</td><td width="10%">X</td><td width="10%">X</td></tr>
469 <tr><td width="40%">Windows Media Video 8</td><td width="10%">X</td><td width="10%">X</td></tr>
470 <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>
471 <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>
472 <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>
473 <tr><td width="40%">Winnov WNV1</td><td width="10%"></td><td width="10%">X</td></tr>
474 <tr><td width="40%">WMV7</td><td width="10%">X</td><td width="10%">X</td></tr>
475 <tr><td width="40%">YAMAHA SMAF</td><td width="10%">X</td><td width="10%">X</td></tr>
476 <tr><td width="40%">Psygnosis YOP Video</td><td width="10%"></td><td width="10%">X</td></tr>
477 <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>
478 <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>
479 </table>
480
481 <p><code>X</code> means that encoding (resp. decoding) is supported.
482 </p>
483 <p><code>E</code> means that support is provided through an external library.
484 </p>
485 <a name="Audio-Codecs"></a>
486 <h2 class="section"><a href="general.html#toc-Audio-Codecs">2.4 Audio Codecs</a></h2>
487
488 <table>
489 <tr><td width="40%">Name</td><td width="10%">Encoding</td><td width="10%">Decoding</td><td width="40%">Comments</td></tr>
490 <tr><td width="40%">8SVX audio</td><td width="10%"></td><td width="10%">X</td></tr>
491 <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>
492 <tr><td width="40%">AC-3</td><td width="10%">IX</td><td width="10%">X</td></tr>
493 <tr><td width="40%">ADPCM 4X Movie</td><td width="10%"></td><td width="10%">X</td></tr>
494 <tr><td width="40%">ADPCM CDROM XA</td><td width="10%"></td><td width="10%">X</td></tr>
495 <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>
496 <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>
497 <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>
498 <tr><td width="40%">ADPCM Electronic Arts R1</td><td width="10%"></td><td width="10%">X</td></tr>
499 <tr><td width="40%">ADPCM Electronic Arts R2</td><td width="10%"></td><td width="10%">X</td></tr>
500 <tr><td width="40%">ADPCM Electronic Arts R3</td><td width="10%"></td><td width="10%">X</td></tr>
501 <tr><td width="40%">ADPCM Electronic Arts XAS</td><td width="10%"></td><td width="10%">X</td></tr>
502 <tr><td width="40%">ADPCM G.722</td><td width="10%">X</td><td width="10%">X</td></tr>
503 <tr><td width="40%">ADPCM G.726</td><td width="10%">X</td><td width="10%">X</td></tr>
504 <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>
505 <tr><td width="40%">ADPCM IMA Electronic Arts EACS</td><td width="10%"></td><td width="10%">X</td></tr>
506 <tr><td width="40%">ADPCM IMA Electronic Arts SEAD</td><td width="10%"></td><td width="10%">X</td></tr>
507 <tr><td width="40%">ADPCM IMA Funcom</td><td width="10%"></td><td width="10%">X</td></tr>
508 <tr><td width="40%">ADPCM IMA QuickTime</td><td width="10%">X</td><td width="10%">X</td></tr>
509 <tr><td width="40%">ADPCM IMA Loki SDL MJPEG</td><td width="10%"></td><td width="10%">X</td></tr>
510 <tr><td width="40%">ADPCM IMA WAV</td><td width="10%">X</td><td width="10%">X</td></tr>
511 <tr><td width="40%">ADPCM IMA Westwood</td><td width="10%"></td><td width="10%">X</td></tr>
512 <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>
513 <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>
514 <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>
515 <tr><td width="40%">ADPCM Microsoft</td><td width="10%">X</td><td width="10%">X</td></tr>
516 <tr><td width="40%">ADPCM MS IMA</td><td width="10%">X</td><td width="10%">X</td></tr>
517 <tr><td width="40%">ADPCM Nintendo Gamecube THP</td><td width="10%"></td><td width="10%">X</td></tr>
518 <tr><td width="40%">ADPCM QT IMA</td><td width="10%">X</td><td width="10%">X</td></tr>
519 <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>
520 <tr><td width="40%">ADPCM Shockwave Flash</td><td width="10%">X</td><td width="10%">X</td></tr>
521 <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>
522 <tr><td width="40%">ADPCM Sound Blaster Pro 2-bit</td><td width="10%"></td><td width="10%">X</td></tr>
523 <tr><td width="40%">ADPCM Sound Blaster Pro 2.6-bit</td><td width="10%"></td><td width="10%">X</td></tr>
524 <tr><td width="40%">ADPCM Sound Blaster Pro 4-bit</td><td width="10%"></td><td width="10%">X</td></tr>
525 <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>
526 <tr><td width="40%">ADPCM Yamaha</td><td width="10%">X</td><td width="10%">X</td></tr>
527 <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>
528 <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>
529 <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>
530 <tr><td width="40%">Atrac 1</td><td width="10%"></td><td width="10%">X</td></tr>
531 <tr><td width="40%">Atrac 3</td><td width="10%"></td><td width="10%">X</td></tr>
532 <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>
533 <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>
534 <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>
535 <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>
536 <tr><td width="40%">DCA (DTS Coherent Acoustics)</td><td width="10%">X</td><td width="10%">X</td></tr>
537 <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>
538 <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>
539 <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>
540 <tr><td width="40%">DPCM Sol</td><td width="10%"></td><td width="10%">X</td></tr>
541 <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>
542 <tr><td width="40%">DSP Group TrueSpeech</td><td width="10%"></td><td width="10%">X</td></tr>
543 <tr><td width="40%">DV audio</td><td width="10%"></td><td width="10%">X</td></tr>
544 <tr><td width="40%">Enhanced AC-3</td><td width="10%">X</td><td width="10%">X</td></tr>
545 <tr><td width="40%">FLAC (Free Lossless Audio Codec)</td><td width="10%">X</td><td width="10%">IX</td></tr>
546 <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>
547 <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>
548 <tr><td width="40%">IMC (Intel Music Coder)</td><td width="10%"></td><td width="10%">X</td></tr>
549 <tr><td width="40%">MACE (Macintosh Audio Compression/Expansion) 3:1</td><td width="10%"></td><td width="10%">X</td></tr>
550 <tr><td width="40%">MACE (Macintosh Audio Compression/Expansion) 6:1</td><td width="10%"></td><td width="10%">X</td></tr>
551 <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>
552 <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>
553 <tr><td width="40%">MP1 (MPEG audio layer 1)</td><td width="10%"></td><td width="10%">IX</td></tr>
554 <tr><td width="40%">MP2 (MPEG audio layer 2)</td><td width="10%">IX</td><td width="10%">IX</td></tr>
555 <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>
556 <tr><td width="40%">MPEG-4 Audio Lossless Coding (ALS)</td><td width="10%"></td><td width="10%">X</td></tr>
557 <tr><td width="40%">Musepack SV7</td><td width="10%"></td><td width="10%">X</td></tr>
558 <tr><td width="40%">Musepack SV8</td><td width="10%"></td><td width="10%">X</td></tr>
559 <tr><td width="40%">Nellymoser Asao</td><td width="10%">X</td><td width="10%">X</td></tr>
560 <tr><td width="40%">PCM A-law</td><td width="10%">X</td><td width="10%">X</td></tr>
561 <tr><td width="40%">PCM mu-law</td><td width="10%">X</td><td width="10%">X</td></tr>
562 <tr><td width="40%">PCM 16-bit little-endian planar</td><td width="10%"></td><td width="10%">X</td></tr>
563 <tr><td width="40%">PCM 32-bit floating point big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
564 <tr><td width="40%">PCM 32-bit floating point little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
565 <tr><td width="40%">PCM 64-bit floating point big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
566 <tr><td width="40%">PCM 64-bit floating point little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
567 <tr><td width="40%">PCM D-Cinema audio signed 24-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
568 <tr><td width="40%">PCM signed 8-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
569 <tr><td width="40%">PCM signed 16-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
570 <tr><td width="40%">PCM signed 16-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
571 <tr><td width="40%">PCM signed 24-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
572 <tr><td width="40%">PCM signed 24-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
573 <tr><td width="40%">PCM signed 32-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
574 <tr><td width="40%">PCM signed 32-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
575 <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>
576 <tr><td width="40%">PCM unsigned 8-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
577 <tr><td width="40%">PCM unsigned 16-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
578 <tr><td width="40%">PCM unsigned 16-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
579 <tr><td width="40%">PCM unsigned 24-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
580 <tr><td width="40%">PCM unsigned 24-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
581 <tr><td width="40%">PCM unsigned 32-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
582 <tr><td width="40%">PCM unsigned 32-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
583 <tr><td width="40%">PCM Zork</td><td width="10%">X</td><td width="10%">X</td></tr>
584 <tr><td width="40%">QCELP / PureVoice</td><td width="10%"></td><td width="10%">X</td></tr>
585 <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>
586 <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>
587 <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>
588 <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>
589 <tr><td width="40%">RealAudio SIPR / ACELP.NET</td><td width="10%"></td><td width="10%">X</td></tr>
590 <tr><td width="40%">Shorten</td><td width="10%"></td><td width="10%">X</td></tr>
591 <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>
592 <tr><td width="40%">Smacker audio</td><td width="10%"></td><td width="10%">X</td></tr>
593 <tr><td width="40%">SMPTE 302M AES3 audio</td><td width="10%"></td><td width="10%">X</td></tr>
594 <tr><td width="40%">Sonic</td><td width="10%">X</td><td width="10%">X</td><td width="40%">experimental codec</td></tr>
595 <tr><td width="40%">Sonic lossless</td><td width="10%">X</td><td width="10%">X</td><td width="40%">experimental codec</td></tr>
596 <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>
597 <tr><td width="40%">True Audio (TTA)</td><td width="10%"></td><td width="10%">X</td></tr>
598 <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>
599 <tr><td width="40%">TwinVQ (VQF flavor)</td><td width="10%"></td><td width="10%">X</td></tr>
600 <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>
601 <tr><td width="40%">WavPack</td><td width="10%"></td><td width="10%">X</td></tr>
602 <tr><td width="40%">Westwood Audio (SND1)</td><td width="10%"></td><td width="10%">X</td></tr>
603 <tr><td width="40%">Windows Media Audio 1</td><td width="10%">X</td><td width="10%">X</td></tr>
604 <tr><td width="40%">Windows Media Audio 2</td><td width="10%">X</td><td width="10%">X</td></tr>
605 <tr><td width="40%">Windows Media Audio Pro</td><td width="10%"></td><td width="10%">X</td></tr>
606 <tr><td width="40%">Windows Media Audio Voice</td><td width="10%"></td><td width="10%">X</td></tr>
607 </table>
608
609 <p><code>X</code> means that encoding (resp. decoding) is supported.
610 </p>
611 <p><code>E</code> means that support is provided through an external library.
612 </p>
613 <p><code>I</code> means that an integer-only version is available, too (ensures high
614 performance on systems without hardware floating point support).
615 </p>
616 <a name="Subtitle-Formats"></a>
617 <h2 class="section"><a href="general.html#toc-Subtitle-Formats">2.5 Subtitle Formats</a></h2>
618
619 <table>
620 <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>
621 <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>
622 <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>
623 <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>
624 <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>
625 <tr><td width="40%">PGS</td><td width="10%"></td><td width="10%"></td><td width="10%"></td><td width="10%">X</td></tr>
626 <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>
627 <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>
628 </table>
629
630 <p><code>X</code> means that the feature is supported.
631 </p>
632 <a name="Network-Protocols"></a>
633 <h2 class="section"><a href="general.html#toc-Network-Protocols">2.6 Network Protocols</a></h2>
634
635 <table>
636 <tr><td width="40%">Name</td><td width="10%">Support</td></tr>
637 <tr><td width="40%">Apple HTTP Live Streaming</td><td width="10%">X</td></tr>
638 <tr><td width="40%">file</td><td width="10%">X</td></tr>
639 <tr><td width="40%">Gopher</td><td width="10%">X</td></tr>
640 <tr><td width="40%">HTTP</td><td width="10%">X</td></tr>
641 <tr><td width="40%">MMS</td><td width="10%">X</td></tr>
642 <tr><td width="40%">pipe</td><td width="10%">X</td></tr>
643 <tr><td width="40%">RTP</td><td width="10%">X</td></tr>
644 <tr><td width="40%">TCP</td><td width="10%">X</td></tr>
645 <tr><td width="40%">UDP</td><td width="10%">X</td></tr>
646 </table>
647
648 <p><code>X</code> means that the protocol is supported.
649 </p>
650
651 <a name="Input_002fOutput-Devices"></a>
652 <h2 class="section"><a href="general.html#toc-Input_002fOutput-Devices">2.7 Input/Output Devices</a></h2>
653
654 <table>
655 <tr><td width="40%">Name</td><td width="10%">Input</td><td width="10%">Output</td></tr>
656 <tr><td width="40%">ALSA</td><td width="10%">X</td><td width="10%">X</td></tr>
657 <tr><td width="40%">BKTR</td><td width="10%">X</td><td width="10%"></td></tr>
658 <tr><td width="40%">DV1394</td><td width="10%">X</td><td width="10%"></td></tr>
659 <tr><td width="40%">JACK</td><td width="10%">X</td><td width="10%"></td></tr>
660 <tr><td width="40%">LIBDC1394</td><td width="10%">X</td><td width="10%"></td></tr>
661 <tr><td width="40%">OSS</td><td width="10%">X</td><td width="10%">X</td></tr>
662 <tr><td width="40%">Video4Linux</td><td width="10%">X</td><td width="10%"></td></tr>
663 <tr><td width="40%">Video4Linux2</td><td width="10%">X</td><td width="10%"></td></tr>
664 <tr><td width="40%">VfW capture</td><td width="10%">X</td><td width="10%"></td></tr>
665 <tr><td width="40%">X11 grabbing</td><td width="10%">X</td><td width="10%"></td></tr>
666 </table>
667
668 <p><code>X</code> means that input/output is supported.
669 </p>
670
671 <a name="Platform-Specific-information"></a>
672 <h1 class="chapter"><a href="general.html#toc-Platform-Specific-information">3. Platform Specific information</a></h1>
673
674 <a name="DOS"></a>
675 <h2 class="section"><a href="general.html#toc-DOS">3.1 DOS</a></h2>
676
677 <p>Using a cross-compiler is preferred for various reasons.
678 </p>
679 <a name="OS_002f2"></a>
680 <h2 class="section"><a href="general.html#toc-OS_002f2">3.2 OS/2</a></h2>
681
682 <p>For information about compiling FFmpeg on OS/2 see
683 <a href="http://www.edm2.com/index.php/FFmpeg">http://www.edm2.com/index.php/FFmpeg</a>.
684 </p>
685 <a name="Unix_002dlike"></a>
686 <h2 class="section"><a href="general.html#toc-Unix_002dlike">3.3 Unix-like</a></h2>
687
688 <p>Some parts of FFmpeg cannot be built with version 2.15 of the GNU
689 assembler which is still provided by a few AMD64 distributions. To
690 make sure your compiler really uses the required version of gas
691 after a binutils upgrade, run:
692 </p>
693 <table><tr><td>&nbsp;</td><td><pre class="example">$(gcc -print-prog-name=as) --version
694 </pre></td></tr></table>
695
696 <p>If not, then you should install a different compiler that has no
697 hard-coded path to gas. In the worst case pass <code>--disable-asm</code>
698 to configure.
699 </p>
700 <a name="BSD"></a>
701 <h3 class="subsection"><a href="general.html#toc-BSD">3.3.1 BSD</a></h3>
702
703 <p>BSD make will not build FFmpeg, you need to install and use GNU Make
704 (&lsquo;<tt>gmake</tt>&rsquo;).
705 </p>
706 <a name="g_t_0028Open_0029Solaris"></a>
707 <h3 class="subsection"><a href="general.html#toc-_0028Open_0029Solaris">3.3.2 (Open)Solaris</a></h3>
708
709 <p>GNU Make is required to build FFmpeg, so you have to invoke (&lsquo;<tt>gmake</tt>&rsquo;),
710 standard Solaris Make will not work. When building with a non-c99 front-end
711 (gcc, generic suncc) add either <code>--extra-libs=/usr/lib/values-xpg6.o</code>
712 or <code>--extra-libs=/usr/lib/64/values-xpg6.o</code> to the configure options
713 since the libc is not c99-compliant by default. The probes performed by
714 configure may raise an exception leading to the death of configure itself
715 due to a bug in the system shell. Simply invoke a different shell such as
716 bash directly to work around this:
717 </p>
718 <table><tr><td>&nbsp;</td><td><pre class="example">bash ./configure
719 </pre></td></tr></table>
720
721 <a name="Darwin-_0028MacOS-X_002c-iPhone_0029"></a>
722 <h3 class="subsection"><a href="general.html#toc-Darwin-_0028MacOS-X_002c-iPhone_0029">3.3.3 Darwin (MacOS X, iPhone)</a></h3>
723
724 <p>MacOS X on PowerPC or ARM (iPhone) requires a preprocessor from
725 <a href="http://github.com/yuvi/gas-preprocessor">http://github.com/yuvi/gas-preprocessor</a> to build the optimized
726 assembler functions. Just download the Perl script and put it somewhere
727 in your PATH, FFmpeg&rsquo;s configure will pick it up automatically.
728 </p>
729 <a name="Windows"></a>
730 <h2 class="section"><a href="general.html#toc-Windows">3.4 Windows</a></h2>
731
732 <p>To get help and instructions for building FFmpeg under Windows, check out
733 the FFmpeg Windows Help Forum at
734 <a href="http://ffmpeg.arrozcru.org/">http://ffmpeg.arrozcru.org/</a>.
735 </p>
736 <a name="Native-Windows-compilation"></a>
737 <h3 class="subsection"><a href="general.html#toc-Native-Windows-compilation">3.4.1 Native Windows compilation</a></h3>
738
739 <p>FFmpeg can be built to run natively on Windows using the MinGW tools. Install
740 the latest versions of MSYS and MinGW from <a href="http://www.mingw.org/">http://www.mingw.org/</a>.
741 You can find detailed installation instructions in the download
742 section and the FAQ.
743 </p>
744 <p>FFmpeg does not build out-of-the-box with the packages the automated MinGW
745 installer provides. It also requires coreutils to be installed and many other
746 packages updated to the latest version. The minimum version for some packages
747 are listed below:
748 </p>
749 <ul>
750 <li> bash 3.1
751 </li><li> msys-make 3.81-2 (note: not mingw32-make)
752 </li><li> w32api 3.13
753 </li><li> mingw-runtime 3.15
754 </li></ul>
755
756 <p>FFmpeg automatically passes <code>-fno-common</code> to the compiler to work around
757 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>).
758 </p>
759 <p>Notes:
760 </p>
761 <ul>
762 <li> Building natively using MSYS can be sped up by disabling implicit rules
763 in the Makefile by calling <code>make -r</code> instead of plain <code>make</code>. This
764 speed up is close to non-existent for normal one-off builds and is only
765 noticeable when running make for a second time (for example in
766 <code>make install</code>).
767
768 </li><li> In order to compile FFplay, you must have the MinGW development library
769 of <a href="http://www.libsdl.org/">SDL</a>.
770 Edit the &lsquo;<tt>bin/sdl-config</tt>&rsquo; script so that it points to the correct prefix
771 where SDL was installed. Verify that &lsquo;<tt>sdl-config</tt>&rsquo; can be launched from
772 the MSYS command line.
773
774 </li><li> By using <code>./configure --enable-shared</code> when configuring FFmpeg,
775 you can build the FFmpeg libraries (e.g. libavutil, libavcodec,
776 libavformat) as DLLs.
777
778 </li></ul>
779
780 <a name="Microsoft-Visual-C_002b_002b-compatibility"></a>
781 <h3 class="subsection"><a href="general.html#toc-Microsoft-Visual-C_002b_002b-compatibility">3.4.2 Microsoft Visual C++ compatibility</a></h3>
782
783 <p>As stated in the FAQ, FFmpeg will not compile under MSVC++. However, if you
784 want to use the libav* libraries in your own applications, you can still
785 compile those applications using MSVC++. But the libav* libraries you link
786 to <em>must</em> be built with MinGW. However, you will not be able to debug
787 inside the libav* libraries, since MSVC++ does not recognize the debug
788 symbols generated by GCC.
789 We strongly recommend you to move over from MSVC++ to MinGW tools.
790 </p>
791 <p>This description of how to use the FFmpeg libraries with MSVC++ is based on
792 Microsoft Visual C++ 2005 Express Edition. If you have a different version,
793 you might have to modify the procedures slightly.
794 </p>
795 <a name="Using-static-libraries"></a>
796 <h4 class="subsubsection"><a href="general.html#toc-Using-static-libraries">3.4.2.1 Using static libraries</a></h4>
797
798 <p>Assuming you have just built and installed FFmpeg in &lsquo;<tt>/usr/local</tt>&rsquo;.
799 </p>
800 <ol>
801 <li> Create a new console application (&quot;File / New / Project&quot;) and then
802 select &quot;Win32 Console Application&quot;. On the appropriate page of the
803 Application Wizard, uncheck the &quot;Precompiled headers&quot; option.
804
805 </li><li> Write the source code for your application, or, for testing, just
806 copy the code from an existing sample application into the source file
807 that MSVC++ has already created for you. For example, you can copy
808 &lsquo;<tt>libavformat/output-example.c</tt>&rsquo; from the FFmpeg distribution.
809
810 </li><li> Open the &quot;Project / Properties&quot; dialog box. In the &quot;Configuration&quot;
811 combo box, select &quot;All Configurations&quot; so that the changes you make will
812 affect both debug and release builds. In the tree view on the left hand
813 side, select &quot;C/C++ / General&quot;, then edit the &quot;Additional Include
814 Directories&quot; setting to contain the path where the FFmpeg includes were
815 installed (i.e. &lsquo;<tt>c:\msys\1.0\local\include</tt>&rsquo;).
816 Do not add MinGW&rsquo;s include directory here, or the include files will
817 conflict with MSVC&rsquo;s.
818
819 </li><li> Still in the &quot;Project / Properties&quot; dialog box, select
820 &quot;Linker / General&quot; from the tree view and edit the
821 &quot;Additional Library Directories&quot; setting to contain the &lsquo;<tt>lib</tt>&rsquo;
822 directory where FFmpeg was installed (i.e. &lsquo;<tt>c:\msys\1.0\local\lib</tt>&rsquo;),
823 the directory where MinGW libs are installed (i.e. &lsquo;<tt>c:\mingw\lib</tt>&rsquo;),
824 and the directory where MinGW&rsquo;s GCC libs are installed
825 (i.e. &lsquo;<tt>C:\mingw\lib\gcc\mingw32\4.2.1-sjlj</tt>&rsquo;). Then select
826 &quot;Linker / Input&quot; from the tree view, and add the files &lsquo;<tt>libavformat.a</tt>&rsquo;,
827 &lsquo;<tt>libavcodec.a</tt>&rsquo;, &lsquo;<tt>libavutil.a</tt>&rsquo;, &lsquo;<tt>libmingwex.a</tt>&rsquo;,
828 &lsquo;<tt>libgcc.a</tt>&rsquo;, and any other libraries you used (i.e. &lsquo;<tt>libz.a</tt>&rsquo;)
829 to the end of &quot;Additional Dependencies&quot;.
830
831 </li><li> Now, select &quot;C/C++ / Code Generation&quot; from the tree view. Select
832 &quot;Debug&quot; in the &quot;Configuration&quot; combo box. Make sure that &quot;Runtime
833 Library&quot; is set to &quot;Multi-threaded Debug DLL&quot;. Then, select &quot;Release&quot; in
834 the &quot;Configuration&quot; combo box and make sure that &quot;Runtime Library&quot; is
835 set to &quot;Multi-threaded DLL&quot;.
836
837 </li><li> Click &quot;OK&quot; to close the &quot;Project / Properties&quot; dialog box.
838
839 </li><li> MSVC++ lacks some C99 header files that are fundamental for FFmpeg.
840 Get msinttypes from <a href="http://code.google.com/p/msinttypes/downloads/list">http://code.google.com/p/msinttypes/downloads/list</a>
841 and install it in MSVC++&rsquo;s include directory
842 (i.e. &lsquo;<tt>C:\Program Files\Microsoft Visual Studio 8\VC\include</tt>&rsquo;).
843
844 </li><li> MSVC++ also does not understand the <code>inline</code> keyword used by
845 FFmpeg, so you must add this line before <code>#include</code>ing libav*:
846 <table><tr><td>&nbsp;</td><td><pre class="example">#define inline _inline
847 </pre></td></tr></table>
848
849 </li><li> Build your application, everything should work.
850
851 </li></ol>
852
853 <a name="Using-shared-libraries"></a>
854 <h4 class="subsubsection"><a href="general.html#toc-Using-shared-libraries">3.4.2.2 Using shared libraries</a></h4>
855
856 <p>This is how to create DLL and LIB files that are compatible with MSVC++:
857 </p>
858 <ol>
859 <li> Add a call to &lsquo;<tt>vcvars32.bat</tt>&rsquo; (which sets up the environment
860 variables for the Visual C++ tools) as the first line of &lsquo;<tt>msys.bat</tt>&rsquo;.
861 The standard location for &lsquo;<tt>vcvars32.bat</tt>&rsquo; is
862 &lsquo;<tt>C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat</tt>&rsquo;,
863 and the standard location for &lsquo;<tt>msys.bat</tt>&rsquo; is &lsquo;<tt>C:\msys\1.0\msys.bat</tt>&rsquo;.
864 If this corresponds to your setup, add the following line as the first line
865 of &lsquo;<tt>msys.bat</tt>&rsquo;:
866
867 <table><tr><td>&nbsp;</td><td><pre class="example">call &quot;C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat&quot;
868 </pre></td></tr></table>
869
870 <p>Alternatively, you may start the &lsquo;<tt>Visual Studio 2005 Command Prompt</tt>&rsquo;,
871 and run &lsquo;<tt>c:\msys\1.0\msys.bat</tt>&rsquo; from there.
872 </p>
873 </li><li> Within the MSYS shell, run <code>lib.exe</code>. If you get a help message
874 from &lsquo;<tt>Microsoft (R) Library Manager</tt>&rsquo;, this means your environment
875 variables are set up correctly, the &lsquo;<tt>Microsoft (R) Library Manager</tt>&rsquo;
876 is on the path and will be used by FFmpeg to create
877 MSVC++-compatible import libraries.
878
879 </li><li> Build FFmpeg with
880
881 <table><tr><td>&nbsp;</td><td><pre class="example">./configure --enable-shared
882 make
883 make install
884 </pre></td></tr></table>
885
886 <p>Your install path (&lsquo;<tt>/usr/local/</tt>&rsquo; by default) should now have the
887 necessary DLL and LIB files under the &lsquo;<tt>bin</tt>&rsquo; directory.
888 </p>
889 <p>Alternatively, build the libraries with a cross compiler, according to
890 the instructions below in <a href="#Cross-compilation-for-Windows-with-Linux">Cross compilation for Windows with Linux</a>.
891 </p>
892 <p>To use those files with MSVC++, do the same as you would do with
893 the static libraries, as described above. But in Step 4,
894 you should only need to add the directory where the LIB files are installed
895 (i.e. &lsquo;<tt>c:\msys\usr\local\bin</tt>&rsquo;). This is not a typo, the LIB files are
896 installed in the &lsquo;<tt>bin</tt>&rsquo; directory. And instead of adding the static
897 libraries (&lsquo;<tt>libxxx.a</tt>&rsquo; files) you should add the MSVC import libraries
898 (&lsquo;<tt>avcodec.lib</tt>&rsquo;, &lsquo;<tt>avformat.lib</tt>&rsquo;, and
899 &lsquo;<tt>avutil.lib</tt>&rsquo;). Note that you should not use the GCC import
900 libraries (&lsquo;<tt>libxxx.dll.a</tt>&rsquo; files), as these will give you undefined
901 reference errors. There should be no need for &lsquo;<tt>libmingwex.a</tt>&rsquo;,
902 &lsquo;<tt>libgcc.a</tt>&rsquo;, and &lsquo;<tt>wsock32.lib</tt>&rsquo;, nor any other external library
903 statically linked into the DLLs.
904 </p>
905 <p>FFmpeg headers do not declare global data for Windows DLLs through the usual
906 dllexport/dllimport interface. Such data will be exported properly while
907 building, but to use them in your MSVC++ code you will have to edit the
908 appropriate headers and mark the data as dllimport. For example, in
909 libavutil/pixdesc.h you should have:
910 </p><table><tr><td>&nbsp;</td><td><pre class="example">extern __declspec(dllimport) const AVPixFmtDescriptor av_pix_fmt_descriptors[];
911 </pre></td></tr></table>
912
913 <p>Note that using import libraries created by dlltool requires
914 the linker optimization option to be set to
915 &quot;References: Keep Unreferenced Data (<code>/OPT:NOREF</code>)&quot;, otherwise
916 the resulting binaries will fail during runtime. This isn&rsquo;t
917 required when using import libraries generated by lib.exe.
918 This issue is reported upstream at
919 <a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12633">http://sourceware.org/bugzilla/show_bug.cgi?id=12633</a>.
920 </p>
921 <p>To create import libraries that work with the <code>/OPT:REF</code> option
922 (which is enabled by default in Release mode), follow these steps:
923 </p>
924 <ol>
925 <li> Open &lsquo;<tt>Visual Studio 2005 Command Prompt</tt>&rsquo;.
926
927 <p>Alternatively, in a normal command line prompt, call &lsquo;<tt>vcvars32.bat</tt>&rsquo;
928 which sets up the environment variables for the Visual C++ tools
929 (the standard location for this file is
930 &lsquo;<tt>C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat</tt>&rsquo;).
931 </p>
932 </li><li> Enter the &lsquo;<tt>bin</tt>&rsquo; directory where the created LIB and DLL files
933 are stored.
934
935 </li><li> Generate new import libraries with &lsquo;<tt>lib.exe</tt>&rsquo;:
936
937 <table><tr><td>&nbsp;</td><td><pre class="example">lib /machine:i386 /def:..\lib\avcodec-53.def  /out:avcodec.lib
938 lib /machine:i386 /def:..\lib\avdevice-53.def /out:avdevice.lib
939 lib /machine:i386 /def:..\lib\avfilter-2.def  /out:avfilter.lib
940 lib /machine:i386 /def:..\lib\avformat-53.def /out:avformat.lib
941 lib /machine:i386 /def:..\lib\avutil-51.def   /out:avutil.lib
942 lib /machine:i386 /def:..\lib\swscale-2.def   /out:swscale.lib
943 </pre></td></tr></table>
944
945 </li></ol>
946
947 <p><a name="Cross-compilation-for-Windows-with-Linux"></a>
948 </p></li></ol>
949 <a name="Cross-compilation-for-Windows-with-Linux-1"></a>
950 <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>
951
952 <p>You must use the MinGW cross compilation tools available at
953 <a href="http://www.mingw.org/">http://www.mingw.org/</a>.
954 </p>
955 <p>Then configure FFmpeg with the following options:
956 </p><table><tr><td>&nbsp;</td><td><pre class="example">./configure --target-os=mingw32 --cross-prefix=i386-mingw32msvc-
957 </pre></td></tr></table>
958 <p>(you can change the cross-prefix according to the prefix chosen for the
959 MinGW tools).
960 </p>
961 <p>Then you can easily test FFmpeg with <a href="http://www.winehq.com/">Wine</a>.
962 </p>
963 <a name="Compilation-under-Cygwin"></a>
964 <h3 class="subsection"><a href="general.html#toc-Compilation-under-Cygwin">3.4.4 Compilation under Cygwin</a></h3>
965
966 <p>Please use Cygwin 1.7.x as the obsolete 1.5.x Cygwin versions lack
967 llrint() in its C library.
968 </p>
969 <p>Install your Cygwin with all the &quot;Base&quot; packages, plus the
970 following &quot;Devel&quot; ones:
971 </p><table><tr><td>&nbsp;</td><td><pre class="example">binutils, gcc4-core, make, git, mingw-runtime, texi2html
972 </pre></td></tr></table>
973
974 <p>And the following &quot;Utils&quot; one:
975 </p><table><tr><td>&nbsp;</td><td><pre class="example">diffutils
976 </pre></td></tr></table>
977
978 <p>Then run
979 </p>
980 <table><tr><td>&nbsp;</td><td><pre class="example">./configure
981 </pre></td></tr></table>
982
983 <p>to make a static build.
984 </p>
985 <p>The current <code>gcc4-core</code> package is buggy and needs this flag to build
986 shared libraries:
987 </p>
988 <table><tr><td>&nbsp;</td><td><pre class="example">./configure --enable-shared --disable-static --extra-cflags=-fno-reorder-functions
989 </pre></td></tr></table>
990
991 <p>If you want to build FFmpeg with additional libraries, download Cygwin
992 &quot;Devel&quot; packages for Ogg and Vorbis from any Cygwin packages repository:
993 </p><table><tr><td>&nbsp;</td><td><pre class="example">libogg-devel, libvorbis-devel
994 </pre></td></tr></table>
995
996 <p>These library packages are only available from
997 <a href="http://sourceware.org/cygwinports/">Cygwin Ports</a>:
998 </p>
999 <table><tr><td>&nbsp;</td><td><pre class="example">yasm, libSDL-devel, libdirac-devel, libfaac-devel, libgsm-devel,
1000 libmp3lame-devel, libschroedinger1.0-devel, speex-devel, libtheora-devel,
1001 libxvidcore-devel
1002 </pre></td></tr></table>
1003
1004 <p>The recommendation for libnut and x264 is to build them from source by
1005 yourself, as they evolve too quickly for Cygwin Ports to be up to date.
1006 </p>
1007 <p>Cygwin 1.7.x has IPv6 support. You can add IPv6 to Cygwin 1.5.x by means
1008 of the <code>libgetaddrinfo-devel</code> package, available at Cygwin Ports.
1009 </p>
1010 <a name="Crosscompilation-for-Windows-under-Cygwin"></a>
1011 <h3 class="subsection"><a href="general.html#toc-Crosscompilation-for-Windows-under-Cygwin">3.4.5 Crosscompilation for Windows under Cygwin</a></h3>
1012
1013 <p>With Cygwin you can create Windows binaries that do not need the cygwin1.dll.
1014 </p>
1015 <p>Just install your Cygwin as explained before, plus these additional
1016 &quot;Devel&quot; packages:
1017 </p><table><tr><td>&nbsp;</td><td><pre class="example">gcc-mingw-core, mingw-runtime, mingw-zlib
1018 </pre></td></tr></table>
1019
1020 <p>and add some special flags to your configure invocation.
1021 </p>
1022 <p>For a static build run
1023 </p><table><tr><td>&nbsp;</td><td><pre class="example">./configure --target-os=mingw32 --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
1024 </pre></td></tr></table>
1025
1026 <p>and for a build with shared libraries
1027 </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
1028 </pre></td></tr></table>
1029
1030 <hr size="1">
1031 <p>
1032  <font size="-1">
1033   This document was generated by <em>Kyle Schwarz</em> on <em>July 23, 2011</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.
1034  </font>
1035  <br>
1036
1037 </p>
1038 </body>
1039 </html>