]> git.sesse.net Git - casparcg/blob - ffmpeg 0.7/doc/general.html
Added ffmpeg 0.7 RC
[casparcg] / ffmpeg 0.7 / 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 May 18, 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>
69     <ul class="toc">
70       <li><a name="toc-DJGPP" href="#DJGPP">3.1.1 DJGPP</a></li>
71     </ul></li>
72     <li><a name="toc-OS_002f2" href="#OS_002f2">3.2 OS/2</a></li>
73     <li><a name="toc-Unix_002dlike" href="#Unix_002dlike">3.3 Unix-like</a>
74     <ul class="toc">
75       <li><a name="toc-BSD" href="#BSD">3.3.1 BSD</a></li>
76       <li><a name="toc-_0028Open_0029Solaris" href="#g_t_0028Open_0029Solaris">3.3.2 (Open)Solaris</a></li>
77       <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>
78     </ul></li>
79     <li><a name="toc-Windows" href="#Windows">3.4 Windows</a>
80     <ul class="toc">
81       <li><a name="toc-Native-Windows-compilation" href="#Native-Windows-compilation">3.4.1 Native Windows compilation</a></li>
82       <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>
83       <ul class="toc">
84         <li><a name="toc-Using-static-libraries" href="#Using-static-libraries">3.4.2.1 Using static libraries</a></li>
85         <li><a name="toc-Using-shared-libraries" href="#Using-shared-libraries">3.4.2.2 Using shared libraries</a></li>
86       </ul></li>
87       <li><a name="toc-Cross-compilation-for-Windows-with-Linux" href="#Cross-compilation-for-Windows-with-Linux">3.4.3 Cross compilation for Windows with Linux</a></li>
88       <li><a name="toc-Compilation-under-Cygwin" href="#Compilation-under-Cygwin">3.4.4 Compilation under Cygwin</a></li>
89       <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>
90     </ul>
91 </li>
92   </ul>
93 </li>
94 </ul>
95 </div>
96
97 <hr size="1">
98 <a name="external-libraries"></a>
99 <h1 class="chapter"><a href="general.html#toc-external-libraries">1. external libraries</a></h1>
100
101 <p>FFmpeg can be hooked up with a number of external libraries to add support
102 for more formats. None of them are used by default, their use has to be
103 explicitly requested by passing the appropriate flags to &lsquo;<tt>./configure</tt>&rsquo;.
104 </p>
105 <a name="OpenCORE-AMR"></a>
106 <h2 class="section"><a href="general.html#toc-OpenCORE-AMR">1.1 OpenCORE AMR</a></h2>
107
108 <p>FFmpeg can make use of the OpenCORE libraries for AMR-NB
109 decoding/encoding and AMR-WB decoding.
110 </p>
111 <p>Go to <a href="http://sourceforge.net/projects/opencore-amr/">http://sourceforge.net/projects/opencore-amr/</a> and follow the instructions for
112 installing the libraries. Then pass <code>--enable-libopencore-amrnb</code> and/or
113 <code>--enable-libopencore-amrwb</code> to configure to enable the libraries.
114 </p>
115 <p>Note that OpenCORE is under the Apache License 2.0 (see
116 <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a> for details), which is
117 incompatible with the LGPL version 2.1 and GPL version 2. You have to
118 upgrade FFmpeg&rsquo;s license to LGPL version 3 (or if you have enabled
119 GPL components, GPL version 3) to use it.
120 </p>
121
122 <a name="Supported-File-Formats-and-Codecs"></a>
123 <h1 class="chapter"><a href="general.html#toc-Supported-File-Formats-and-Codecs">2. Supported File Formats and Codecs</a></h1>
124
125 <p>You can use the <code>-formats</code> and <code>-codecs</code> options to have an exhaustive list.
126 </p>
127 <a name="File-Formats"></a>
128 <h2 class="section"><a href="general.html#toc-File-Formats">2.1 File Formats</a></h2>
129
130 <p>FFmpeg supports the following file formats through the <code>libavformat</code>
131 library:
132 </p>
133 <table>
134 <tr><td width="40%">Name</td><td width="10%">Encoding</td><td width="10%">Decoding</td><td width="40%">Comments</td></tr>
135 <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>
136 <tr><td width="40%">8088flex TMV</td><td width="10%"></td><td width="10%">X</td></tr>
137 <tr><td width="40%">Adobe Filmstrip</td><td width="10%">X</td><td width="10%">X</td></tr>
138 <tr><td width="40%">Audio IFF (AIFF)</td><td width="10%">X</td><td width="10%">X</td></tr>
139 <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>
140 <tr><td width="40%">3GPP AMR</td><td width="10%">X</td><td width="10%">X</td></tr>
141 <tr><td width="40%">Apple HTTP Live Streaming</td><td width="10%"></td><td width="10%">X</td></tr>
142 <tr><td width="40%">ASF</td><td width="10%">X</td><td width="10%">X</td></tr>
143 <tr><td width="40%">AVI</td><td width="10%">X</td><td width="10%">X</td></tr>
144 <tr><td width="40%">AVISynth</td><td width="10%"></td><td width="10%">X</td></tr>
145 <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>
146 <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>
147 <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>
148 <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>
149 <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>
150 <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>
151 <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>
152 <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>
153 <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>
154 <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>
155 <tr><td width="40%">CRC testing format</td><td width="10%">X</td><td width="10%"></td></tr>
156 <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>
157 <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>
158 <tr><td width="40%">D-Cinema audio</td><td width="10%">X</td><td width="10%">X</td></tr>
159 <tr><td width="40%">Deluxe Paint Animation</td><td width="10%"></td><td width="10%">X</td></tr>
160 <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>
161 <tr><td width="40%">DV video</td><td width="10%">X</td><td width="10%">X</td></tr>
162 <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
163          game and different game cutscenes repacked for use with ScummVM.</td></tr>
164 <tr><td width="40%">Electronic Arts cdata</td><td width="10%"></td><td width="10%">X</td></tr>
165 <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>
166 <tr><td width="40%">FFM (FFserver live feed)</td><td width="10%">X</td><td width="10%">X</td></tr>
167 <tr><td width="40%">Flash (SWF)</td><td width="10%">X</td><td width="10%">X</td></tr>
168 <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>
169 <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>
170 <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>
171 <tr><td width="40%">framecrc testing format</td><td width="10%">X</td><td width="10%"></td></tr>
172 <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>
173 <tr><td width="40%">GIF Animation</td><td width="10%">X</td><td width="10%"></td></tr>
174 <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
175          playout servers.</td></tr>
176 <tr><td width="40%">id Quake II CIN video</td><td width="10%"></td><td width="10%">X</td></tr>
177 <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>
178 <tr><td width="40%">IEC61937 encapsulation</td><td width="10%">X</td><td width="10%">X</td></tr>
179 <tr><td width="40%">IFF</td><td width="10%"></td><td width="10%">X</td><td width="40%">Interchange File Format</td></tr>
180 <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>
181 <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>
182 <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>
183 <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>
184 <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>
185 <tr><td width="40%">Matroska</td><td width="10%">X</td><td width="10%">X</td></tr>
186 <tr><td width="40%">Matroska audio</td><td width="10%">X</td><td width="10%"></td></tr>
187 <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>
188 <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>
189 <tr><td width="40%">MD Studio</td><td width="10%"></td><td width="10%">X</td></tr>
190 <tr><td width="40%">Mobotix .mxg</td><td width="10%"></td><td width="10%">X</td></tr>
191 <tr><td width="40%">Monkey&rsquo;s Audio</td><td width="10%"></td><td width="10%">X</td></tr>
192 <tr><td width="40%">Motion Pixels MVI</td><td width="10%"></td><td width="10%">X</td></tr>
193 <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>
194 <tr><td width="40%">MP2</td><td width="10%">X</td><td width="10%">X</td></tr>
195 <tr><td width="40%">MP3</td><td width="10%">X</td><td width="10%">X</td></tr>
196 <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>
197 <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>
198 <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>
199 <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>
200 <tr><td width="40%">MIME multipart JPEG</td><td width="10%">X</td><td width="10%"></td></tr>
201 <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>
202 <tr><td width="40%">MTV</td><td width="10%"></td><td width="10%">X</td></tr>
203 <tr><td width="40%">Musepack</td><td width="10%"></td><td width="10%">X</td></tr>
204 <tr><td width="40%">Musepack SV8</td><td width="10%"></td><td width="10%">X</td></tr>
205 <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>
206 <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>
207 <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>
208 <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>
209 <tr><td width="40%">Nullsoft Streaming Video</td><td width="10%"></td><td width="10%">X</td></tr>
210 <tr><td width="40%">NuppelVideo</td><td width="10%"></td><td width="10%">X</td></tr>
211 <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>
212 <tr><td width="40%">Ogg</td><td width="10%">X</td><td width="10%">X</td></tr>
213 <tr><td width="40%">Playstation Portable PMP</td><td width="10%"></td><td width="10%">X</td></tr>
214 <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>
215 <tr><td width="40%">QCP</td><td width="10%"></td><td width="10%">X</td></tr>
216 <tr><td width="40%">raw ADTS (AAC)</td><td width="10%">X</td><td width="10%">X</td></tr>
217 <tr><td width="40%">raw AC-3</td><td width="10%">X</td><td width="10%">X</td></tr>
218 <tr><td width="40%">raw Chinese AVS video</td><td width="10%">X</td><td width="10%">X</td></tr>
219 <tr><td width="40%">raw CRI ADX</td><td width="10%">X</td><td width="10%">X</td></tr>
220 <tr><td width="40%">raw Dirac</td><td width="10%">X</td><td width="10%">X</td></tr>
221 <tr><td width="40%">raw DNxHD</td><td width="10%">X</td><td width="10%">X</td></tr>
222 <tr><td width="40%">raw DTS</td><td width="10%">X</td><td width="10%">X</td></tr>
223 <tr><td width="40%">raw E-AC-3</td><td width="10%">X</td><td width="10%">X</td></tr>
224 <tr><td width="40%">raw FLAC</td><td width="10%">X</td><td width="10%">X</td></tr>
225 <tr><td width="40%">raw GSM</td><td width="10%"></td><td width="10%">X</td></tr>
226 <tr><td width="40%">raw H.261</td><td width="10%">X</td><td width="10%">X</td></tr>
227 <tr><td width="40%">raw H.263</td><td width="10%">X</td><td width="10%">X</td></tr>
228 <tr><td width="40%">raw H.264</td><td width="10%">X</td><td width="10%">X</td></tr>
229 <tr><td width="40%">raw Ingenient MJPEG</td><td width="10%"></td><td width="10%">X</td></tr>
230 <tr><td width="40%">raw MJPEG</td><td width="10%">X</td><td width="10%">X</td></tr>
231 <tr><td width="40%">raw MLP</td><td width="10%"></td><td width="10%">X</td></tr>
232 <tr><td width="40%">raw MPEG</td><td width="10%"></td><td width="10%">X</td></tr>
233 <tr><td width="40%">raw MPEG-1</td><td width="10%"></td><td width="10%">X</td></tr>
234 <tr><td width="40%">raw MPEG-2</td><td width="10%"></td><td width="10%">X</td></tr>
235 <tr><td width="40%">raw MPEG-4</td><td width="10%">X</td><td width="10%">X</td></tr>
236 <tr><td width="40%">raw NULL</td><td width="10%">X</td><td width="10%"></td></tr>
237 <tr><td width="40%">raw video</td><td width="10%">X</td><td width="10%">X</td></tr>
238 <tr><td width="40%">raw id RoQ</td><td width="10%">X</td><td width="10%"></td></tr>
239 <tr><td width="40%">raw Shorten</td><td width="10%"></td><td width="10%">X</td></tr>
240 <tr><td width="40%">raw TrueHD</td><td width="10%">X</td><td width="10%">X</td></tr>
241 <tr><td width="40%">raw VC-1</td><td width="10%"></td><td width="10%">X</td></tr>
242 <tr><td width="40%">raw PCM A-law</td><td width="10%">X</td><td width="10%">X</td></tr>
243 <tr><td width="40%">raw PCM mu-law</td><td width="10%">X</td><td width="10%">X</td></tr>
244 <tr><td width="40%">raw PCM signed 8 bit</td><td width="10%">X</td><td width="10%">X</td></tr>
245 <tr><td width="40%">raw PCM signed 16 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
246 <tr><td width="40%">raw PCM signed 16 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
247 <tr><td width="40%">raw PCM signed 24 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
248 <tr><td width="40%">raw PCM signed 24 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
249 <tr><td width="40%">raw PCM signed 32 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
250 <tr><td width="40%">raw PCM signed 32 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
251 <tr><td width="40%">raw PCM unsigned 8 bit</td><td width="10%">X</td><td width="10%">X</td></tr>
252 <tr><td width="40%">raw PCM unsigned 16 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
253 <tr><td width="40%">raw PCM unsigned 16 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
254 <tr><td width="40%">raw PCM unsigned 24 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
255 <tr><td width="40%">raw PCM unsigned 24 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
256 <tr><td width="40%">raw PCM unsigned 32 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
257 <tr><td width="40%">raw PCM unsigned 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 32 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
259 <tr><td width="40%">raw PCM floating-point 32 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
260 <tr><td width="40%">raw PCM floating-point 64 bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
261 <tr><td width="40%">raw PCM floating-point 64 bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
262 <tr><td width="40%">RDT</td><td width="10%"></td><td width="10%">X</td></tr>
263 <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>
264 <tr><td width="40%">RealMedia</td><td width="10%">X</td><td width="10%">X</td></tr>
265 <tr><td width="40%">Redirector</td><td width="10%"></td><td width="10%">X</td></tr>
266 <tr><td width="40%">Renderware TeXture Dictionary</td><td width="10%"></td><td width="10%">X</td></tr>
267 <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>
268 <tr><td width="40%">RPL/ARMovie</td><td width="10%"></td><td width="10%">X</td></tr>
269 <tr><td width="40%">Lego Mindstorms RSO</td><td width="10%">X</td><td width="10%">X</td></tr>
270 <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>
271 <tr><td width="40%">RTP</td><td width="10%">X</td><td width="10%">X</td></tr>
272 <tr><td width="40%">RTSP</td><td width="10%">X</td><td width="10%">X</td></tr>
273 <tr><td width="40%">SAP</td><td width="10%">X</td><td width="10%">X</td></tr>
274 <tr><td width="40%">SDP</td><td width="10%"></td><td width="10%">X</td></tr>
275 <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>
276 <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>
277 <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>
278 <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>
279 <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>
280 <tr><td width="40%">Sony PlayStation STR</td><td width="10%"></td><td width="10%">X</td></tr>
281 <tr><td width="40%">Sony Wave64 (W64)</td><td width="10%"></td><td width="10%">X</td></tr>
282 <tr><td width="40%">SoX native format</td><td width="10%">X</td><td width="10%">X</td></tr>
283 <tr><td width="40%">SUN AU format</td><td width="10%">X</td><td width="10%">X</td></tr>
284 <tr><td width="40%">Text files</td><td width="10%"></td><td width="10%">X</td></tr>
285 <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>
286 <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>
287 <tr><td width="40%">True Audio</td><td width="10%"></td><td width="10%">X</td></tr>
288 <tr><td width="40%">VC-1 test bitstream</td><td width="10%">X</td><td width="10%">X</td></tr>
289 <tr><td width="40%">WAV</td><td width="10%">X</td><td width="10%">X</td></tr>
290 <tr><td width="40%">WavPack</td><td width="10%"></td><td width="10%">X</td></tr>
291 <tr><td width="40%">WebM</td><td width="10%">X</td><td width="10%">X</td></tr>
292 <tr><td width="40%">Windows Televison (WTV)</td><td width="10%"></td><td width="10%">X</td></tr>
293 <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>
294 <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>
295 <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>
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%"></td><td width="10%">E</td><td width="40%">decoding supported through external library libopenjpeg</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></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 Video 7</td><td width="10%">X</td><td width="10%">X</td></tr>
471 <tr><td width="40%">Windows Media Video 8</td><td width="10%">X</td><td width="10%">X</td></tr>
472 <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>
473 <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>
474 <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>
475 <tr><td width="40%">Winnov WNV1</td><td width="10%"></td><td width="10%">X</td></tr>
476 <tr><td width="40%">WMV7</td><td width="10%">X</td><td width="10%">X</td></tr>
477 <tr><td width="40%">YAMAHA SMAF</td><td width="10%">X</td><td width="10%">X</td></tr>
478 <tr><td width="40%">Psygnosis YOP Video</td><td width="10%"></td><td width="10%">X</td></tr>
479 <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>
480 <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>
481 </table>
482
483 <p><code>X</code> means that encoding (resp. decoding) is supported.
484 </p>
485 <p><code>E</code> means that support is provided through an external library.
486 </p>
487 <a name="Audio-Codecs"></a>
488 <h2 class="section"><a href="general.html#toc-Audio-Codecs">2.4 Audio Codecs</a></h2>
489
490 <table>
491 <tr><td width="40%">Name</td><td width="10%">Encoding</td><td width="10%">Decoding</td><td width="40%">Comments</td></tr>
492 <tr><td width="40%">8SVX audio</td><td width="10%"></td><td width="10%">X</td></tr>
493 <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>
494 <tr><td width="40%">AC-3</td><td width="10%">IX</td><td width="10%">X</td></tr>
495 <tr><td width="40%">ADPCM 4X Movie</td><td width="10%"></td><td width="10%">X</td></tr>
496 <tr><td width="40%">ADPCM CDROM XA</td><td width="10%"></td><td width="10%">X</td></tr>
497 <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>
498 <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>
499 <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>
500 <tr><td width="40%">ADPCM Electronic Arts R1</td><td width="10%"></td><td width="10%">X</td></tr>
501 <tr><td width="40%">ADPCM Electronic Arts R2</td><td width="10%"></td><td width="10%">X</td></tr>
502 <tr><td width="40%">ADPCM Electronic Arts R3</td><td width="10%"></td><td width="10%">X</td></tr>
503 <tr><td width="40%">ADPCM Electronic Arts XAS</td><td width="10%"></td><td width="10%">X</td></tr>
504 <tr><td width="40%">ADPCM G.722</td><td width="10%">X</td><td width="10%">X</td></tr>
505 <tr><td width="40%">ADPCM G.726</td><td width="10%">X</td><td width="10%">X</td></tr>
506 <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>
507 <tr><td width="40%">ADPCM IMA Electronic Arts EACS</td><td width="10%"></td><td width="10%">X</td></tr>
508 <tr><td width="40%">ADPCM IMA Electronic Arts SEAD</td><td width="10%"></td><td width="10%">X</td></tr>
509 <tr><td width="40%">ADPCM IMA Funcom</td><td width="10%"></td><td width="10%">X</td></tr>
510 <tr><td width="40%">ADPCM IMA QuickTime</td><td width="10%">X</td><td width="10%">X</td></tr>
511 <tr><td width="40%">ADPCM IMA Loki SDL MJPEG</td><td width="10%"></td><td width="10%">X</td></tr>
512 <tr><td width="40%">ADPCM IMA WAV</td><td width="10%">X</td><td width="10%">X</td></tr>
513 <tr><td width="40%">ADPCM IMA Westwood</td><td width="10%"></td><td width="10%">X</td></tr>
514 <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>
515 <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>
516 <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>
517 <tr><td width="40%">ADPCM Microsoft</td><td width="10%">X</td><td width="10%">X</td></tr>
518 <tr><td width="40%">ADPCM MS IMA</td><td width="10%">X</td><td width="10%">X</td></tr>
519 <tr><td width="40%">ADPCM Nintendo Gamecube THP</td><td width="10%"></td><td width="10%">X</td></tr>
520 <tr><td width="40%">ADPCM QT IMA</td><td width="10%">X</td><td width="10%">X</td></tr>
521 <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>
522 <tr><td width="40%">ADPCM Shockwave Flash</td><td width="10%">X</td><td width="10%">X</td></tr>
523 <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>
524 <tr><td width="40%">ADPCM Sound Blaster Pro 2-bit</td><td width="10%"></td><td width="10%">X</td></tr>
525 <tr><td width="40%">ADPCM Sound Blaster Pro 2.6-bit</td><td width="10%"></td><td width="10%">X</td></tr>
526 <tr><td width="40%">ADPCM Sound Blaster Pro 4-bit</td><td width="10%"></td><td width="10%">X</td></tr>
527 <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>
528 <tr><td width="40%">ADPCM Yamaha</td><td width="10%">X</td><td width="10%">X</td></tr>
529 <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>
530 <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>
531 <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>
532 <tr><td width="40%">Atrac 1</td><td width="10%"></td><td width="10%">X</td></tr>
533 <tr><td width="40%">Atrac 3</td><td width="10%"></td><td width="10%">X</td></tr>
534 <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>
535 <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>
536 <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>
537 <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>
538 <tr><td width="40%">DCA (DTS Coherent Acoustics)</td><td width="10%">X</td><td width="10%">X</td></tr>
539 <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>
540 <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>
541 <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>
542 <tr><td width="40%">DPCM Sol</td><td width="10%"></td><td width="10%">X</td></tr>
543 <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>
544 <tr><td width="40%">DSP Group TrueSpeech</td><td width="10%"></td><td width="10%">X</td></tr>
545 <tr><td width="40%">DV audio</td><td width="10%"></td><td width="10%">X</td></tr>
546 <tr><td width="40%">Enhanced AC-3</td><td width="10%"></td><td width="10%">X</td></tr>
547 <tr><td width="40%">FLAC (Free Lossless Audio Codec)</td><td width="10%">X</td><td width="10%">IX</td></tr>
548 <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>
549 <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>
550 <tr><td width="40%">IMC (Intel Music Coder)</td><td width="10%"></td><td width="10%">X</td></tr>
551 <tr><td width="40%">MACE (Macintosh Audio Compression/Expansion) 3:1</td><td width="10%"></td><td width="10%">X</td></tr>
552 <tr><td width="40%">MACE (Macintosh Audio Compression/Expansion) 6:1</td><td width="10%"></td><td width="10%">X</td></tr>
553 <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>
554 <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>
555 <tr><td width="40%">MP1 (MPEG audio layer 1)</td><td width="10%"></td><td width="10%">IX</td></tr>
556 <tr><td width="40%">MP2 (MPEG audio layer 2)</td><td width="10%">IX</td><td width="10%">IX</td></tr>
557 <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>
558 <tr><td width="40%">MPEG-4 Audio Lossless Coding (ALS)</td><td width="10%"></td><td width="10%">X</td></tr>
559 <tr><td width="40%">Musepack SV7</td><td width="10%"></td><td width="10%">X</td></tr>
560 <tr><td width="40%">Musepack SV8</td><td width="10%"></td><td width="10%">X</td></tr>
561 <tr><td width="40%">Nellymoser Asao</td><td width="10%">X</td><td width="10%">X</td></tr>
562 <tr><td width="40%">PCM A-law</td><td width="10%">X</td><td width="10%">X</td></tr>
563 <tr><td width="40%">PCM mu-law</td><td width="10%">X</td><td width="10%">X</td></tr>
564 <tr><td width="40%">PCM 16-bit little-endian planar</td><td width="10%"></td><td width="10%">X</td></tr>
565 <tr><td width="40%">PCM 32-bit floating point big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
566 <tr><td width="40%">PCM 32-bit floating point little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
567 <tr><td width="40%">PCM 64-bit floating point big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
568 <tr><td width="40%">PCM 64-bit floating point little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
569 <tr><td width="40%">PCM D-Cinema audio signed 24-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
570 <tr><td width="40%">PCM signed 8-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
571 <tr><td width="40%">PCM signed 16-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
572 <tr><td width="40%">PCM signed 16-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
573 <tr><td width="40%">PCM signed 24-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
574 <tr><td width="40%">PCM signed 24-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
575 <tr><td width="40%">PCM signed 32-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
576 <tr><td width="40%">PCM signed 32-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
577 <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>
578 <tr><td width="40%">PCM unsigned 8-bit</td><td width="10%">X</td><td width="10%">X</td></tr>
579 <tr><td width="40%">PCM unsigned 16-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
580 <tr><td width="40%">PCM unsigned 16-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
581 <tr><td width="40%">PCM unsigned 24-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
582 <tr><td width="40%">PCM unsigned 24-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
583 <tr><td width="40%">PCM unsigned 32-bit big-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
584 <tr><td width="40%">PCM unsigned 32-bit little-endian</td><td width="10%">X</td><td width="10%">X</td></tr>
585 <tr><td width="40%">PCM Zork</td><td width="10%">X</td><td width="10%">X</td></tr>
586 <tr><td width="40%">QCELP / PureVoice</td><td width="10%"></td><td width="10%">X</td></tr>
587 <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>
588 <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>
589 <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>
590 <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>
591 <tr><td width="40%">RealAudio SIPR / ACELP.NET</td><td width="10%"></td><td width="10%">X</td></tr>
592 <tr><td width="40%">Shorten</td><td width="10%"></td><td width="10%">X</td></tr>
593 <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>
594 <tr><td width="40%">Smacker audio</td><td width="10%"></td><td width="10%">X</td></tr>
595 <tr><td width="40%">SMPTE 302M AES3 audio</td><td width="10%"></td><td width="10%">X</td></tr>
596 <tr><td width="40%">Sonic</td><td width="10%">X</td><td width="10%">X</td><td width="40%">experimental codec</td></tr>
597 <tr><td width="40%">Sonic lossless</td><td width="10%">X</td><td width="10%">X</td><td width="40%">experimental codec</td></tr>
598 <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>
599 <tr><td width="40%">True Audio (TTA)</td><td width="10%"></td><td width="10%">X</td></tr>
600 <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>
601 <tr><td width="40%">TwinVQ (VQF flavor)</td><td width="10%"></td><td width="10%">X</td></tr>
602 <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>
603 <tr><td width="40%">WavPack</td><td width="10%"></td><td width="10%">X</td></tr>
604 <tr><td width="40%">Westwood Audio (SND1)</td><td width="10%"></td><td width="10%">X</td></tr>
605 <tr><td width="40%">Windows Media Audio 1</td><td width="10%">X</td><td width="10%">X</td></tr>
606 <tr><td width="40%">Windows Media Audio 2</td><td width="10%">X</td><td width="10%">X</td></tr>
607 <tr><td width="40%">Windows Media Audio Pro</td><td width="10%"></td><td width="10%">X</td></tr>
608 <tr><td width="40%">Windows Media Audio Voice</td><td width="10%"></td><td width="10%">X</td></tr>
609 </table>
610
611 <p><code>X</code> means that encoding (resp. decoding) is supported.
612 </p>
613 <p><code>E</code> means that support is provided through an external library.
614 </p>
615 <p><code>I</code> means that an integer-only version is available, too (ensures high
616 performance on systems without hardware floating point support).
617 </p>
618 <a name="Subtitle-Formats"></a>
619 <h2 class="section"><a href="general.html#toc-Subtitle-Formats">2.5 Subtitle Formats</a></h2>
620
621 <table>
622 <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>
623 <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>
624 <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>
625 <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>
626 <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>
627 <tr><td width="40%">PGS</td><td width="10%"></td><td width="10%"></td><td width="10%"></td><td width="10%">X</td></tr>
628 <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>
629 <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>
630 </table>
631
632 <p><code>X</code> means that the feature is supported.
633 </p>
634 <a name="Network-Protocols"></a>
635 <h2 class="section"><a href="general.html#toc-Network-Protocols">2.6 Network Protocols</a></h2>
636
637 <table>
638 <tr><td width="40%">Name</td><td width="10%">Support</td></tr>
639 <tr><td width="40%">Apple HTTP Live Streaming</td><td width="10%">X</td></tr>
640 <tr><td width="40%">file</td><td width="10%">X</td></tr>
641 <tr><td width="40%">Gopher</td><td width="10%">X</td></tr>
642 <tr><td width="40%">HTTP</td><td width="10%">X</td></tr>
643 <tr><td width="40%">MMS</td><td width="10%">X</td></tr>
644 <tr><td width="40%">pipe</td><td width="10%">X</td></tr>
645 <tr><td width="40%">RTP</td><td width="10%">X</td></tr>
646 <tr><td width="40%">TCP</td><td width="10%">X</td></tr>
647 <tr><td width="40%">UDP</td><td width="10%">X</td></tr>
648 </table>
649
650 <p><code>X</code> means that the protocol is supported.
651 </p>
652
653 <a name="Input_002fOutput-Devices"></a>
654 <h2 class="section"><a href="general.html#toc-Input_002fOutput-Devices">2.7 Input/Output Devices</a></h2>
655
656 <table>
657 <tr><td width="40%">Name</td><td width="10%">Input</td><td width="10%">Output</td></tr>
658 <tr><td width="40%">ALSA</td><td width="10%">X</td><td width="10%">X</td></tr>
659 <tr><td width="40%">BKTR</td><td width="10%">X</td><td width="10%"></td></tr>
660 <tr><td width="40%">DV1394</td><td width="10%">X</td><td width="10%"></td></tr>
661 <tr><td width="40%">JACK</td><td width="10%">X</td><td width="10%"></td></tr>
662 <tr><td width="40%">LIBDC1394</td><td width="10%">X</td><td width="10%"></td></tr>
663 <tr><td width="40%">OSS</td><td width="10%">X</td><td width="10%">X</td></tr>
664 <tr><td width="40%">Video4Linux</td><td width="10%">X</td><td width="10%"></td></tr>
665 <tr><td width="40%">Video4Linux2</td><td width="10%">X</td><td width="10%"></td></tr>
666 <tr><td width="40%">VfW capture</td><td width="10%">X</td><td width="10%"></td></tr>
667 <tr><td width="40%">X11 grabbing</td><td width="10%">X</td><td width="10%"></td></tr>
668 </table>
669
670 <p><code>X</code> means that input/output is supported.
671 </p>
672
673 <a name="Platform-Specific-information"></a>
674 <h1 class="chapter"><a href="general.html#toc-Platform-Specific-information">3. Platform Specific information</a></h1>
675
676 <a name="DOS"></a>
677 <h2 class="section"><a href="general.html#toc-DOS">3.1 DOS</a></h2>
678
679 <p>Using a cross-compiler is preferred for various reasons.
680 </p>
681 <a name="DJGPP"></a>
682 <h3 class="subsection"><a href="general.html#toc-DJGPP">3.1.1 DJGPP</a></h3>
683
684 <p>FFmpeg cannot be compiled because of broken system headers, add
685 <code>--extra-cflags=-U__STRICT_ANSI__</code> to the configure options as a
686 workaround.
687 </p>
688 <a name="OS_002f2"></a>
689 <h2 class="section"><a href="general.html#toc-OS_002f2">3.2 OS/2</a></h2>
690
691 <p>For information about compiling FFmpeg on OS/2 see
692 <a href="http://www.edm2.com/index.php/FFmpeg">http://www.edm2.com/index.php/FFmpeg</a>.
693 </p>
694 <a name="Unix_002dlike"></a>
695 <h2 class="section"><a href="general.html#toc-Unix_002dlike">3.3 Unix-like</a></h2>
696
697 <p>Some parts of FFmpeg cannot be built with version 2.15 of the GNU
698 assembler which is still provided by a few AMD64 distributions. To
699 make sure your compiler really uses the required version of gas
700 after a binutils upgrade, run:
701 </p>
702 <table><tr><td>&nbsp;</td><td><pre class="example">$(gcc -print-prog-name=as) --version
703 </pre></td></tr></table>
704
705 <p>If not, then you should install a different compiler that has no
706 hard-coded path to gas. In the worst case pass <code>--disable-asm</code>
707 to configure.
708 </p>
709 <a name="BSD"></a>
710 <h3 class="subsection"><a href="general.html#toc-BSD">3.3.1 BSD</a></h3>
711
712 <p>BSD make will not build FFmpeg, you need to install and use GNU Make
713 (&lsquo;<tt>gmake</tt>&rsquo;).
714 </p>
715 <a name="g_t_0028Open_0029Solaris"></a>
716 <h3 class="subsection"><a href="general.html#toc-_0028Open_0029Solaris">3.3.2 (Open)Solaris</a></h3>
717
718 <p>GNU Make is required to build FFmpeg, so you have to invoke (&lsquo;<tt>gmake</tt>&rsquo;),
719 standard Solaris Make will not work. When building with a non-c99 front-end
720 (gcc, generic suncc) add either <code>--extra-libs=/usr/lib/values-xpg6.o</code>
721 or <code>--extra-libs=/usr/lib/64/values-xpg6.o</code> to the configure options
722 since the libc is not c99-compliant by default. The probes performed by
723 configure may raise an exception leading to the death of configure itself
724 due to a bug in the system shell. Simply invoke a different shell such as
725 bash directly to work around this:
726 </p>
727 <table><tr><td>&nbsp;</td><td><pre class="example">bash ./configure
728 </pre></td></tr></table>
729
730 <a name="Darwin-_0028MacOS-X_002c-iPhone_0029"></a>
731 <h3 class="subsection"><a href="general.html#toc-Darwin-_0028MacOS-X_002c-iPhone_0029">3.3.3 Darwin (MacOS X, iPhone)</a></h3>
732
733 <p>MacOS X on PowerPC or ARM (iPhone) requires a preprocessor from
734 <a href="http://github.com/yuvi/gas-preprocessor">http://github.com/yuvi/gas-preprocessor</a> to build the optimized
735 assembler functions. Just download the Perl script and put it somewhere
736 in your PATH, FFmpeg&rsquo;s configure will pick it up automatically.
737 </p>
738 <a name="Windows"></a>
739 <h2 class="section"><a href="general.html#toc-Windows">3.4 Windows</a></h2>
740
741 <p>To get help and instructions for building FFmpeg under Windows, check out
742 the FFmpeg Windows Help Forum at
743 <a href="http://ffmpeg.arrozcru.org/">http://ffmpeg.arrozcru.org/</a>.
744 </p>
745 <a name="Native-Windows-compilation"></a>
746 <h3 class="subsection"><a href="general.html#toc-Native-Windows-compilation">3.4.1 Native Windows compilation</a></h3>
747
748 <p>FFmpeg can be built to run natively on Windows using the MinGW tools. Install
749 the latest versions of MSYS and MinGW from <a href="http://www.mingw.org/">http://www.mingw.org/</a>.
750 You can find detailed installation
751 instructions in the download section and the FAQ.
752 </p>
753 <p>FFmpeg does not build out-of-the-box with the packages the automated MinGW
754 installer provides. It also requires coreutils to be installed and many other
755 packages updated to the latest version. The minimum version for some packages
756 are listed below:
757 </p>
758 <ul>
759 <li> bash 3.1
760 </li><li> msys-make 3.81-2 (note: not mingw32-make)
761 </li><li> w32api 3.13
762 </li><li> mingw-runtime 3.15
763 </li></ul>
764
765 <p>FFmpeg automatically passes <code>-fno-common</code> to the compiler to work around
766 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>).
767 </p>
768 <p>Within the MSYS shell, configure and make with:
769 </p>
770 <table><tr><td>&nbsp;</td><td><pre class="example">./configure --enable-memalign-hack
771 make
772 make install
773 </pre></td></tr></table>
774
775 <p>This will install &lsquo;<tt>ffmpeg.exe</tt>&rsquo; along with many other development files
776 to &lsquo;<tt>/usr/local</tt>&rsquo;. You may specify another install path using the
777 <code>--prefix</code> option in &lsquo;<tt>configure</tt>&rsquo;.
778 </p>
779 <p>Notes:
780 </p>
781 <ul>
782 <li> Building natively using MSYS can be sped up by disabling implicit rules
783 in the Makefile by calling <code>make -r</code> instead of plain <code>make</code>. This
784 speed up is close to non-existent for normal one-off builds and is only
785 noticeable when running make for a second time (for example in
786 <code>make install</code>).
787
788 </li><li> In order to compile FFplay, you must have the MinGW development library
789 of SDL. Get it from <a href="http://www.libsdl.org">http://www.libsdl.org</a>.
790 Edit the &lsquo;<tt>bin/sdl-config</tt>&rsquo; script so that it points to the correct prefix
791 where SDL was installed. Verify that &lsquo;<tt>sdl-config</tt>&rsquo; can be launched from
792 the MSYS command line.
793
794 </li><li> By using <code>./configure --enable-shared</code> when configuring FFmpeg,
795 you can build libavutil, libavcodec and libavformat as DLLs.
796
797 </li></ul>
798
799 <a name="Microsoft-Visual-C_002b_002b-compatibility"></a>
800 <h3 class="subsection"><a href="general.html#toc-Microsoft-Visual-C_002b_002b-compatibility">3.4.2 Microsoft Visual C++ compatibility</a></h3>
801
802 <p>As stated in the FAQ, FFmpeg will not compile under MSVC++. However, if you
803 want to use the libav* libraries in your own applications, you can still
804 compile those applications using MSVC++. But the libav* libraries you link
805 to <em>must</em> be built with MinGW. However, you will not be able to debug
806 inside the libav* libraries, since MSVC++ does not recognize the debug
807 symbols generated by GCC.
808 We strongly recommend you to move over from MSVC++ to MinGW tools.
809 </p>
810 <p>This description of how to use the FFmpeg libraries with MSVC++ is based on
811 Microsoft Visual C++ 2005 Express Edition. If you have a different version,
812 you might have to modify the procedures slightly.
813 </p>
814 <a name="Using-static-libraries"></a>
815 <h4 class="subsubsection"><a href="general.html#toc-Using-static-libraries">3.4.2.1 Using static libraries</a></h4>
816
817 <p>Assuming you have just built and installed FFmpeg in &lsquo;<tt>/usr/local</tt>&rsquo;.
818 </p>
819 <ol>
820 <li> Create a new console application (&quot;File / New / Project&quot;) and then
821 select &quot;Win32 Console Application&quot;. On the appropriate page of the
822 Application Wizard, uncheck the &quot;Precompiled headers&quot; option.
823
824 </li><li> Write the source code for your application, or, for testing, just
825 copy the code from an existing sample application into the source file
826 that MSVC++ has already created for you. For example, you can copy
827 &lsquo;<tt>libavformat/output-example.c</tt>&rsquo; from the FFmpeg distribution.
828
829 </li><li> Open the &quot;Project / Properties&quot; dialog box. In the &quot;Configuration&quot;
830 combo box, select &quot;All Configurations&quot; so that the changes you make will
831 affect both debug and release builds. In the tree view on the left hand
832 side, select &quot;C/C++ / General&quot;, then edit the &quot;Additional Include
833 Directories&quot; setting to contain the path where the FFmpeg includes were
834 installed (i.e. &lsquo;<tt>c:\msys\1.0\local\include</tt>&rsquo;).
835 Do not add MinGW&rsquo;s include directory here, or the include files will
836 conflict with MSVC&rsquo;s.
837
838 </li><li> Still in the &quot;Project / Properties&quot; dialog box, select
839 &quot;Linker / General&quot; from the tree view and edit the
840 &quot;Additional Library Directories&quot; setting to contain the &lsquo;<tt>lib</tt>&rsquo;
841 directory where FFmpeg was installed (i.e. &lsquo;<tt>c:\msys\1.0\local\lib</tt>&rsquo;),
842 the directory where MinGW libs are installed (i.e. &lsquo;<tt>c:\mingw\lib</tt>&rsquo;),
843 and the directory where MinGW&rsquo;s GCC libs are installed
844 (i.e. &lsquo;<tt>C:\mingw\lib\gcc\mingw32\4.2.1-sjlj</tt>&rsquo;). Then select
845 &quot;Linker / Input&quot; from the tree view, and add the files &lsquo;<tt>libavformat.a</tt>&rsquo;,
846 &lsquo;<tt>libavcodec.a</tt>&rsquo;, &lsquo;<tt>libavutil.a</tt>&rsquo;, &lsquo;<tt>libmingwex.a</tt>&rsquo;,
847 &lsquo;<tt>libgcc.a</tt>&rsquo;, and any other libraries you used (i.e. &lsquo;<tt>libz.a</tt>&rsquo;)
848 to the end of &quot;Additional Dependencies&quot;.
849
850 </li><li> Now, select &quot;C/C++ / Code Generation&quot; from the tree view. Select
851 &quot;Debug&quot; in the &quot;Configuration&quot; combo box. Make sure that &quot;Runtime
852 Library&quot; is set to &quot;Multi-threaded Debug DLL&quot;. Then, select &quot;Release&quot; in
853 the &quot;Configuration&quot; combo box and make sure that &quot;Runtime Library&quot; is
854 set to &quot;Multi-threaded DLL&quot;.
855
856 </li><li> Click &quot;OK&quot; to close the &quot;Project / Properties&quot; dialog box.
857
858 </li><li> MSVC++ lacks some C99 header files that are fundamental for FFmpeg.
859 Get msinttypes from <a href="http://code.google.com/p/msinttypes/downloads/list">http://code.google.com/p/msinttypes/downloads/list</a>
860 and install it in MSVC++&rsquo;s include directory
861 (i.e. &lsquo;<tt>C:\Program Files\Microsoft Visual Studio 8\VC\include</tt>&rsquo;).
862
863 </li><li> MSVC++ also does not understand the <code>inline</code> keyword used by
864 FFmpeg, so you must add this line before <code>#include</code>ing libav*:
865 <table><tr><td>&nbsp;</td><td><pre class="example">#define inline _inline
866 </pre></td></tr></table>
867
868 </li><li> Build your application, everything should work.
869
870 </li></ol>
871
872 <a name="Using-shared-libraries"></a>
873 <h4 class="subsubsection"><a href="general.html#toc-Using-shared-libraries">3.4.2.2 Using shared libraries</a></h4>
874
875 <p>This is how to create DLL and LIB files that are compatible with MSVC++:
876 </p>
877 <ol>
878 <li> Add a call to &lsquo;<tt>vcvars32.bat</tt>&rsquo; (which sets up the environment
879 variables for the Visual C++ tools) as the first line of &lsquo;<tt>msys.bat</tt>&rsquo;.
880 The standard location for &lsquo;<tt>vcvars32.bat</tt>&rsquo; is
881 &lsquo;<tt>C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat</tt>&rsquo;,
882 and the standard location for &lsquo;<tt>msys.bat</tt>&rsquo; is &lsquo;<tt>C:\msys\1.0\msys.bat</tt>&rsquo;.
883 If this corresponds to your setup, add the following line as the first line
884 of &lsquo;<tt>msys.bat</tt>&rsquo;:
885
886 <table><tr><td>&nbsp;</td><td><pre class="example">call &quot;C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat&quot;
887 </pre></td></tr></table>
888
889 <p>Alternatively, you may start the &lsquo;<tt>Visual Studio 2005 Command Prompt</tt>&rsquo;,
890 and run &lsquo;<tt>c:\msys\1.0\msys.bat</tt>&rsquo; from there.
891 </p>
892 </li><li> Within the MSYS shell, run <code>lib.exe</code>. If you get a help message
893 from &lsquo;<tt>Microsoft (R) Library Manager</tt>&rsquo;, this means your environment
894 variables are set up correctly, the &lsquo;<tt>Microsoft (R) Library Manager</tt>&rsquo;
895 is on the path and will be used by FFmpeg to create
896 MSVC++-compatible import libraries.
897
898 </li><li> Build FFmpeg with
899
900 <table><tr><td>&nbsp;</td><td><pre class="example">./configure --enable-shared --enable-memalign-hack
901 make
902 make install
903 </pre></td></tr></table>
904
905 <p>Your install path (&lsquo;<tt>/usr/local/</tt>&rsquo; by default) should now have the
906 necessary DLL and LIB files under the &lsquo;<tt>bin</tt>&rsquo; directory.
907 </p>
908 </li></ol>
909
910 <p>To use those files with MSVC++, do the same as you would do with
911 the static libraries, as described above. But in Step 4,
912 you should only need to add the directory where the LIB files are installed
913 (i.e. &lsquo;<tt>c:\msys\usr\local\bin</tt>&rsquo;). This is not a typo, the LIB files are
914 installed in the &lsquo;<tt>bin</tt>&rsquo; directory. And instead of adding the static
915 libraries (&lsquo;<tt>libxxx.a</tt>&rsquo; files) you should add the MSVC import libraries
916 (&lsquo;<tt>avcodec.lib</tt>&rsquo;, &lsquo;<tt>avformat.lib</tt>&rsquo;, and
917 &lsquo;<tt>avutil.lib</tt>&rsquo;). Note that you should not use the GCC import
918 libraries (&lsquo;<tt>libxxx.dll.a</tt>&rsquo; files), as these will give you undefined
919 reference errors. There should be no need for &lsquo;<tt>libmingwex.a</tt>&rsquo;,
920 &lsquo;<tt>libgcc.a</tt>&rsquo;, and &lsquo;<tt>wsock32.lib</tt>&rsquo;, nor any other external library
921 statically linked into the DLLs. The &lsquo;<tt>bin</tt>&rsquo; directory contains a bunch
922 of DLL files, but the ones that are actually used to run your application
923 are the ones with a major version number in their filenames
924 (i.e. &lsquo;<tt>avcodec-51.dll</tt>&rsquo;).
925 </p>
926 <p>FFmpeg headers do not declare global data for Windows DLLs through the usual
927 dllexport/dllimport interface. Such data will be exported properly while
928 building, but to use them in your MSVC++ code you will have to edit the
929 appropriate headers and mark the data as dllimport. For example, in
930 libavutil/pixdesc.h you should have:
931 </p><table><tr><td>&nbsp;</td><td><pre class="example">extern __declspec(dllimport) const AVPixFmtDescriptor av_pix_fmt_descriptors[];
932 </pre></td></tr></table>
933
934 <p>Note that using import libraries created by dlltool requires
935 the linker optimization option to be set to
936 &quot;References: Keep Unreferenced Data (/OPT:NOREF)&quot;, otherwise
937 the resulting binaries will fail during runtime. This isn&rsquo;t
938 required when using import libraries generated by lib.exe.
939 </p>
940 <a name="Cross-compilation-for-Windows-with-Linux"></a>
941 <h3 class="subsection"><a href="general.html#toc-Cross-compilation-for-Windows-with-Linux">3.4.3 Cross compilation for Windows with Linux</a></h3>
942
943 <p>You must use the MinGW cross compilation tools available at
944 <a href="http://www.mingw.org/">http://www.mingw.org/</a>.
945 </p>
946 <p>Then configure FFmpeg with the following options:
947 </p><table><tr><td>&nbsp;</td><td><pre class="example">./configure --target-os=mingw32 --cross-prefix=i386-mingw32msvc-
948 </pre></td></tr></table>
949 <p>(you can change the cross-prefix according to the prefix chosen for the
950 MinGW tools).
951 </p>
952 <p>Then you can easily test FFmpeg with Wine
953 (<a href="http://www.winehq.com/">http://www.winehq.com/</a>).
954 </p>
955 <a name="Compilation-under-Cygwin"></a>
956 <h3 class="subsection"><a href="general.html#toc-Compilation-under-Cygwin">3.4.4 Compilation under Cygwin</a></h3>
957
958 <p>Please use Cygwin 1.7.x as the obsolete 1.5.x Cygwin versions lack
959 llrint() in its C library.
960 </p>
961 <p>Install your Cygwin with all the &quot;Base&quot; packages, plus the
962 following &quot;Devel&quot; ones:
963 </p><table><tr><td>&nbsp;</td><td><pre class="example">binutils, gcc4-core, make, git, mingw-runtime, texi2html
964 </pre></td></tr></table>
965
966 <p>And the following &quot;Utils&quot; one:
967 </p><table><tr><td>&nbsp;</td><td><pre class="example">diffutils
968 </pre></td></tr></table>
969
970 <p>Then run
971 </p>
972 <table><tr><td>&nbsp;</td><td><pre class="example">./configure --enable-static --disable-shared
973 </pre></td></tr></table>
974
975 <p>to make a static build.
976 </p>
977 <p>The current <code>gcc4-core</code> package is buggy and needs this flag to build
978 shared libraries:
979 </p>
980 <table><tr><td>&nbsp;</td><td><pre class="example">./configure --enable-shared --disable-static --extra-cflags=-fno-reorder-functions
981 </pre></td></tr></table>
982
983 <p>If you want to build FFmpeg with additional libraries, download Cygwin
984 &quot;Devel&quot; packages for Ogg and Vorbis from any Cygwin packages repository:
985 </p><table><tr><td>&nbsp;</td><td><pre class="example">libogg-devel, libvorbis-devel
986 </pre></td></tr></table>
987
988 <p>These library packages are only available from Cygwin Ports
989 (<a href="http://sourceware.org/cygwinports/">http://sourceware.org/cygwinports/</a>) :
990 </p>
991 <table><tr><td>&nbsp;</td><td><pre class="example">yasm, libSDL-devel, libdirac-devel, libfaac-devel, libgsm-devel,
992 libmp3lame-devel, libschroedinger1.0-devel, speex-devel, libtheora-devel,
993 libxvidcore-devel
994 </pre></td></tr></table>
995
996 <p>The recommendation for libnut and x264 is to build them from source by
997 yourself, as they evolve too quickly for Cygwin Ports to be up to date.
998 </p>
999 <p>Cygwin 1.7.x has IPv6 support. You can add IPv6 to Cygwin 1.5.x by means
1000 of the <code>libgetaddrinfo-devel</code> package, available at Cygwin Ports.
1001 </p>
1002 <a name="Crosscompilation-for-Windows-under-Cygwin"></a>
1003 <h3 class="subsection"><a href="general.html#toc-Crosscompilation-for-Windows-under-Cygwin">3.4.5 Crosscompilation for Windows under Cygwin</a></h3>
1004
1005 <p>With Cygwin you can create Windows binaries that do not need the cygwin1.dll.
1006 </p>
1007 <p>Just install your Cygwin as explained before, plus these additional
1008 &quot;Devel&quot; packages:
1009 </p><table><tr><td>&nbsp;</td><td><pre class="example">gcc-mingw-core, mingw-runtime, mingw-zlib
1010 </pre></td></tr></table>
1011
1012 <p>and add some special flags to your configure invocation.
1013 </p>
1014 <p>For a static build run
1015 </p><table><tr><td>&nbsp;</td><td><pre class="example">./configure --target-os=mingw32 --enable-memalign-hack --enable-static --disable-shared --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
1016 </pre></td></tr></table>
1017
1018 <p>and for a build with shared libraries
1019 </p><table><tr><td>&nbsp;</td><td><pre class="example">./configure --target-os=mingw32 --enable-memalign-hack --enable-shared --disable-static --extra-cflags=-mno-cygwin --extra-libs=-mno-cygwin
1020 </pre></td></tr></table>
1021
1022 <hr size="1">
1023 <p>
1024  <font size="-1">
1025   This document was generated by <em>Kyle Schwarz</em> on <em>May 18, 2011</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.
1026  </font>
1027  <br>
1028
1029 </p>
1030 </body>
1031 </html>