general.texi 52.6 KB
Newer Older
1
\input texinfo @c -*- texinfo -*-
2
@documentencoding UTF-8
3 4 5 6 7 8

@settitle General Documentation
@titlepage
@center @titlefont{General Documentation}
@end titlepage

9 10 11
@top

@contents
12

13
@chapter External libraries
14

15
FFmpeg can be hooked up with a number of external libraries to add support
16
for more formats. None of them are used by default, their use has to be
17 18
explicitly requested by passing the appropriate flags to
@command{./configure}.
19

20 21 22 23 24 25 26 27
@section OpenJPEG

FFmpeg can use the OpenJPEG libraries for encoding/decoding J2K videos.  Go to
@url{http://www.openjpeg.org/} to get the libraries and follow the installation
instructions.  To enable using OpenJPEG in FFmpeg, pass @code{--enable-libopenjpeg} to
@file{./configure}.


28
@section OpenCORE, VisualOn, and Fraunhofer libraries
29

30 31
Spun off Google Android sources, OpenCore, VisualOn and Fraunhofer
libraries provide encoders for a number of audio codecs.
32

33 34 35
@float NOTE
OpenCORE and VisualOn libraries are under the Apache License 2.0
(see @url{http://www.apache.org/licenses/LICENSE-2.0} for details), which is
36
incompatible to the LGPL version 2.1 and GPL version 2. You have to
37
upgrade FFmpeg's license to LGPL version 3 (or if you have enabled
38 39 40 41 42 43
GPL components, GPL version 3) by passing @code{--enable-version3} to configure in
order to use it.

The Fraunhofer AAC library is licensed under a license incompatible to the GPL
and is not known to be compatible to the LGPL. Therefore, you have to pass
@code{--enable-nonfree} to configure to use it.
44 45 46 47
@end float

@subsection OpenCORE AMR

48
FFmpeg can make use of the OpenCORE libraries for AMR-NB
49 50 51 52 53 54 55 56 57
decoding/encoding and AMR-WB decoding.

Go to @url{http://sourceforge.net/projects/opencore-amr/} and follow the
instructions for installing the libraries.
Then pass @code{--enable-libopencore-amrnb} and/or
@code{--enable-libopencore-amrwb} to configure to enable them.

@subsection VisualOn AMR-WB encoder library

58
FFmpeg can make use of the VisualOn AMR-WBenc library for AMR-WB encoding.
59 60 61 62 63

Go to @url{http://sourceforge.net/projects/opencore-amr/} and follow the
instructions for installing the library.
Then pass @code{--enable-libvo-amrwbenc} to configure to enable it.

64 65
@subsection Fraunhofer AAC library

66
FFmpeg can make use of the Fraunhofer AAC library for AAC encoding.
67 68 69 70 71

Go to @url{http://sourceforge.net/projects/opencore-amr/} and follow the
instructions for installing the library.
Then pass @code{--enable-libfdk-aac} to configure to enable it.

72 73
@section LAME

74
FFmpeg can make use of the LAME library for MP3 encoding.
75 76 77 78 79

Go to @url{http://lame.sourceforge.net/} and follow the
instructions for installing the library.
Then pass @code{--enable-libmp3lame} to configure to enable it.

80 81 82 83 84 85 86 87
@section TwoLAME

FFmpeg can make use of the TwoLAME library for MP2 encoding.

Go to @url{http://www.twolame.org/} and follow the
instructions for installing the library.
Then pass @code{--enable-libtwolame} to configure to enable it.

88 89
@section libvpx

Ronald S. Bultje's avatar
Ronald S. Bultje committed
90
FFmpeg can make use of the libvpx library for VP8/VP9 encoding.
91 92 93 94 95

Go to @url{http://www.webmproject.org/} and follow the instructions for
installing the library. Then pass @code{--enable-libvpx} to configure to
enable it.

96 97
@section libwavpack

98
FFmpeg can make use of the libwavpack library for WavPack encoding.
99 100 101 102 103

Go to @url{http://www.wavpack.com/} and follow the instructions for
installing the library. Then pass @code{--enable-libwavpack} to configure to
enable it.

104 105
@section libxavs

106
FFmpeg can make use of the libxavs library for Xavs encoding.
107 108 109 110 111

Go to @url{http://xavs.sf.net/} and follow the instructions for
installing the library. Then pass @code{--enable-libxavs} to configure to
enable it.

112 113
@section OpenH264

114
FFmpeg can make use of the OpenH264 library for H.264 encoding and decoding.
115 116 117 118 119

Go to @url{http://www.openh264.org/} and follow the instructions for
installing the library. Then pass @code{--enable-libopenh264} to configure to
enable it.

120 121 122 123 124 125 126
For decoding, this library is much more limited than the built-in decoder
in libavcodec; currently, this library lacks support for decoding B-frames
and some other main/high profile features. (It currently only supports
constrained baseline profile and CABAC.) Using it is mostly useful for
testing and for taking advantage of Cisco's patent portfolio license
(@url{http://www.openh264.org/BINARY_LICENSE.txt}).

127 128
@section x264

129
FFmpeg can make use of the x264 library for H.264 encoding.
130 131 132 133 134 135 136 137

Go to @url{http://www.videolan.org/developers/x264.html} and follow the
instructions for installing the library. Then pass @code{--enable-libx264} to
configure to enable it.

@float NOTE
x264 is under the GNU Public License Version 2 or later
(see @url{http://www.gnu.org/licenses/old-licenses/gpl-2.0.html} for
138
details), you must upgrade FFmpeg's license to GPL in order to use it.
139 140
@end float

Derek Buitenhuis's avatar
Derek Buitenhuis committed
141 142 143 144 145 146 147 148
@section x265

FFmpeg can make use of the x265 library for HEVC encoding.

Go to @url{http://x265.org/developers.html} and follow the instructions
for installing the library. Then pass @code{--enable-libx265} to configure
to enable it.

149
@float NOTE
Derek Buitenhuis's avatar
Derek Buitenhuis committed
150 151 152 153 154
x265 is under the GNU Public License Version 2 or later
(see @url{http://www.gnu.org/licenses/old-licenses/gpl-2.0.html} for
details), you must upgrade FFmpeg's license to GPL in order to use it.
@end float

155 156 157 158 159 160 161 162
@section kvazaar

FFmpeg can make use of the kvazaar library for HEVC encoding.

Go to @url{https://github.com/ultravideo/kvazaar} and follow the
instructions for installing the library. Then pass
@code{--enable-libkvazaar} to configure to enable it.

163 164 165 166
@section libilbc

iLBC is a narrowband speech codec that has been made freely available
by Google as part of the WebRTC project. libilbc is a packaging friendly
Paul B Mahol's avatar
Paul B Mahol committed
167
copy of the iLBC codec. FFmpeg can make use of the libilbc library for
168 169
iLBC encoding and decoding.

170
Go to @url{https://github.com/TimothyGu/libilbc} and follow the instructions for
171 172 173
installing the library. Then pass @code{--enable-libilbc} to configure to
enable it.

174 175 176 177 178 179 180 181 182
@section libzvbi

libzvbi is a VBI decoding library which can be used by FFmpeg to decode DVB
teletext pages and DVB teletext subtitles.

Go to @url{http://sourceforge.net/projects/zapping/} and follow the instructions for
installing the library. Then pass @code{--enable-libzvbi} to configure to
enable it.

183 184
@section AviSynth

185 186 187 188
FFmpeg can read AviSynth scripts as input. To enable support, pass
@code{--enable-avisynth} to configure.  The correct headers are
included in compat/avisynth/, which allows the user to enable support
without needing to search for these headers themselves.
189 190

For Windows, supported AviSynth variants are
191 192
@url{http://avisynth.nl, AviSynth 2.6 RC1 or higher} for 32-bit builds and
@url{http://avs-plus.net, AviSynth+ r1718 or higher} for 32-bit and 64-bit builds.
193 194 195

For Linux and OS X, the supported AviSynth variant is
@url{https://github.com/avxsynth/avxsynth, AvxSynth}.
196

197 198
@float NOTE
There is currently a regression in AviSynth+'s @code{capi.h} header as of
199
October 2016, which interferes with the ability for builds of FFmpeg to use
200 201 202 203 204 205 206 207 208 209
MSVC-built binaries of AviSynth. Until this is resolved, you can make sure
a known good version is installed by checking out a version from before
the regression occurred:

@code{git clone -b MT git://github.com/AviSynth/AviSynthPlus.git @*
cd AviSynthPlus @*
git checkout -b oldheader b4f292b4dbfad149697fb65c6a037bb3810813f9 @*
make install PREFIX=/install/prefix}
@end float

210
@float NOTE
211
AviSynth and AvxSynth are loaded dynamically.  Distributors can build FFmpeg
212 213 214 215
with @code{--enable-avisynth}, and the binaries will work regardless of the
end user having AviSynth or AvxSynth installed - they'll only need to be
installed to use AviSynth scripts (obviously).
@end float
216

217 218
@section Intel QuickSync Video

219 220
FFmpeg can use Intel QuickSync Video (QSV) for accelerated encoding and decoding
of multiple codecs. To use QSV, FFmpeg must be linked against the @code{libmfx}
221 222 223
dispatcher, which loads the actual decoding libraries.

The dispatcher is open source and can be downloaded from
224
@url{https://github.com/lu-zero/mfx_dispatch.git}. FFmpeg needs to be configured
225 226 227
with the @code{--enable-libmfx} option and @code{pkg-config} needs to be able to
locate the dispatcher's @code{.pc} files.

228

229
@chapter Supported File Formats, Codecs or Features
230

Daniel Verkamp's avatar
Daniel Verkamp committed
231
You can use the @code{-formats} and @code{-codecs} options to have an exhaustive list.
232 233 234

@section File Formats

235
FFmpeg supports the following file formats through the @code{libavformat}
236 237 238
library:

@multitable @columnfractions .4 .1 .1 .4
239
@item Name @tab Encoding @tab Decoding @tab Comments
240
@item 3dostr                    @tab   @tab X
241
@item 4xm                       @tab   @tab X
242
    @tab 4X Technologies format, used in some games.
243
@item 8088flex TMV              @tab   @tab X
244 245
@item AAX                       @tab   @tab X
    @tab Audible Enhanced Audio format, used in audiobooks.
246 247
@item AA                        @tab   @tab X
    @tab Audible Format 2, 3, and 4, used in audiobooks.
248 249
@item ACT Voice                 @tab   @tab X
    @tab contains G.729 audio
250
@item Adobe Filmstrip           @tab X @tab X
251
@item Audio IFF (AIFF)          @tab X @tab X
252 253
@item American Laser Games MM   @tab   @tab X
    @tab Multimedia format used in games like Mad Dog McCree.
254
@item 3GPP AMR                  @tab X @tab X
Paul B Mahol's avatar
Paul B Mahol committed
255
@item Amazing Studio Packed Animation File  @tab   @tab X
Paul B Mahol's avatar
Paul B Mahol committed
256
    @tab Multimedia format used in game Heart Of Darkness.
257
@item Apple HTTP Live Streaming @tab   @tab X
Peter Ross's avatar
Peter Ross committed
258
@item Artworx Data Format       @tab   @tab X
259 260
@item Interplay ACM             @tab   @tab X
    @tab Audio only format used in some Interplay games.
James Almer's avatar
James Almer committed
261 262
@item ADP                       @tab   @tab X
    @tab Audio format used on the Nintendo Gamecube.
Paul B Mahol's avatar
Paul B Mahol committed
263 264
@item AFC                       @tab   @tab X
    @tab Audio format used on the Nintendo Gamecube.
265 266
@item ADS/SS2                   @tab   @tab X
    @tab Audio format used on the PS2.
267
@item APNG                      @tab X @tab X
268
@item ASF                       @tab X @tab X
James Almer's avatar
James Almer committed
269
@item AST                       @tab X @tab X
270
    @tab Audio format used on the Nintendo Wii.
271
@item AVI                       @tab X @tab X
272
@item AviSynth                  @tab   @tab X
Paul B Mahol's avatar
Paul B Mahol committed
273 274
@item AVR                       @tab   @tab X
    @tab Audio format used on Mac.
275
@item AVS                       @tab   @tab X
276
    @tab Multimedia format used by the Creature Shock game.
277 278 279
@item Beam Software SIFF        @tab   @tab X
    @tab Audio and video format used in some games by Beam Software.
@item Bethesda Softworks VID    @tab   @tab X
280
    @tab Used in some games from Bethesda Softworks.
Carl Eugen Hoyos's avatar
Carl Eugen Hoyos committed
281
@item Binary text               @tab   @tab X
Peter Ross's avatar
Peter Ross committed
282 283
@item Bink                      @tab   @tab X
    @tab Multimedia format used by many games.
Peter Ross's avatar
Peter Ross committed
284 285
@item Bitmap Brothers JV        @tab   @tab X
    @tab Used in Z and Z95 games.
286 287
@item Brute Force & Ignorance   @tab   @tab X
    @tab Used in the game Flash Traffic: City of Angels.
288 289
@item BFSTM                     @tab   @tab X
    @tab Audio format used on the Nintendo WiiU (based on BRSTM).
Paul B Mahol's avatar
Paul B Mahol committed
290 291
@item BRSTM                     @tab   @tab X
    @tab Audio format used on the Nintendo Wii.
292
@item BWF                       @tab X @tab X
Justin Ruggles's avatar
Justin Ruggles committed
293
@item CRI ADX                   @tab X @tab X
294
    @tab Audio-only format used in console video games.
295
@item Discworld II BMV          @tab   @tab X
296
@item Interplay C93             @tab   @tab X
297
    @tab Used in the game Cyberia from Interplay.
298
@item Delphine Software International CIN @tab   @tab X
299
    @tab Multimedia format used by Delphine Software games.
Oleksij Rempel's avatar
Oleksij Rempel committed
300
@item Digital Speech Standard (DSS) @tab   @tab X
301 302
@item Canopus HQ                @tab   @tab X
@item Canopus HQA               @tab   @tab X
Vittorio Giovara's avatar
Vittorio Giovara committed
303
@item Canopus HQX               @tab   @tab X
Michael Tison's avatar
Michael Tison committed
304 305
@item CD+G                      @tab   @tab X
    @tab Video format used by CD+G karaoke disks
306
@item Phantom Cine              @tab   @tab X
307
@item Cineform HD               @tab   @tab X
Paul B Mahol's avatar
Paul B Mahol committed
308 309
@item Commodore CDXL            @tab   @tab X
    @tab Amiga CD video format
Carl Eugen Hoyos's avatar
Carl Eugen Hoyos committed
310
@item Core Audio Format         @tab X @tab X
Peter Ross's avatar
Peter Ross committed
311
    @tab Apple Core Audio Format
312
@item CRC testing format        @tab X @tab
313
@item Creative Voice            @tab X @tab X
314
    @tab Created for the Sound Blaster Pro.
315 316
@item CRYO APC                  @tab   @tab X
    @tab Audio format used in some games by CRYO Interactive Entertainment.
317
@item D-Cinema audio            @tab X @tab X
318
@item Deluxe Paint Animation    @tab   @tab X
319
@item DCSTR                     @tab   @tab X
320 321
@item DFA                       @tab   @tab X
    @tab This format is used in Chronomaster game
322
@item DirectDraw Surface        @tab   @tab X
323
@item DSD Stream File (DSF)     @tab   @tab X
324
@item DV video                  @tab X @tab X
325
@item DXA                       @tab   @tab X
326 327
    @tab This format is used in the non-Windows version of the Feeble Files
         game and different game cutscenes repacked for use with ScummVM.
328
@item Electronic Arts cdata  @tab    @tab X
329
@item Electronic Arts Multimedia  @tab    @tab X
330
    @tab Used in various EA games; files have extensions like WVE and UV2.
331
@item Ensoniq Paris Audio File  @tab   @tab X
332 333
@item FFM (FFserver live feed)  @tab X @tab X
@item Flash (SWF)               @tab X @tab X
334 335 336
@item Flash 9 (AVM2)            @tab X @tab X
    @tab Only embedded audio is decoded.
@item FLI/FLC/FLX animation     @tab   @tab X
337
    @tab .fli/.flc files
338
@item Flash Video (FLV)         @tab X @tab X
339
    @tab Macromedia Flash video files
340
@item framecrc testing format   @tab X @tab
341 342
@item FunCom ISS                @tab   @tab X
    @tab Audio format used in various games from FunCom like The Longest Journey.
343
@item G.723.1                   @tab X @tab X
344
@item G.726                     @tab   @tab X @tab Both left- and right-justified.
345
@item G.729 BIT                 @tab X @tab X
346
@item G.729 raw                 @tab   @tab X
347 348
@item GENH                      @tab   @tab X
    @tab Audio format for various games.
Vitaliy E Sugrobov's avatar
Vitaliy E Sugrobov committed
349
@item GIF Animation             @tab X @tab X
350
@item GXF                       @tab X @tab X
351
    @tab General eXchange Format SMPTE 360M, used by Thomson Grass Valley
352
         playout servers.
353 354
@item HNM @tab   @tab X
    @tab Only version 4 supported, used in some games from Cryo Interactive
Peter Ross's avatar
Peter Ross committed
355
@item iCEDraw File              @tab   @tab X
Michael Bradshaw's avatar
Michael Bradshaw committed
356
@item ICO                       @tab X @tab X
357
    @tab Microsoft Windows ICO
358
@item id Quake II CIN video     @tab   @tab X
359
@item id RoQ                    @tab X @tab X
root's avatar
root committed
360
    @tab Used in Quake III, Jedi Knight 2 and other computer games.
Anssi Hannula's avatar
Anssi Hannula committed
361
@item IEC61937 encapsulation @tab X @tab X
362
@item IFF                       @tab   @tab X
363
    @tab Interchange File Format
364
@item iLBC                      @tab X @tab X
365
@item Interplay MVE             @tab   @tab X
366
    @tab Format used in various Interplay computer games.
367
@item Iterated Systems ClearVideo @tab     @tab  X
James Almer's avatar
James Almer committed
368
    @tab I-frames only
369 370
@item IV8                       @tab   @tab X
    @tab A format generated by IndigoVision 8000 video server.
371
@item IVF (On2)                 @tab X @tab X
David Conrad's avatar
David Conrad committed
372
    @tab A format used by libvpx
373
@item Internet Video Recording  @tab   @tab X
Paul B Mahol's avatar
Paul B Mahol committed
374
@item IRCAM                     @tab X @tab X
Kieran Kunhya's avatar
Kieran Kunhya committed
375
@item LATM                      @tab X @tab X
376
@item LMLM4                     @tab   @tab X
377
    @tab Used by Linux Media Labs MPEG-4 PCI boards
Carl Eugen Hoyos's avatar
Carl Eugen Hoyos committed
378 379
@item LOAS                      @tab   @tab X
    @tab contains LATM multiplexed AAC audio
380
@item LRC                       @tab X @tab X
Paul B Mahol's avatar
Paul B Mahol committed
381
@item LVF                       @tab   @tab X
382 383
@item LXF                       @tab   @tab X
    @tab VR native stream format, used by Leitch/Harris' video servers.
384
@item Magic Lantern Video (MLV) @tab   @tab X
385
@item Matroska                  @tab X @tab X
386
@item Matroska audio            @tab X @tab
Anton Khirnov's avatar
Anton Khirnov committed
387
@item FFmpeg metadata           @tab X @tab X
Anton Khirnov's avatar
Anton Khirnov committed
388
    @tab Metadata in text format.
389
@item MAXIS XA                  @tab   @tab X
390
    @tab Used in Sim City 3000; file extension .xa.
391
@item MD Studio                 @tab   @tab X
392
@item Metal Gear Solid: The Twin Snakes @tab @tab X
Peter Ross's avatar
Peter Ross committed
393 394
@item Megalux Frame             @tab   @tab X
    @tab Used by Megalux Ultimate Paint
Anatoly Nenashev's avatar
Anatoly Nenashev committed
395
@item Mobotix .mxg              @tab   @tab X
396
@item Monkey's Audio            @tab   @tab X
397
@item Motion Pixels MVI         @tab   @tab X
398 399
@item MOV/QuickTime/MP4         @tab X @tab X
    @tab 3GP, 3GP2, PSP, iPod variants supported
400 401
@item MP2                       @tab X @tab X
@item MP3                       @tab X @tab X
402 403 404 405 406
@item MPEG-1 System             @tab X @tab X
    @tab muxed audio and video, VCD format supported
@item MPEG-PS (program stream)  @tab X @tab X
    @tab also known as @code{VOB} file, SVCD and DVD format supported
@item MPEG-TS (transport stream) @tab X @tab X
407
    @tab also known as DVB Transport Stream
408
@item MPEG-4                    @tab X @tab X
409
    @tab MPEG-4 is a variant of QuickTime.
410 411
@item MSF                       @tab   @tab X
    @tab Audio format used on the PS3.
412 413
@item Mirillis FIC video        @tab   @tab X
    @tab No cursor rendering.
414
@item MIDI Sample Dump Standard @tab   @tab X
415
@item MIME multipart JPEG       @tab X @tab
416
@item MSN TCP webcam            @tab   @tab X
417
    @tab Used by MSN Messenger webcam streams.
418 419 420
@item MTV                       @tab   @tab X
@item Musepack                  @tab   @tab X
@item Musepack SV8              @tab   @tab X
421 422
@item Material eXchange Format (MXF) @tab X @tab X
    @tab SMPTE 377M, used by D-Cinema, broadcast industry.
423 424
@item Material eXchange Format (MXF), D-10 Mapping @tab X @tab X
    @tab SMPTE 386M, D-10/IMX Mapping.
425 426
@item NC camera feed            @tab   @tab X
    @tab NC (AVIP NC4600) camera streams
Paul B Mahol's avatar
Paul B Mahol committed
427
@item NIST SPeech HEader REsources @tab   @tab X
428 429
@item NTT TwinVQ (VQF)          @tab   @tab X
    @tab Nippon Telegraph and Telephone Corporation TwinVQ.
430
@item Nullsoft Streaming Video  @tab   @tab X
431
@item NuppelVideo               @tab   @tab X
432
@item NUT                       @tab X @tab X
433
    @tab NUT Open Container Format
434
@item Ogg                       @tab X @tab X
435
@item Playstation Portable PMP  @tab   @tab X
Paul B Mahol's avatar
Paul B Mahol committed
436
@item Portable Voice Format     @tab   @tab X
437
@item TechnoTrend PVA           @tab   @tab X
438
    @tab Used by TechnoTrend DVB PCI boards.
Kenan Gillet's avatar
Kenan Gillet committed
439
@item QCP                       @tab   @tab X
440
@item raw ADTS (AAC)            @tab X @tab X
441
@item raw AC-3                  @tab X @tab X
442 443
@item raw AMR-NB                @tab   @tab X
@item raw AMR-WB                @tab   @tab X
444
@item raw Chinese AVS video     @tab X @tab X
445 446 447 448
@item raw CRI ADX               @tab X @tab X
@item raw Dirac                 @tab X @tab X
@item raw DNxHD                 @tab X @tab X
@item raw DTS                   @tab X @tab X
Paul B Mahol's avatar
Paul B Mahol committed
449
@item raw DTS-HD                @tab   @tab X
450 451 452 453 454 455
@item raw E-AC-3                @tab X @tab X
@item raw FLAC                  @tab X @tab X
@item raw GSM                   @tab   @tab X
@item raw H.261                 @tab X @tab X
@item raw H.263                 @tab X @tab X
@item raw H.264                 @tab X @tab X
Derek Buitenhuis's avatar
Derek Buitenhuis committed
456
@item raw HEVC                  @tab X @tab X
457
@item raw Ingenient MJPEG       @tab   @tab X
458
@item raw MJPEG                 @tab X @tab X
459 460 461 462 463 464
@item raw MLP                   @tab   @tab X
@item raw MPEG                  @tab   @tab X
@item raw MPEG-1                @tab   @tab X
@item raw MPEG-2                @tab   @tab X
@item raw MPEG-4                @tab X @tab X
@item raw NULL                  @tab X @tab
Diego Biurrun's avatar
Diego Biurrun committed
465
@item raw video                 @tab X @tab X
466 467
@item raw id RoQ                @tab X @tab
@item raw Shorten               @tab   @tab X
468
@item raw TAK                   @tab   @tab X
Ramiro Polla's avatar
Ramiro Polla committed
469
@item raw TrueHD                @tab X @tab X
470
@item raw VC-1                  @tab X @tab X
471 472 473 474 475 476 477 478 479
@item raw PCM A-law             @tab X @tab X
@item raw PCM mu-law            @tab X @tab X
@item raw PCM signed 8 bit      @tab X @tab X
@item raw PCM signed 16 bit big-endian  @tab X @tab X
@item raw PCM signed 16 bit little-endian  @tab X @tab X
@item raw PCM signed 24 bit big-endian  @tab X @tab X
@item raw PCM signed 24 bit little-endian  @tab X @tab X
@item raw PCM signed 32 bit big-endian  @tab X @tab X
@item raw PCM signed 32 bit little-endian  @tab X @tab X
480 481
@item raw PCM signed 64 bit big-endian  @tab X @tab X
@item raw PCM signed 64 bit little-endian  @tab X @tab X
482 483 484 485 486 487 488
@item raw PCM unsigned 8 bit    @tab X @tab X
@item raw PCM unsigned 16 bit big-endian  @tab X @tab X
@item raw PCM unsigned 16 bit little-endian  @tab X @tab X
@item raw PCM unsigned 24 bit big-endian  @tab X @tab X
@item raw PCM unsigned 24 bit little-endian  @tab X @tab X
@item raw PCM unsigned 32 bit big-endian  @tab X @tab X
@item raw PCM unsigned 32 bit little-endian  @tab X @tab X
489 490
@item raw PCM 16.8 floating point little-endian @tab   @tab X
@item raw PCM 24.0 floating point little-endian @tab   @tab X
491 492 493 494
@item raw PCM floating-point 32 bit big-endian  @tab X @tab X
@item raw PCM floating-point 32 bit little-endian  @tab X @tab X
@item raw PCM floating-point 64 bit big-endian  @tab X @tab X
@item raw PCM floating-point 64 bit little-endian  @tab X @tab X
495
@item RDT                       @tab   @tab X
496
@item REDCODE R3D               @tab   @tab X
Baptiste Coudurier's avatar
Baptiste Coudurier committed
497
    @tab File format used by RED Digital cameras, contains JPEG 2000 frames and PCM audio.
498
@item RealMedia                 @tab X @tab X
499
@item Redirector                @tab   @tab X
James Almer's avatar
James Almer committed
500
@item RedSpark                  @tab   @tab X
501
@item Renderware TeXture Dictionary @tab   @tab X
Vittorio Giovara's avatar
Vittorio Giovara committed
502
@item Resolume DXV              @tab   @tab X
503
@item RL2                       @tab   @tab X
504
    @tab Audio and video format used in some games by Entertainment Software Partners.
505
@item RPL/ARMovie               @tab   @tab X
506
@item Lego Mindstorms RSO       @tab X @tab X
James Almer's avatar
James Almer committed
507
@item RSD                       @tab   @tab X
508 509
@item RTMP                      @tab X @tab X
    @tab Output is performed by publishing stream to RTMP server
510
@item RTP                       @tab X @tab X
Martin Storsjö's avatar
Martin Storsjö committed
511
@item RTSP                      @tab X @tab X
512
@item Sample Dump eXchange      @tab   @tab X
Martin Storsjö's avatar
Martin Storsjö committed
513
@item SAP                       @tab X @tab X
Nicolas George's avatar
Nicolas George committed
514
@item SBG                       @tab   @tab X
515
@item SDP                       @tab   @tab X
516
@item Sega FILM/CPK             @tab   @tab X
517
    @tab Used in many Sega Saturn console games.
518
@item Silicon Graphics Movie    @tab   @tab X
519
@item Sierra SOL                @tab   @tab X
520
    @tab .sol files used in Sierra Online games.
521
@item Sierra VMD                @tab   @tab X
522
    @tab Used in Sierra CD-ROM games.
523
@item Smacker                   @tab   @tab X
524
    @tab Multimedia format used by many games.
Paul B Mahol's avatar
Paul B Mahol committed
525
@item SMJPEG                    @tab X @tab X
526
    @tab Used in certain Loki game ports.
527
@item SMPTE 337M encapsulation  @tab   @tab X
Paul B Mahol's avatar
Paul B Mahol committed
528
@item Smush                     @tab   @tab X
Paul B Mahol's avatar
Paul B Mahol committed
529
    @tab Multimedia format used in some LucasArts games.
530
@item Sony OpenMG (OMA)         @tab X @tab X
531 532
    @tab Audio format used in Sony Sonic Stage and Sony Vegas.
@item Sony PlayStation STR      @tab   @tab X
Paul B Mahol's avatar
Paul B Mahol committed
533
@item Sony Wave64 (W64)         @tab X @tab X
534
@item SoX native format         @tab X @tab X
535
@item SUN AU format             @tab X @tab X
536
@item SUP raw PGS subtitles     @tab X @tab X
537 538
@item SVAG                      @tab   @tab X
    @tab Audio format used in Konami PS2 games.
Vittorio Giovara's avatar
Vittorio Giovara committed
539
@item TDSC                      @tab   @tab X
Peter Ross's avatar
Peter Ross committed
540
@item Text files                @tab   @tab X
541
@item THP                       @tab   @tab X
542
    @tab Used on the Nintendo GameCube.
543 544
@item Tiertex Limited SEQ       @tab   @tab X
    @tab Tiertex .seq files used in the DOS CD-ROM version of the game Flashback.
545
@item True Audio                @tab X @tab X
546 547
@item VAG                       @tab   @tab X
    @tab Audio format used in many Sony PS2 games.
548
@item VC-1 test bitstream       @tab X @tab X
549
@item Vidvox Hap                @tab X @tab X
Daniel Verkamp's avatar
Daniel Verkamp committed
550
@item Vivo                      @tab   @tab X
551 552
@item VPK                       @tab   @tab X
    @tab Audio format used in Sony PS games.
553
@item WAV                       @tab X @tab X
554
@item WavPack                   @tab X @tab X
James Zern's avatar
James Zern committed
555
@item WebM                      @tab X @tab X
556
@item Windows Televison (WTV)   @tab X @tab X
557
@item Wing Commander III movie  @tab   @tab X
558
    @tab Multimedia format used in Origin's Wing Commander III computer game.
559 560 561 562
@item Westwood Studios audio    @tab   @tab X
    @tab Multimedia format used in Westwood Studios games.
@item Westwood Studios VQA      @tab   @tab X
    @tab Multimedia format used in Westwood Studios games.
563
@item Wideband Single-bit Data (WSD) @tab   @tab X
564
@item WVE                       @tab   @tab X
Sven Hesse's avatar
Sven Hesse committed
565 566
@item XMV                       @tab   @tab X
    @tab Microsoft video container used in Xbox games.
567 568
@item XVAG                      @tab   @tab X
    @tab Audio format used on the PS3.
Max Horn's avatar
Max Horn committed
569 570
@item xWMA                      @tab   @tab X
    @tab Microsoft audio container used by XAudio 2.
Peter Ross's avatar
Peter Ross committed
571
@item eXtended BINary text (XBIN) @tab @tab X
572
@item YUV4MPEG pipe             @tab X @tab X
573
@item Psygnosis YOP             @tab   @tab X
574 575 576 577 578 579 580 581 582 583
@end multitable

@code{X} means that encoding (resp. decoding) is supported.

@section Image Formats

FFmpeg can read and write images for each frame of a video sequence. The
following image formats are supported:

@multitable @columnfractions .4 .1 .1 .4
584
@item Name @tab Encoding @tab Decoding @tab Comments
585 586
@item .Y.U.V       @tab X @tab X
    @tab one raw file per component
587 588
@item Alias PIX    @tab X @tab X
    @tab Alias/Wavefront PIX image format
589
@item animated GIF @tab X @tab X
590
@item APNG         @tab X @tab X
591 592
@item BMP          @tab X @tab X
    @tab Microsoft BMP image
Aleksi Nurmi's avatar
Aleksi Nurmi committed
593 594
@item BRender PIX  @tab   @tab X
    @tab Argonaut BRender 3D engine image format.
Peter Ross's avatar
Peter Ross committed
595
@item DPX          @tab X @tab X
596
    @tab Digital Picture Exchange
597 598
@item EXR          @tab   @tab X
    @tab OpenEXR
Paras Chadha's avatar
Paras Chadha committed
599
@item FITS         @tab X @tab X
Paras Chadha's avatar
Paras Chadha committed
600
    @tab Flexible Image Transport System
601 602
@item JPEG         @tab X @tab X
    @tab Progressive JPEG is not supported.
603
@item JPEG 2000    @tab X @tab X
604 605 606
@item JPEG-LS      @tab X @tab X
@item LJPEG        @tab X @tab
    @tab Lossless JPEG
607
@item PAM          @tab X @tab X
608
    @tab PAM is a PNM extension with alpha support.
609
@item PBM          @tab X @tab X
610
    @tab Portable BitMap image
611
@item PCX          @tab X @tab X
612
    @tab PC Paintbrush
613
@item PGM          @tab X @tab X
614
    @tab Portable GrayMap image
615
@item PGMYUV       @tab X @tab X
616
    @tab PGM with U and V components in YUV 4:2:0
Peter Ross's avatar
Peter Ross committed
617 618
@item PIC          @tab @tab X
    @tab Pictor/PC Paint
619
@item PNG          @tab X @tab X
620
@item PPM          @tab X @tab X
621
    @tab Portable PixelMap image
622 623
@item PSD          @tab   @tab X
    @tab Photoshop
624 625 626 627
@item PTX          @tab   @tab X
    @tab V.Flash PTX format
@item SGI          @tab X @tab X
    @tab SGI RGB image format
628
@item Sun Rasterfile  @tab X @tab X
629
    @tab Sun RAS image format
630 631
@item TIFF         @tab X @tab X
    @tab YUV, JPEG and some extension is not supported yet.
632 633
@item Truevision Targa  @tab X @tab X
    @tab Targa (.TGA) image format
Justin Ruggles's avatar
Justin Ruggles committed
634 635
@item WebP         @tab E @tab X
    @tab WebP image format, encoding supported through external library libwebp
Paul B Mahol's avatar
Paul B Mahol committed
636
@item XBM  @tab X @tab X
Paul B Mahol's avatar
Paul B Mahol committed
637
    @tab X BitMap image format
638 639
@item XFace @tab X @tab X
    @tab X-Face image format
640 641
@item XPM  @tab   @tab X
    @tab X PixMap image format
Paul B Mahol's avatar
Paul B Mahol committed
642 643
@item XWD  @tab X @tab X
    @tab X Window Dump image format
644 645 646 647
@end multitable

@code{X} means that encoding (resp. decoding) is supported.

648 649
@code{E} means that support is provided through an external library.

650 651 652
@section Video Codecs

@multitable @columnfractions .4 .1 .1 .4
653
@item Name @tab Encoding @tab Decoding @tab Comments
654
@item 4X Movie               @tab     @tab  X
655
    @tab Used in certain computer games.
656
@item 8088flex TMV           @tab     @tab  X
657 658
@item A64 multicolor         @tab  X  @tab
    @tab Creates video suitable to be played on a commodore 64 (multicolor mode).
Paul B Mahol's avatar
Paul B Mahol committed
659
@item Amazing Studio PAF Video @tab     @tab  X
660
@item American Laser Games MM  @tab    @tab X
661
    @tab Used in games like Mad Dog McCree.
662
@item AMV Video              @tab  X  @tab  X
663
    @tab Used in Chinese MP3 players.
Peter Ross's avatar
Peter Ross committed
664
@item ANSI/ASCII art         @tab     @tab  X
665
@item Apple Intermediate Codec @tab     @tab  X
666
@item Apple MJPEG-B          @tab     @tab  X
667
@item Apple Pixlet           @tab     @tab  X
668
@item Apple ProRes           @tab  X  @tab  X
669
@item Apple QuickDraw        @tab     @tab  X
670
    @tab fourcc: qdrw
671
@item Asus v1                @tab  X  @tab  X
672
    @tab fourcc: ASV1
673
@item Asus v2                @tab  X  @tab  X
674
    @tab fourcc: ASV2
675
@item ATI VCR1               @tab     @tab  X
676
    @tab fourcc: VCR1
677
@item ATI VCR2               @tab     @tab  X
678
    @tab fourcc: VCR2
679
@item Auravision Aura        @tab     @tab  X
680
@item Auravision Aura 2      @tab     @tab  X
681
@item Autodesk Animator Flic video  @tab     @tab  X
682
@item Autodesk RLE           @tab     @tab  X
683
    @tab fourcc: AASC
684
@item Avid 1:1 10-bit RGB Packer  @tab  X  @tab  X
685
    @tab fourcc: AVrp
686
@item AVS (Audio Video Standard) video  @tab     @tab  X
687
    @tab Video encoding used by the Creature Shock game.
688 689
@item AYUV                   @tab  X  @tab  X
    @tab Microsoft uncompressed packed 4:4:4:4
690
@item Beam Software VB       @tab     @tab  X
691
@item Bethesda VID video     @tab     @tab  X
692
    @tab Used in some games from Bethesda Softworks.
Kostya Shishkov's avatar
Kostya Shishkov committed
693
@item Bink Video             @tab     @tab  X
694
@item BitJazz SheerVideo     @tab     @tab  X
Peter Ross's avatar
Peter Ross committed
695
@item Bitmap Brothers JV video  @tab   @tab X
Paul B Mahol's avatar
Paul B Mahol committed
696
@item y41p Brooktree uncompressed 4:1:1 12-bit     @tab  X  @tab  X
697 698
@item Brute Force & Ignorance   @tab   @tab X
    @tab Used in the game Flash Traffic: City of Angels.
699
@item C93 video              @tab     @tab  X
700
    @tab Codec used in Cyberia game.
701
@item CamStudio              @tab     @tab  X
702
    @tab fourcc: CSCD
Michael Tison's avatar
Michael Tison committed
703 704
@item CD+G                   @tab     @tab  X
    @tab Video codec for CD+G karaoke disks
Paul B Mahol's avatar
Paul B Mahol committed
705 706
@item CDXL                   @tab     @tab  X
    @tab Amiga CD video codec
707 708
@item Chinese AVS video      @tab  E  @tab  X
    @tab AVS1-P2, JiZhun profile, encoding through external library libxavs
709 710
@item Delphine Software International CIN video  @tab     @tab  X
    @tab Codec used in Delphine Software International games.
711
@item Discworld II BMV Video @tab     @tab  X
712
@item Canopus Lossless Codec @tab     @tab  X
713
@item Cinepak                @tab     @tab  X
Paul B Mahol's avatar
Paul B Mahol committed
714
@item Cirrus Logic AccuPak   @tab  X  @tab  X
715
    @tab fourcc: CLJR
Stephan Hilb's avatar
Stephan Hilb committed
716
@item CPiA Video Format      @tab     @tab  X
717
@item Creative YUV (CYUV)    @tab     @tab  X
718 719
@item DFA                    @tab     @tab  X
    @tab Codec used in Chronomaster game.
720
@item Dirac                  @tab  E  @tab  X
721
    @tab supported though the native vc2 (Dirac Pro) encoder
722
@item Deluxe Paint Animation @tab     @tab  X
723 724
@item DNxHD                  @tab   X @tab  X
    @tab aka SMPTE VC3
725
@item Duck TrueMotion 1.0   @tab     @tab  X
726
    @tab fourcc: DUCK
727
@item Duck TrueMotion 2.0    @tab     @tab  X
728
    @tab fourcc: TM20
729 730
@item Duck TrueMotion 2.0 RT @tab     @tab  X
    @tab fourcc: TR20
731
@item DV (Digital Video)     @tab  X  @tab  X
732
@item Dxtory capture format  @tab     @tab  X
733
@item Feeble Files/ScummVM DXA  @tab     @tab  X
734
    @tab Codec originally used in Feeble Files game.
735
@item Electronic Arts CMV video  @tab     @tab  X
736
    @tab Used in NHL 95 game.
737
@item Electronic Arts Madcow video  @tab     @tab  X
738 739 740 741
@item Electronic Arts TGV video  @tab     @tab  X
@item Electronic Arts TGQ video  @tab     @tab  X
@item Electronic Arts TQI video  @tab     @tab  X
@item Escape 124             @tab     @tab  X
742
@item Escape 130             @tab     @tab  X
743
@item FFmpeg video codec #1  @tab  X  @tab  X
744
    @tab lossless codec (fourcc: FFV1)
745
@item Flash Screen Video v1  @tab  X  @tab  X
746
    @tab fourcc: FSV1
747
@item Flash Screen Video v2  @tab  X  @tab  X
748
@item Flash Video (FLV)      @tab  X  @tab  X
749
    @tab Sorenson H.263 used in Flash
750
@item FM Screen Capture Codec  @tab     @tab  X
751
@item Forward Uncompressed   @tab     @tab  X
752
@item Fraps                  @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
753 754
@item Go2Meeting             @tab     @tab  X
    @tab fourcc: G2M2, G2M3
Kostya Shishkov's avatar
Kostya Shishkov committed
755 756
@item Go2Webinar             @tab     @tab  X
    @tab fourcc: G2M4
757
@item H.261                  @tab  X  @tab  X
758 759 760
@item H.263 / H.263-1996     @tab  X  @tab  X
@item H.263+ / H.263-1998 / H.263 version 2  @tab  X  @tab  X
@item H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10  @tab  E  @tab  X
761
    @tab encoding supported through external library libx264 and OpenH264
Derek Buitenhuis's avatar
Derek Buitenhuis committed
762
@item HEVC                   @tab  X  @tab  X
763
    @tab encoding supported through external library libx265 and libkvazaar
764
@item HNM version 4          @tab     @tab  X
765
@item HuffYUV                @tab  X  @tab  X
766
@item HuffYUV FFmpeg variant @tab  X  @tab  X
767
@item IBM Ultimotion         @tab     @tab  X
768
    @tab fourcc: ULTI
769
@item id Cinematic video     @tab     @tab  X
770
    @tab Used in Quake II.
771
@item id RoQ video           @tab  X  @tab  X
772
    @tab Used in Quake III, Jedi Knight 2, other computer games.
Peter Ross's avatar
Peter Ross committed
773
@item IFF ILBM               @tab     @tab  X
root's avatar
root committed
774
    @tab IFF interleaved bitmap
Peter Ross's avatar
Peter Ross committed
775 776
@item IFF ByteRun1           @tab     @tab  X
    @tab IFF run length encoded bitmap
777 778
@item Intel H.263            @tab     @tab  X
@item Intel Indeo 2          @tab     @tab  X
779
@item Intel Indeo 3          @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
780
@item Intel Indeo 4          @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
781
@item Intel Indeo 5          @tab     @tab  X
782
@item Interplay C93          @tab     @tab  X
783
    @tab Used in the game Cyberia from Interplay.
784
@item Interplay MVE video    @tab     @tab  X
785
    @tab Used in Interplay .MVE files.
786
@item J2K @tab  X  @tab  X
787
@item Karl Morton's video codec  @tab     @tab  X
788
    @tab Codec used in Worms games.
789 790
@item Kega Game Video (KGV1) @tab      @tab  X
    @tab Kega emulator screen capture codec.
791
@item Lagarith               @tab     @tab  X
792 793
@item LCL (LossLess Codec Library) MSZH  @tab     @tab  X
@item LCL (LossLess Codec Library) ZLIB  @tab  E  @tab  E
794
@item LOCO                   @tab     @tab  X
795 796
@item LucasArts SANM/Smush   @tab     @tab  X
    @tab Used in LucasArts games / SMUSH animations.
797
@item lossless MJPEG         @tab  X  @tab  X
798
@item MagicYUV Video         @tab  X  @tab  X
799
@item Mandsoft Screen Capture Codec  @tab     @tab  X
800 801
@item Microsoft ATC Screen   @tab     @tab  X
    @tab Also known as Microsoft Screen 3.
802 803
@item Microsoft Expression Encoder Screen  @tab     @tab  X
    @tab Also known as Microsoft Titanium Screen 2.
804
@item Microsoft RLE          @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
805 806
@item Microsoft Screen 1     @tab     @tab  X
    @tab Also known as Windows Media Video V7 Screen.
Alberto Delmás's avatar
Alberto Delmás committed
807 808
@item Microsoft Screen 2     @tab     @tab  X
    @tab Also known as Windows Media Video V9 Screen.
809
@item Microsoft Video 1      @tab     @tab  X
810
@item Mimic                  @tab     @tab  X
811
    @tab Used in MSN Messenger Webcam streams.
812
@item Miro VideoXL           @tab     @tab  X
813
    @tab fourcc: VIXL
814
@item MJPEG (Motion JPEG)    @tab  X  @tab  X
anatoly's avatar
anatoly committed
815
@item Mobotix MxPEG video    @tab     @tab  X
816 817 818 819
@item Motion Pixels video    @tab     @tab  X
@item MPEG-1 video           @tab  X  @tab  X
@item MPEG-2 video           @tab  X  @tab  X
@item MPEG-4 part 2          @tab  X  @tab  X
Carl Eugen Hoyos's avatar
Carl Eugen Hoyos committed
820
    @tab libxvidcore can be used alternatively for encoding.
821
@item MPEG-4 part 2 Microsoft variant version 1  @tab     @tab  X
822 823
@item MPEG-4 part 2 Microsoft variant version 2  @tab  X  @tab  X
@item MPEG-4 part 2 Microsoft variant version 3  @tab  X  @tab  X
824
@item Newtek SpeedHQ               @tab     @tab  X
825
@item Nintendo Gamecube THP video  @tab     @tab  X
826 827
@item NuppelVideo/RTjpeg     @tab     @tab  X
    @tab Video encoding used in NuppelVideo files.
828
@item On2 VP3                @tab     @tab  X
829
    @tab still experimental
830
@item On2 VP5                @tab     @tab  X
831
    @tab fourcc: VP50
832
@item On2 VP6                @tab     @tab  X
833
    @tab fourcc: VP60,VP61,VP62
Peter Ross's avatar
Peter Ross committed
834 835
@item On2 VP7                @tab     @tab  X
    @tab fourcc: VP70,VP71
David Conrad's avatar
David Conrad committed
836 837
@item VP8                    @tab  E  @tab  X
    @tab fourcc: VP80, encoding supported through external library libvpx
Ronald S. Bultje's avatar
Ronald S. Bultje committed
838 839
@item VP9                    @tab  E  @tab  X
    @tab encoding supported through external library libvpx
840 841
@item Pinnacle TARGA CineWave YUV16 @tab     @tab  X
    @tab fourcc: Y216
Elvis Presley's avatar
Elvis Presley committed
842 843
@item Prores                 @tab     @tab  X
    @tab fourcc: apch,apcn,apcs,apco
844
@item Q-team QPEG            @tab     @tab  X
845
    @tab fourccs: QPEG, Q1.0, Q1.1
846
@item QuickTime 8BPS video   @tab     @tab  X
847 848 849 850 851 852
@item QuickTime Animation (RLE) video  @tab  X  @tab  X
    @tab fourcc: 'rle '
@item QuickTime Graphics (SMC)  @tab     @tab  X
    @tab fourcc: 'smc '
@item QuickTime video (RPZA) @tab     @tab  X
    @tab fourcc: rpza
853 854
@item R10K AJA Kona 10-bit RGB Codec     @tab  X  @tab  X
@item R210 Quicktime Uncompressed RGB 10-bit     @tab  X  @tab  X
855
@item Raw Video              @tab  X  @tab  X
856 857
@item RealVideo 1.0          @tab  X  @tab  X
@item RealVideo 2.0          @tab  X  @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
858 859
@item RealVideo 3.0          @tab     @tab  X
    @tab still far from ideal
Kostya Shishkov's avatar
Kostya Shishkov committed
860
@item RealVideo 4.0          @tab     @tab  X
861
@item Renderware TXD (TeXture Dictionary)  @tab     @tab  X
862
    @tab Texture dictionaries used by the Renderware Engine.
863 864
@item RL2 video              @tab     @tab  X
    @tab used in some games by Entertainment Software Partners
865
@item ScreenPressor          @tab     @tab  X
866
@item Screenpresso           @tab     @tab  X
867
@item Screen Recorder Gold Codec  @tab     @tab  X
868 869
@item Sierra VMD video       @tab     @tab  X
    @tab Used in Sierra VMD files.
870 871
@item Silicon Graphics Motion Video Compressor 1 (MVC1)  @tab     @tab  X
@item Silicon Graphics Motion Video Compressor 2 (MVC2)  @tab     @tab  X
872
@item Silicon Graphics RLE 8-bit video  @tab     @tab  X
873
@item Smacker video          @tab     @tab  X
874
    @tab Video encoding used in Smacker.
875
@item SMPTE VC-1             @tab     @tab  X
876
@item Snow                   @tab  X  @tab  X
877
    @tab experimental wavelet codec (fourcc: SNOW)
878
@item Sony PlayStation MDEC (Motion DECoder)  @tab     @tab  X
879
@item Sorenson Vector Quantizer 1  @tab  X  @tab  X
880
    @tab fourcc: SVQ1
881
@item Sorenson Vector Quantizer 3  @tab     @tab  X
882
    @tab fourcc: SVQ3
883
@item Sunplus JPEG (SP5X)    @tab     @tab  X
884
    @tab fourcc: SP5X
885
@item TechSmith Screen Capture Codec  @tab     @tab  X
886
    @tab fourcc: TSCC
887 888
@item TechSmith Screen Capture Codec 2  @tab     @tab  X
    @tab fourcc: TSC2
889
@item Theora                 @tab  E  @tab  X
890
    @tab encoding supported through external library libtheora
891
@item Tiertex Limited SEQ video  @tab     @tab  X
892
    @tab Codec used in DOS CD-ROM FlashBack game.
893
@item Ut Video               @tab  X  @tab  X
894
@item v210 QuickTime uncompressed 4:2:2 10-bit     @tab  X  @tab  X
895
@item v308 QuickTime uncompressed 4:4:4            @tab  X  @tab  X
896
@item v408 QuickTime uncompressed 4:4:4:4          @tab  X  @tab  X
897
@item v410 QuickTime uncompressed 4:4:4 10-bit     @tab  X  @tab  X
Derek Buitenhuis's avatar
Derek Buitenhuis committed
898
@item VBLE Lossless Codec    @tab     @tab  X
899
@item VMware Screen Codec / VMware Video  @tab     @tab  X
900
    @tab Codec used in videos captured by VMware.
901
@item Westwood Studios VQA (Vector Quantized Animation) video  @tab     @tab  X
902
@item Windows Media Image    @tab     @tab  X
903
@item Windows Media Video 7  @tab  X  @tab  X
904
@item Windows Media Video 8  @tab  X  @tab  X
905 906
@item Windows Media Video 9  @tab     @tab  X
    @tab not completely working
907 908
@item Wing Commander III / Xan  @tab     @tab  X
    @tab Used in Wing Commander III .MVE files.
Kostya Shishkov's avatar
Kostya Shishkov committed
909 910
@item Wing Commander IV / Xan  @tab     @tab  X
    @tab Used in Wing Commander IV.
911 912
@item Winnov WNV1            @tab     @tab  X
@item WMV7                   @tab  X  @tab  X
913
@item YAMAHA SMAF            @tab  X  @tab  X
914
@item Psygnosis YOP Video    @tab     @tab  X
915 916
@item yuv4                   @tab  X  @tab  X
    @tab libquicktime uncompressed packed 4:2:0
917
@item ZeroCodec Lossless Video @tab     @tab  X
918
@item ZLIB                   @tab  X  @tab  X
919
    @tab part of LCL, encoder experimental
920
@item Zip Motion Blocks Video  @tab   X @tab  X
921
    @tab Encoder works only in PAL8.
922 923 924 925
@end multitable

@code{X} means that encoding (resp. decoding) is supported.

926 927
@code{E} means that support is provided through an external library.

928 929
@section Audio Codecs

930
@multitable @columnfractions .4 .1 .1 .4
931
@item Name @tab Encoding @tab Decoding @tab Comments
932 933
@item 8SVX exponential       @tab     @tab  X
@item 8SVX fibonacci         @tab     @tab  X
934
@item AAC                    @tab EX  @tab  X
935
    @tab encoding supported through internal encoder and external library libfdk-aac
936 937
@item AAC+                   @tab  E  @tab  IX
    @tab encoding supported through external library libfdk-aac
938
@item AC-3                   @tab IX  @tab  IX
939
@item ADPCM 4X Movie         @tab     @tab  X
940
@item APDCM Yamaha AICA      @tab     @tab  X
941 942 943 944 945 946 947 948 949 950 951
@item ADPCM CDROM XA         @tab     @tab  X
@item ADPCM Creative Technology @tab     @tab  X
    @tab 16 -> 4, 8 -> 4, 8 -> 3, 8 -> 2
@item ADPCM Electronic Arts  @tab     @tab  X
    @tab Used in various EA titles.
@item ADPCM Electronic Arts Maxis CDROM XS  @tab     @tab  X
    @tab Used in Sim City 3000.
@item ADPCM Electronic Arts R1  @tab     @tab  X
@item ADPCM Electronic Arts R2  @tab     @tab  X
@item ADPCM Electronic Arts R3  @tab     @tab  X
@item ADPCM Electronic Arts XAS @tab     @tab  X
Martin Storsjö's avatar
Martin Storsjö committed
952
@item ADPCM G.722            @tab  X  @tab  X
953 954 955 956 957 958 959 960 961 962 963 964
@item ADPCM G.726            @tab  X  @tab  X
@item ADPCM IMA AMV          @tab     @tab  X
    @tab Used in AMV files
@item ADPCM IMA Electronic Arts EACS  @tab     @tab  X
@item ADPCM IMA Electronic Arts SEAD  @tab     @tab  X
@item ADPCM IMA Funcom       @tab     @tab  X
@item ADPCM IMA QuickTime    @tab  X  @tab  X
@item ADPCM IMA Loki SDL MJPEG  @tab     @tab  X
@item ADPCM IMA WAV          @tab  X  @tab  X
@item ADPCM IMA Westwood     @tab     @tab  X
@item ADPCM ISS IMA          @tab     @tab  X
    @tab Used in FunCom games.
965
@item ADPCM IMA Dialogic     @tab     @tab  X
966 967 968 969
@item ADPCM IMA Duck DK3     @tab     @tab  X
    @tab Used in some Sega Saturn console games.
@item ADPCM IMA Duck DK4     @tab     @tab  X
    @tab Used in some Sega Saturn console games.
James Almer's avatar
James Almer committed
970
@item ADPCM IMA Radical      @tab     @tab  X
971 972
@item ADPCM Microsoft        @tab  X  @tab  X
@item ADPCM MS IMA           @tab  X  @tab  X
Paul B Mahol's avatar
Paul B Mahol committed
973
@item ADPCM Nintendo Gamecube AFC  @tab     @tab  X
James Almer's avatar
James Almer committed
974
@item ADPCM Nintendo Gamecube DTK  @tab     @tab  X
975
@item ADPCM Nintendo THP  @tab     @tab  X
976
@item APDCM Playstation      @tab     @tab  X
977 978 979 980 981 982 983
@item ADPCM QT IMA           @tab  X  @tab  X
@item ADPCM SEGA CRI ADX     @tab  X  @tab  X
    @tab Used in Sega Dreamcast games.
@item ADPCM Shockwave Flash  @tab  X  @tab  X
@item ADPCM Sound Blaster Pro 2-bit  @tab     @tab  X
@item ADPCM Sound Blaster Pro 2.6-bit  @tab     @tab  X
@item ADPCM Sound Blaster Pro 4-bit  @tab     @tab  X
984
@item ADPCM VIMA             @tab     @tab  X
985
    @tab Used in LucasArts SMUSH animations.
986 987 988
@item ADPCM Westwood Studios IMA @tab     @tab  X
    @tab Used in Westwood Studios games like Command and Conquer.
@item ADPCM Yamaha           @tab  X  @tab  X
989
@item AMR-NB                 @tab  E  @tab  X
990
    @tab encoding supported through external library libopencore-amrnb
991 992
@item AMR-WB                 @tab  E  @tab  X
    @tab encoding supported through external library libvo-amrwbenc
Paul B Mahol's avatar
Paul B Mahol committed
993
@item Amazing Studio PAF Audio @tab     @tab  X
994
@item Apple lossless audio   @tab  X  @tab  X
995
    @tab QuickTime fourcc 'alac'
996 997
@item ATRAC1                 @tab     @tab  X
@item ATRAC3                 @tab     @tab  X
Maxim Poliakovski's avatar
Maxim Poliakovski committed
998
@item ATRAC3+                @tab     @tab  X
Peter Ross's avatar
Peter Ross committed
999 1000
@item Bink Audio             @tab     @tab  X
    @tab Used in Bink and Smacker files in many games.
1001
@item CELT                   @tab     @tab  E
1002
    @tab decoding supported through external library libcelt
1003
@item Delphine Software International CIN audio  @tab     @tab  X
1004
    @tab Codec used in Delphine Software International games.
1005
@item Digital Speech Standard - Standard Play mode (DSS SP) @tab     @tab  X
1006
@item Discworld II BMV Audio @tab     @tab  X
1007 1008
@item COOK                   @tab     @tab  X
    @tab All versions except 5.1 are supported.
Alexander E. Patrakov's avatar
Alexander E. Patrakov committed
1009
@item DCA (DTS Coherent Acoustics)  @tab  X  @tab  X
1010
    @tab supported extensions: XCh, XXCH, X96, XBR, XLL, LBR (partially)
foo86's avatar
foo86 committed
1011
@item Dolby E  @tab     @tab  X
1012
@item DPCM id RoQ            @tab  X  @tab  X
root's avatar
root committed
1013
    @tab Used in Quake III, Jedi Knight 2 and other computer games.
1014 1015
@item DPCM Interplay         @tab     @tab  X
    @tab Used in various Interplay computer games.
1016
@item DPCM Squareroot-Delta-Exact  @tab  @tab  X
1017
    @tab Used in various games.
1018 1019 1020 1021
@item DPCM Sierra Online     @tab     @tab  X
    @tab Used in Sierra Online game audio files.
@item DPCM Sol               @tab     @tab  X
@item DPCM Xan               @tab     @tab  X
1022
    @tab Used in Origin's Wing Commander IV AVI files.
1023 1024 1025 1026
@item DSD (Direct Stream Digitial), least significant bit first  @tab  @tab  X
@item DSD (Direct Stream Digitial), most significant bit first   @tab  @tab  X
@item DSD (Direct Stream Digitial), least significant bit first, planar  @tab  @tab  X
@item DSD (Direct Stream Digitial), most significant bit first, planar   @tab  @tab  X
1027
@item DSP Group TrueSpeech   @tab     @tab  X
1028
@item DST (Direct Stream Transfer) @tab  @tab  X
1029
@item DV audio               @tab     @tab  X
1030
@item Enhanced AC-3          @tab  X  @tab  X
Paul B Mahol's avatar
Paul B Mahol committed
1031
@item EVRC (Enhanced Variable Rate Codec) @tab     @tab  X
1032
@item FLAC (Free Lossless Audio Codec)  @tab  X  @tab  IX
1033
@item G.723.1                @tab X   @tab  X
1034
@item G.729                  @tab     @tab  X
1035 1036 1037 1038
@item GSM                    @tab  E  @tab  X
    @tab encoding supported through external library libgsm
@item GSM Microsoft variant  @tab  E  @tab  X
    @tab encoding supported through external library libgsm
Kostya Shishkov's avatar
Kostya Shishkov committed
1039
@item IAC (Indeo Audio Coder)  @tab     @tab  X
1040 1041
@item iLBC (Internet Low Bitrate Codec) @tab  E  @tab  E
    @tab encoding and decoding supported through external library libilbc
1042
@item IMC (Intel Music Coder)  @tab     @tab  X
1043
@item Interplay ACM            @tab     @tab  X
1044 1045
@item MACE (Macintosh Audio Compression/Expansion) 3:1  @tab     @tab  X
@item MACE (Macintosh Audio Compression/Expansion) 6:1  @tab     @tab  X
1046
@item MLP (Meridian Lossless Packing)  @tab  X  @tab  X
1047
    @tab Used in DVD-Audio discs.
1048
@item Monkey's Audio         @tab     @tab  X
1049 1050
@item MP1 (MPEG audio layer 1)  @tab     @tab IX
@item MP2 (MPEG audio layer 2)  @tab IX  @tab IX
1051
    @tab encoding supported also through external library TwoLAME
1052 1053
@item MP3 (MPEG audio layer 3)  @tab  E  @tab IX
    @tab encoding supported through external library LAME, ADU MP3 and MP3onMP4 also supported
1054
@item MPEG-4 Audio Lossless Coding (ALS)  @tab     @tab  X
1055 1056
@item Musepack SV7           @tab     @tab  X
@item Musepack SV8           @tab     @tab  X
1057
@item Nellymoser Asao        @tab  X  @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
1058
@item On2 AVC (Audio for Video Codec) @tab     @tab  X
1059 1060
@item Opus                   @tab  E  @tab  X
    @tab encoding supported through external library libopus
1061 1062
@item PCM A-law              @tab  X  @tab  X
@item PCM mu-law             @tab  X  @tab  X
1063 1064 1065 1066 1067
@item PCM signed 8-bit planar  @tab  X  @tab  X
@item PCM signed 16-bit big-endian planar  @tab  X  @tab  X
@item PCM signed 16-bit little-endian planar  @tab  X  @tab  X
@item PCM signed 24-bit little-endian planar  @tab  X  @tab  X
@item PCM signed 32-bit little-endian planar  @tab  X  @tab  X
1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079
@item PCM 32-bit floating point big-endian  @tab  X  @tab  X
@item PCM 32-bit floating point little-endian  @tab  X  @tab  X
@item PCM 64-bit floating point big-endian  @tab  X  @tab  X
@item PCM 64-bit floating point little-endian  @tab  X  @tab  X
@item PCM D-Cinema audio signed 24-bit   @tab  X  @tab  X
@item PCM signed 8-bit       @tab  X  @tab  X
@item PCM signed 16-bit big-endian  @tab  X  @tab  X
@item PCM signed 16-bit little-endian  @tab  X  @tab  X
@item PCM signed 24-bit big-endian  @tab  X  @tab  X
@item PCM signed 24-bit little-endian  @tab  X  @tab  X
@item PCM signed 32-bit big-endian  @tab  X  @tab  X
@item PCM signed 32-bit little-endian  @tab  X  @tab  X
1080
@item PCM signed 16/20/24-bit big-endian in MPEG-TS  @tab     @tab  X
1081 1082 1083 1084 1085 1086 1087
@item PCM unsigned 8-bit     @tab  X  @tab  X
@item PCM unsigned 16-bit big-endian  @tab  X  @tab  X
@item PCM unsigned 16-bit little-endian  @tab  X  @tab  X
@item PCM unsigned 24-bit big-endian  @tab  X  @tab  X
@item PCM unsigned 24-bit little-endian  @tab  X  @tab  X
@item PCM unsigned 32-bit big-endian  @tab  X  @tab  X
@item PCM unsigned 32-bit little-endian  @tab  X  @tab  X
1088
@item PCM Zork               @tab     @tab  X
1089
@item QCELP / PureVoice      @tab     @tab  X
1090
@item QDesign Music Codec 1  @tab     @tab  X
1091
@item QDesign Music Codec 2  @tab     @tab  X
1092
    @tab There are still some distortions.
1093
@item RealAudio 1.0 (14.4K)  @tab  X  @tab  X
1094
    @tab Real 14400 bit/s codec
1095
@item RealAudio 2.0 (28.8K)  @tab     @tab  X
1096
    @tab Real 28800 bit/s codec
1097
@item RealAudio 3.0 (dnet)   @tab IX  @tab  X
1098
    @tab Real low bitrate AC-3 codec
1099
@item RealAudio Lossless     @tab     @tab  X
1100
@item RealAudio SIPR / ACELP.NET @tab     @tab  X
1101
@item Shorten                @tab     @tab  X
1102 1103
@item Sierra VMD audio       @tab     @tab  X
    @tab Used in Sierra VMD files.
1104
@item Smacker audio          @tab     @tab  X
Darryl Wallace's avatar
Darryl Wallace committed
1105
@item SMPTE 302M AES3 audio  @tab  X  @tab  X
1106 1107 1108 1109
@item Sonic                  @tab  X  @tab  X
    @tab experimental codec
@item Sonic lossless         @tab  X  @tab  X
    @tab experimental codec
1110
@item Speex                  @tab  E  @tab  E
1111
    @tab supported through external library libspeex
1112
@item TAK (Tom's lossless Audio Kompressor)  @tab     @tab  X
Paul B Mahol's avatar
Paul B Mahol committed
1113
@item True Audio (TTA)       @tab  X  @tab  X
1114
@item TrueHD                 @tab  X  @tab  X
1115
    @tab Used in HD-DVD and Blu-Ray discs.
Vitor Sessak's avatar
Vitor Sessak committed
1116
@item TwinVQ (VQF flavor)    @tab     @tab  X
Paul B Mahol's avatar
Paul B Mahol committed
1117
@item VIMA                   @tab     @tab  X
1118
    @tab Used in LucasArts SMUSH animations.
1119
@item Vorbis                 @tab  E  @tab  X
1120
    @tab A native but very primitive encoder exists.
1121
@item Voxware MetaSound      @tab     @tab  X
Paul B Mahol's avatar
Paul B Mahol committed
1122
@item WavPack                @tab  X  @tab  X
1123 1124 1125
@item Westwood Audio (SND1)  @tab     @tab  X
@item Windows Media Audio 1  @tab  X  @tab  X
@item Windows Media Audio 2  @tab  X  @tab  X
1126
@item Windows Media Audio Lossless @tab  @tab  X
1127
@item Windows Media Audio Pro @tab    @tab  X
Ronald S. Bultje's avatar
Ronald S. Bultje committed
1128
@item Windows Media Audio Voice @tab  @tab  X
1129 1130
@item Xbox Media Audio 1     @tab     @tab  X
@item Xbox Media Audio 2     @tab     @tab  X
1131 1132 1133 1134
@end multitable

@code{X} means that encoding (resp. decoding) is supported.

1135 1136
@code{E} means that support is provided through an external library.

1137 1138 1139
@code{I} means that an integer-only version is available, too (ensures high
performance on systems without hardware floating point support).

1140 1141
@section Subtitle Formats

1142
@multitable @columnfractions .4 .1 .1 .1 .1
1143
@item Name @tab Muxing @tab Demuxing @tab Encoding @tab Decoding
1144
@item 3GPP Timed Text  @tab   @tab   @tab X @tab X
1145
@item AQTitle          @tab   @tab X @tab   @tab X
1146
@item DVB              @tab X @tab X @tab X @tab X
1147
@item DVB teletext     @tab   @tab X @tab   @tab E
1148 1149 1150
@item DVD              @tab X @tab X @tab X @tab X
@item JACOsub          @tab X @tab X @tab   @tab X
@item MicroDVD         @tab X @tab X @tab   @tab X
1151
@item MPL2             @tab   @tab X @tab   @tab X
1152
@item MPsub (MPlayer)  @tab   @tab X @tab   @tab X
1153
@item PGS              @tab   @tab   @tab   @tab X
1154
@item PJS (Phoenix)    @tab   @tab X @tab   @tab X
1155 1156
@item RealText         @tab   @tab X @tab   @tab X
@item SAMI             @tab   @tab X @tab   @tab X
1157
@item Spruce format (STL) @tab   @tab X @tab   @tab X
1158
@item SSA/ASS          @tab X @tab X @tab X @tab X
1159
@item SubRip (SRT)     @tab X @tab X @tab X @tab X
1160
@item SubViewer v1     @tab   @tab X @tab   @tab X
1161
@item SubViewer        @tab   @tab X @tab   @tab X
1162
@item TED Talks captions @tab @tab X @tab   @tab X
Clément Bœsch's avatar
Clément Bœsch committed
1163
@item VobSub (IDX+SUB) @tab   @tab X @tab   @tab X
1164
@item VPlayer          @tab   @tab X @tab   @tab X
1165
@item WebVTT           @tab X @tab X @tab X @tab X
1166
@item XSUB             @tab   @tab   @tab X @tab X
1167 1168 1169 1170
@end multitable

@code{X} means that the feature is supported.

1171 1172
@code{E} means that support is provided through an external library.

1173 1174
@section Network Protocols

1175
@multitable @columnfractions .4 .1
1176 1177
@item Name         @tab Support
@item file         @tab X
1178
@item FTP          @tab X
1179
@item Gopher       @tab X
1180
@item HLS          @tab X
1181
@item HTTP         @tab X
1182
@item HTTPS        @tab X
1183
@item Icecast      @tab X
1184 1185
@item MMSH         @tab X
@item MMST         @tab X
1186
@item pipe         @tab X
1187
@item Pro-MPEG FEC @tab X
1188
@item RTMP         @tab X
Samuel Pitoiset's avatar
Samuel Pitoiset committed
1189
@item RTMPE        @tab X
Samuel Pitoiset's avatar
Samuel Pitoiset committed
1190
@item RTMPS        @tab X
1191
@item RTMPT        @tab X
1192
@item RTMPTE       @tab X
1193
@item RTMPTS       @tab X
1194
@item RTP          @tab X
1195
@item SAMBA        @tab E
1196
@item SCTP         @tab X
1197
@item SFTP         @tab E
1198
@item TCP          @tab X
1199
@item TLS          @tab X
1200 1201 1202 1203 1204
@item UDP          @tab X
@end multitable

@code{X} means that the protocol is supported.

1205 1206
@code{E} means that support is provided through an external library.

1207

1208 1209 1210 1211 1212 1213
@section Input/Output Devices

@multitable @columnfractions .4 .1 .1
@item Name              @tab Input  @tab Output
@item ALSA              @tab X      @tab X
@item BKTR              @tab X      @tab
1214
@item caca              @tab        @tab X
1215
@item DV1394            @tab X      @tab
1216
@item Lavfi virtual device @tab X   @tab
1217
@item Linux framebuffer @tab X      @tab X
1218
@item JACK              @tab X      @tab
1219
@item LIBCDIO           @tab X
1220
@item LIBDC1394         @tab X      @tab
1221
@item OpenAL            @tab X
1222
@item OpenGL            @tab        @tab X
1223
@item OSS               @tab X      @tab X
1224
@item PulseAudio        @tab X      @tab X
1225
@item SDL               @tab        @tab X
Clément Bœsch's avatar
Clément Bœsch committed
1226
@item Video4Linux2      @tab X      @tab X
1227 1228
@item VfW capture       @tab X      @tab
@item X11 grabbing      @tab X      @tab
1229
@item Win32 grabbing    @tab X      @tab
1230 1231
@end multitable

1232
@code{X} means that input/output is supported.
1233

1234 1235 1236 1237
@section Timecode

@multitable @columnfractions .4 .1 .1
@item Codec/format      @tab Read   @tab Write
1238
@item AVI               @tab X      @tab X
1239 1240
@item DV                @tab X      @tab X
@item GXF               @tab X      @tab X
1241
@item MOV               @tab X      @tab X
1242
@item MPEG1/2           @tab X      @tab X
1243
@item MXF               @tab X      @tab X
1244 1245
@end multitable

1246
@bye