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

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

8 9 10
@top

@contents
11

12
@chapter External libraries
13

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

19
@section OpenCORE and VisualOn libraries
20

21 22
Spun off Google Android sources, OpenCore, VisualOn and Fraunhofer
libraries provide encoders for a number of audio codecs.
23

24 25 26
@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
27
incompatible with the LGPL version 2.1 and GPL version 2. You have to
28
upgrade Libav's license to LGPL version 3 (or if you have enabled
29
GPL components, GPL version 3) to use it.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
@end float

@subsection OpenCORE AMR

Libav can make use of the OpenCORE libraries for AMR-NB
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 AAC encoder library

Libav can make use of the VisualOn AACenc library for AAC encoding.

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

@subsection VisualOn AMR-WB encoder library

Libav can make use of the VisualOn AMR-WBenc library for AMR-WB encoding.

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.

58 59 60 61 62 63 64 65
@subsection Fraunhofer AAC library

Libav can make use of the Fraunhofer AAC library for AAC encoding.

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.

66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
@section LAME

Libav can make use of the LAME library for MP3 encoding.

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.

@section libvpx

Libav can make use of the libvpx library for VP8 encoding.

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.

82 83 84 85 86 87 88 89
@section libwavpack

Libav can make use of the libwavpack library for WavPack encoding.

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.

90 91 92 93 94 95 96 97 98 99 100 101 102 103
@section x264

Libav can make use of the x264 library for H.264 encoding.

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
details), you must upgrade Libav's license to GPL in order to use it.
@end float

104 105 106 107 108 109 110 111 112 113 114
@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
copy of the iLBC codec. Libav can make use of the libilbc library for
iLBC encoding and decoding.

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

115

116 117 118

@chapter Supported File Formats and Codecs

Daniel Verkamp's avatar
Daniel Verkamp committed
119
You can use the @code{-formats} and @code{-codecs} options to have an exhaustive list.
120 121 122

@section File Formats

123
Libav supports the following file formats through the @code{libavformat}
124 125 126
library:

@multitable @columnfractions .4 .1 .1 .4
127
@item Name @tab Encoding @tab Decoding @tab Comments
Diego Biurrun's avatar
Diego Biurrun committed
128
@item 4xm                       @tab   @tab X
129
    @tab 4X Technologies format, used in some games.
130
@item 8088flex TMV              @tab   @tab X
131
@item Adobe Filmstrip           @tab X @tab X
132
@item Audio IFF (AIFF)          @tab X @tab X
Diego Biurrun's avatar
Diego Biurrun committed
133 134
@item American Laser Games MM   @tab   @tab X
    @tab Multimedia format used in games like Mad Dog McCree.
135
@item 3GPP AMR                  @tab X @tab X
136
@item Apple HTTP Live Streaming @tab   @tab X
137 138
@item ASF                       @tab X @tab X
@item AVI                       @tab X @tab X
139
@item AviSynth                  @tab   @tab X
140
@item AVS                       @tab   @tab X
141
    @tab Multimedia format used by the Creature Shock game.
142 143 144
@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
145
    @tab Used in some games from Bethesda Softworks.
Peter Ross's avatar
Peter Ross committed
146 147
@item Bink                      @tab   @tab X
    @tab Multimedia format used by many games.
Peter Ross's avatar
Peter Ross committed
148 149
@item Bitmap Brothers JV        @tab   @tab X
    @tab Used in Z and Z95 games.
150 151
@item Brute Force & Ignorance   @tab   @tab X
    @tab Used in the game Flash Traffic: City of Angels.
Tomas Härdin's avatar
Tomas Härdin committed
152
@item BWF                       @tab X @tab X
Justin Ruggles's avatar
Justin Ruggles committed
153
@item CRI ADX                   @tab X @tab X
154
    @tab Audio-only format used in console video games.
Kostya Shishkov's avatar
Kostya Shishkov committed
155
@item Discworld II BMV          @tab   @tab X
156
@item Interplay C93             @tab   @tab X
157
    @tab Used in the game Cyberia from Interplay.
158
@item Delphine Software International CIN @tab   @tab X
159
    @tab Multimedia format used by Delphine Software games.
Michael Tison's avatar
Michael Tison committed
160 161
@item CD+G                      @tab   @tab X
    @tab Video format used by CD+G karaoke disks
Paul B Mahol's avatar
Paul B Mahol committed
162 163
@item Commodore CDXL            @tab   @tab X
    @tab Amiga CD video format
Peter Ross's avatar
Peter Ross committed
164 165
@item Core Audio Format         @tab   @tab X
    @tab Apple Core Audio Format
166
@item CRC testing format        @tab X @tab
167
@item Creative Voice            @tab X @tab X
168
    @tab Created for the Sound Blaster Pro.
Diego Biurrun's avatar
Diego Biurrun committed
169 170
@item CRYO APC                  @tab   @tab X
    @tab Audio format used in some games by CRYO Interactive Entertainment.
171
@item D-Cinema audio            @tab X @tab X
Peter Ross's avatar
Peter Ross committed
172
@item Deluxe Paint Animation    @tab   @tab X
Kostya Shishkov's avatar
Kostya Shishkov committed
173 174
@item DFA                       @tab   @tab X
    @tab This format is used in Chronomaster game
175
@item DV video                  @tab X @tab X
176
@item DXA                       @tab   @tab X
177 178
    @tab This format is used in the non-Windows version of the Feeble Files
         game and different game cutscenes repacked for use with ScummVM.
179
@item Electronic Arts cdata  @tab    @tab X
180
@item Electronic Arts Multimedia  @tab    @tab X
181
    @tab Used in various EA games; files have extensions like WVE and UV2.
Anton Khirnov's avatar
Anton Khirnov committed
182
@item FFM (AVserver live feed)  @tab X @tab X
183
@item Flash (SWF)               @tab X @tab X
184 185 186
@item Flash 9 (AVM2)            @tab X @tab X
    @tab Only embedded audio is decoded.
@item FLI/FLC/FLX animation     @tab   @tab X
187
    @tab .fli/.flc files
188
@item Flash Video (FLV)         @tab X @tab X
189
    @tab Macromedia Flash video files
190
@item framecrc testing format   @tab X @tab
191 192
@item FunCom ISS                @tab   @tab X
    @tab Audio format used in various games from FunCom like The Longest Journey.
193
@item GIF Animation             @tab X @tab
194
@item GXF                       @tab X @tab X
195
    @tab General eXchange Format SMPTE 360M, used by Thomson Grass Valley
Diego Biurrun's avatar
Diego Biurrun committed
196
         playout servers.
197 198
@item HNM @tab   @tab X
    @tab Only version 4 supported, used in some games from Cryo Interactive
199
@item id Quake II CIN video     @tab   @tab X
Diego Biurrun's avatar
Diego Biurrun committed
200
@item id RoQ                    @tab X @tab X
201
    @tab Used in Quake III, Jedi Knight 2, other computer games.
Anssi Hannula's avatar
Anssi Hannula committed
202
@item IEC61937 encapsulation @tab X @tab X
203
@item IFF                       @tab   @tab X
204
    @tab Interchange File Format
205
@item iLBC                      @tab X @tab X
206
@item Interplay MVE             @tab   @tab X
207
    @tab Format used in various Interplay computer games.
208 209
@item IV8                       @tab   @tab X
    @tab A format generated by IndigoVision 8000 video server.
210
@item IVF (On2)                 @tab X @tab X
David Conrad's avatar
David Conrad committed
211
    @tab A format used by libvpx
Kieran Kunhya's avatar
Kieran Kunhya committed
212
@item LATM                      @tab X @tab X
213
@item LMLM4                     @tab   @tab X
214
    @tab Used by Linux Media Labs MPEG-4 PCI boards
215 216
@item LXF                       @tab   @tab X
    @tab VR native stream format, used by Leitch/Harris' video servers.
Diego Biurrun's avatar
Diego Biurrun committed
217
@item Matroska                  @tab X @tab X
218
@item Matroska audio            @tab X @tab
Anton Khirnov's avatar
Anton Khirnov committed
219
@item FFmpeg metadata           @tab X @tab X
Anton Khirnov's avatar
Anton Khirnov committed
220
    @tab Metadata in text format.
221
@item MAXIS XA                  @tab   @tab X
222
    @tab Used in Sim City 3000; file extension .xa.
223
@item MD Studio                 @tab   @tab X
Anatoly Nenashev's avatar
Anatoly Nenashev committed
224
@item Mobotix .mxg              @tab   @tab X
Diego Biurrun's avatar
Diego Biurrun committed
225
@item Monkey's Audio            @tab   @tab X
226
@item Motion Pixels MVI         @tab   @tab X
227 228
@item MOV/QuickTime/MP4         @tab X @tab X
    @tab 3GP, 3GP2, PSP, iPod variants supported
229 230
@item MP2                       @tab X @tab X
@item MP3                       @tab X @tab X
231 232 233 234 235
@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
236
    @tab also known as DVB Transport Stream
237
@item MPEG-4                    @tab X @tab X
238
    @tab MPEG-4 is a variant of QuickTime.
239
@item MIME multipart JPEG       @tab X @tab
240
@item MSN TCP webcam            @tab   @tab X
241
    @tab Used by MSN Messenger webcam streams.
242 243 244
@item MTV                       @tab   @tab X
@item Musepack                  @tab   @tab X
@item Musepack SV8              @tab   @tab X
245 246
@item Material eXchange Format (MXF) @tab X @tab X
    @tab SMPTE 377M, used by D-Cinema, broadcast industry.
247 248
@item Material eXchange Format (MXF), D-10 Mapping @tab X @tab X
    @tab SMPTE 386M, D-10/IMX Mapping.
249 250
@item NC camera feed            @tab   @tab X
    @tab NC (AVIP NC4600) camera streams
251 252
@item NTT TwinVQ (VQF)          @tab   @tab X
    @tab Nippon Telegraph and Telephone Corporation TwinVQ.
253
@item Nullsoft Streaming Video  @tab   @tab X
254
@item NuppelVideo               @tab   @tab X
255
@item NUT                       @tab X @tab X
256
    @tab NUT Open Container Format
257
@item Ogg                       @tab X @tab X
258
@item Playstation Portable PMP  @tab   @tab X
259
@item TechnoTrend PVA           @tab   @tab X
260
    @tab Used by TechnoTrend DVB PCI boards.
Kenan Gillet's avatar
Kenan Gillet committed
261
@item QCP                       @tab   @tab X
262
@item raw ADTS (AAC)            @tab X @tab X
Diego Biurrun's avatar
Diego Biurrun committed
263
@item raw AC-3                  @tab X @tab X
264
@item raw Chinese AVS video     @tab X @tab X
265 266 267 268 269 270 271 272 273 274
@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
@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
Dirk Farin's avatar
Dirk Farin committed
275
@item raw HEVC                  @tab   @tab X
276
@item raw Ingenient MJPEG       @tab   @tab X
Diego Biurrun's avatar
Diego Biurrun committed
277
@item raw MJPEG                 @tab X @tab X
278 279 280 281 282 283
@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
284
@item raw video                 @tab X @tab X
285 286
@item raw id RoQ                @tab X @tab
@item raw Shorten               @tab   @tab X
287
@item raw TAK                   @tab   @tab X
Ramiro Polla's avatar
Ramiro Polla committed
288
@item raw TrueHD                @tab X @tab X
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
@item raw VC-1                  @tab   @tab X
@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
@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
@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
310
@item RDT                       @tab   @tab X
311
@item REDCODE R3D               @tab   @tab X
Baptiste Coudurier's avatar
Baptiste Coudurier committed
312
    @tab File format used by RED Digital cameras, contains JPEG 2000 frames and PCM audio.
Diego Biurrun's avatar
Diego Biurrun committed
313
@item RealMedia                 @tab X @tab X
314
@item Redirector                @tab   @tab X
315
@item Renderware TeXture Dictionary @tab   @tab X
316
@item RL2                       @tab   @tab X
317
    @tab Audio and video format used in some games by Entertainment Software Partners.
318
@item RPL/ARMovie               @tab   @tab X
319
@item Lego Mindstorms RSO       @tab X @tab X
320 321
@item RTMP                      @tab X @tab X
    @tab Output is performed by publishing stream to RTMP server
322
@item RTP                       @tab X @tab X
Martin Storsjö's avatar
Martin Storsjö committed
323
@item RTSP                      @tab X @tab X
Martin Storsjö's avatar
Martin Storsjö committed
324
@item SAP                       @tab X @tab X
325
@item SDP                       @tab   @tab X
326
@item Sega FILM/CPK             @tab   @tab X
327
    @tab Used in many Sega Saturn console games.
328
@item Sierra SOL                @tab   @tab X
329
    @tab .sol files used in Sierra Online games.
330
@item Sierra VMD                @tab   @tab X
331
    @tab Used in Sierra CD-ROM games.
332
@item Smacker                   @tab   @tab X
333
    @tab Multimedia format used by many games.
Paul B Mahol's avatar
Paul B Mahol committed
334
@item SMJPEG                    @tab X @tab X
Paul B Mahol's avatar
Paul B Mahol committed
335
    @tab Used in certain Loki game ports.
336
@item Sony OpenMG (OMA)         @tab X @tab X
337 338
    @tab Audio format used in Sony Sonic Stage and Sony Vegas.
@item Sony PlayStation STR      @tab   @tab X
Daniel Verkamp's avatar
Daniel Verkamp committed
339
@item Sony Wave64 (W64)         @tab   @tab X
340
@item SoX native format         @tab X @tab X
Diego Biurrun's avatar
Diego Biurrun committed
341
@item SUN AU format             @tab X @tab X
Peter Ross's avatar
Peter Ross committed
342
@item Text files                @tab   @tab X
343
@item THP                       @tab   @tab X
344
    @tab Used on the Nintendo GameCube.
345 346
@item Tiertex Limited SEQ       @tab   @tab X
    @tab Tiertex .seq files used in the DOS CD-ROM version of the game Flashback.
347 348
@item True Audio                @tab   @tab X
@item VC-1 test bitstream       @tab X @tab X
349
@item WAV                       @tab X @tab X
350
@item WavPack                   @tab   @tab X
James Zern's avatar
James Zern committed
351
@item WebM                      @tab X @tab X
Peter Ross's avatar
Peter Ross committed
352
@item Windows Televison (WTV)   @tab   @tab X
353
@item Wing Commander III movie  @tab   @tab X
354
    @tab Multimedia format used in Origin's Wing Commander III computer game.
355 356 357 358
@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.
Sven Hesse's avatar
Sven Hesse committed
359 360
@item XMV                       @tab   @tab X
    @tab Microsoft video container used in Xbox games.
Max Horn's avatar
Max Horn committed
361 362
@item xWMA                      @tab   @tab X
    @tab Microsoft audio container used by XAudio 2.
363
@item YUV4MPEG pipe             @tab X @tab X
364
@item Psygnosis YOP             @tab   @tab X
Derek Buitenhuis's avatar
Derek Buitenhuis committed
365
@item ZeroCodec Lossless Video  @tab   @tab X
366 367 368 369 370 371
@end multitable

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

@section Image Formats

372
Libav can read and write images for each frame of a video sequence. The
373 374 375
following image formats are supported:

@multitable @columnfractions .4 .1 .1 .4
376
@item Name @tab Encoding @tab Decoding @tab Comments
377 378 379 380
@item .Y.U.V       @tab X @tab X
    @tab one raw file per component
@item animated GIF @tab X @tab X
    @tab Only uncompressed GIFs are generated.
381 382
@item BMP          @tab X @tab X
    @tab Microsoft BMP image
Peter Ross's avatar
Peter Ross committed
383
@item DPX          @tab X @tab X
384
    @tab Digital Picture Exchange
385 386
@item JPEG         @tab X @tab X
    @tab Progressive JPEG is not supported.
387 388
@item JPEG 2000    @tab E @tab X
    @tab encoding supported through external library libopenjpeg
389 390 391
@item JPEG-LS      @tab X @tab X
@item LJPEG        @tab X @tab
    @tab Lossless JPEG
392
@item PAM          @tab X @tab X
393
    @tab PAM is a PNM extension with alpha support.
394
@item PBM          @tab X @tab X
395
    @tab Portable BitMap image
396
@item PCX          @tab X @tab X
397
    @tab PC Paintbrush
398
@item PGM          @tab X @tab X
399
    @tab Portable GrayMap image
400
@item PGMYUV       @tab X @tab X
401
    @tab PGM with U and V components in YUV 4:2:0
Peter Ross's avatar
Peter Ross committed
402 403
@item PIC          @tab @tab X
    @tab Pictor/PC Paint
404 405
@item PNG          @tab X @tab X
    @tab 2/4 bpp not supported yet
406
@item PPM          @tab X @tab X
407
    @tab Portable PixelMap image
408 409 410 411
@item PTX          @tab   @tab X
    @tab V.Flash PTX format
@item SGI          @tab X @tab X
    @tab SGI RGB image format
412
@item Sun Rasterfile  @tab X @tab X
413
    @tab Sun RAS image format
414 415
@item TIFF         @tab X @tab X
    @tab YUV, JPEG and some extension is not supported yet.
416 417
@item Truevision Targa  @tab X @tab X
    @tab Targa (.TGA) image format
Justin Ruggles's avatar
Justin Ruggles committed
418 419
@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
420 421
@item XBM  @tab X @tab
    @tab X BitMap image format
Paul B Mahol's avatar
Paul B Mahol committed
422 423
@item XWD  @tab X @tab X
    @tab X Window Dump image format
424 425 426 427
@end multitable

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

428 429
@code{E} means that support is provided through an external library.

430 431 432
@section Video Codecs

@multitable @columnfractions .4 .1 .1 .4
433
@item Name @tab Encoding @tab Decoding @tab Comments
434
@item 4X Movie               @tab     @tab  X
435
    @tab Used in certain computer games.
436
@item 8088flex TMV           @tab     @tab  X
437 438
@item 8SVX exponential       @tab     @tab  X
@item 8SVX fibonacci         @tab     @tab  X
439 440
@item A64 multicolor         @tab  X  @tab
    @tab Creates video suitable to be played on a commodore 64 (multicolor mode).
441
@item American Laser Games MM  @tab    @tab X
442
    @tab Used in games like Mad Dog McCree.
443
@item AMV Video              @tab     @tab  X
444
    @tab Used in Chinese MP3 players.
Peter Ross's avatar
Peter Ross committed
445
@item ANSI/ASCII art         @tab     @tab  X
446
@item Apple Intermediate Codec @tab     @tab  X
447
@item Apple MJPEG-B          @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
448
@item Apple ProRes           @tab  X  @tab  X
449
@item Apple QuickDraw        @tab     @tab  X
450
    @tab fourcc: qdrw
451
@item Asus v1                @tab  X  @tab  X
452
    @tab fourcc: ASV1
453
@item Asus v2                @tab  X  @tab  X
454
    @tab fourcc: ASV2
455
@item ATI VCR1               @tab     @tab  X
456
    @tab fourcc: VCR1
457
@item ATI VCR2               @tab     @tab  X
458
    @tab fourcc: VCR2
459
@item Auravision Aura        @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
460
@item Auravision Aura 2      @tab     @tab  X
461
@item Autodesk Animator Flic video  @tab     @tab  X
462
@item Autodesk RLE           @tab     @tab  X
463
    @tab fourcc: AASC
464
@item AVS (Audio Video Standard) video  @tab     @tab  X
465
    @tab Video encoding used by the Creature Shock game.
466
@item Beam Software VB       @tab     @tab  X
467
@item Bethesda VID video     @tab     @tab  X
468
    @tab Used in some games from Bethesda Softworks.
Kostya Shishkov's avatar
Kostya Shishkov committed
469
@item Bink Video             @tab     @tab  X
Peter Ross's avatar
Peter Ross committed
470
@item Bitmap Brothers JV video  @tab   @tab X
471 472
@item Brute Force & Ignorance   @tab   @tab X
    @tab Used in the game Flash Traffic: City of Angels.
473
@item C93 video              @tab     @tab  X
474
    @tab Codec used in Cyberia game.
475
@item CamStudio              @tab     @tab  X
476
    @tab fourcc: CSCD
Michael Tison's avatar
Michael Tison committed
477 478
@item CD+G                   @tab     @tab  X
    @tab Video codec for CD+G karaoke disks
Paul B Mahol's avatar
Paul B Mahol committed
479 480
@item CDXL                   @tab     @tab  X
    @tab Amiga CD video codec
481 482
@item Chinese AVS video      @tab  E  @tab  X
    @tab AVS1-P2, JiZhun profile, encoding through external library libxavs
483 484
@item Delphine Software International CIN video  @tab     @tab  X
    @tab Codec used in Delphine Software International games.
Kostya Shishkov's avatar
Kostya Shishkov committed
485
@item Discworld II BMV Video @tab     @tab  X
Derek Buitenhuis's avatar
Derek Buitenhuis committed
486
@item Canopus Lossless Codec @tab     @tab  X
487
@item Cinepak                @tab     @tab  X
Paul B Mahol's avatar
Paul B Mahol committed
488
@item Cirrus Logic AccuPak   @tab  X  @tab  X
489
    @tab fourcc: CLJR
490
@item Creative YUV (CYUV)    @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
491 492
@item DFA                    @tab     @tab  X
    @tab Codec used in Chronomaster game.
493
@item Dirac                  @tab  E  @tab  E
Diego Biurrun's avatar
Diego Biurrun committed
494
    @tab supported through external library libschroedinger
Peter Ross's avatar
Peter Ross committed
495
@item Deluxe Paint Animation @tab     @tab  X
496 497
@item DNxHD                  @tab   X @tab  X
    @tab aka SMPTE VC3
498
@item Duck TrueMotion 1.0   @tab     @tab  X
499
    @tab fourcc: DUCK
500
@item Duck TrueMotion 2.0    @tab     @tab  X
501
    @tab fourcc: TM20
502
@item DV (Digital Video)     @tab  X  @tab  X
503
@item Dxtory capture format  @tab     @tab  X
504
@item Feeble Files/ScummVM DXA  @tab     @tab  X
505
    @tab Codec originally used in Feeble Files game.
506
@item Electronic Arts CMV video  @tab     @tab  X
507
    @tab Used in NHL 95 game.
Peter Ross's avatar
Peter Ross committed
508
@item Electronic Arts Madcow video  @tab     @tab  X
509 510 511 512
@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
Eli Friedman's avatar
Eli Friedman committed
513
@item Escape 130             @tab     @tab  X
514
@item FFmpeg video codec #1  @tab  X  @tab  X
515
    @tab experimental lossless codec (fourcc: FFV1)
516
@item Flash Screen Video v1  @tab  X  @tab  X
517
    @tab fourcc: FSV1
518
@item Flash Screen Video v2  @tab     @tab  X
519
@item Flash Video (FLV)      @tab  X  @tab  X
520
    @tab Sorenson H.263 used in Flash
521
@item Forward Uncompressed   @tab     @tab  X
522
@item Fraps                  @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
523 524
@item Go2Webinar             @tab     @tab  X
    @tab fourcc: G2M4
525
@item H.261                  @tab  X  @tab  X
526 527 528
@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
529
    @tab encoding supported through external library libx264
Guillaume Martres's avatar
Guillaume Martres committed
530
@item HEVC                   @tab     @tab  X
531
@item HNM version 4          @tab     @tab  X
532
@item HuffYUV                @tab  X  @tab  X
533
@item HuffYUV FFmpeg variant @tab  X  @tab  X
534
@item IBM Ultimotion         @tab     @tab  X
535
    @tab fourcc: ULTI
536
@item id Cinematic video     @tab     @tab  X
537
    @tab Used in Quake II.
538
@item id RoQ video           @tab  X  @tab  X
539
    @tab Used in Quake III, Jedi Knight 2, other computer games.
Peter Ross's avatar
Peter Ross committed
540
@item IFF ILBM               @tab     @tab  X
Diego Biurrun's avatar
Diego Biurrun committed
541
    @tab IFF interleaved bitmap
Peter Ross's avatar
Peter Ross committed
542 543
@item IFF ByteRun1           @tab     @tab  X
    @tab IFF run length encoded bitmap
544 545
@item Intel H.263            @tab     @tab  X
@item Intel Indeo 2          @tab     @tab  X
546
@item Intel Indeo 3          @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
547
@item Intel Indeo 4          @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
548
@item Intel Indeo 5          @tab     @tab  X
549
@item Interplay C93          @tab     @tab  X
550
    @tab Used in the game Cyberia from Interplay.
551
@item Interplay MVE video    @tab     @tab  X
552
    @tab Used in Interplay .MVE files.
553
@item Karl Morton's video codec  @tab     @tab  X
554
    @tab Codec used in Worms games.
555 556
@item Kega Game Video (KGV1) @tab      @tab  X
    @tab Kega emulator screen capture codec.
557
@item Lagarith               @tab     @tab  X
558 559
@item LCL (LossLess Codec Library) MSZH  @tab     @tab  X
@item LCL (LossLess Codec Library) ZLIB  @tab  E  @tab  E
560 561
@item LOCO                   @tab     @tab  X
@item lossless MJPEG         @tab  X  @tab  X
562 563
@item Microsoft ATC Screen   @tab     @tab  X
    @tab Also known as Microsoft Screen 3.
564 565
@item Microsoft Expression Encoder Screen  @tab     @tab  X
    @tab Also known as Microsoft Titanium Screen 2.
566
@item Microsoft RLE          @tab     @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
567 568
@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
569 570
@item Microsoft Screen 2     @tab     @tab  X
    @tab Also known as Windows Media Video V9 Screen.
571
@item Microsoft Video 1      @tab     @tab  X
572
@item Mimic                  @tab     @tab  X
573
    @tab Used in MSN Messenger Webcam streams.
574
@item Miro VideoXL           @tab     @tab  X
575
    @tab fourcc: VIXL
576
@item MJPEG (Motion JPEG)    @tab  X  @tab  X
anatoly's avatar
anatoly committed
577
@item Mobotix MxPEG video    @tab     @tab  X
578 579 580 581
@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
582
    @tab libxvidcore can be used alternatively for encoding.
583
@item MPEG-4 part 2 Microsoft variant version 1  @tab     @tab  X
584 585
@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
586
@item Nintendo Gamecube THP video  @tab     @tab  X
587 588
@item NuppelVideo/RTjpeg     @tab     @tab  X
    @tab Video encoding used in NuppelVideo files.
589
@item On2 VP3                @tab     @tab  X
590
    @tab still experimental
591
@item On2 VP5                @tab     @tab  X
592
    @tab fourcc: VP50
593
@item On2 VP6                @tab     @tab  X
594
    @tab fourcc: VP60,VP61,VP62
David Conrad's avatar
David Conrad committed
595 596
@item VP8                    @tab  E  @tab  X
    @tab fourcc: VP80, encoding supported through external library libvpx
Ronald S. Bultje's avatar
Ronald S. Bultje committed
597 598
@item VP9                    @tab  E  @tab  X
    @tab Encoding supported through external library libvpx
599
@item planar RGB             @tab     @tab  X
600
    @tab fourcc: 8BPS
601
@item Q-team QPEG            @tab     @tab  X
602
    @tab fourccs: QPEG, Q1.0, Q1.1
603
@item QuickTime 8BPS video   @tab     @tab  X
604 605 606 607 608 609
@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
Zhou Zongyi's avatar
Zhou Zongyi committed
610
@item R10K AJA Kona 10-bit RGB Codec     @tab     @tab  X
611
@item R210 Quicktime Uncompressed RGB 10-bit     @tab     @tab  X
612
@item Raw Video              @tab  X  @tab  X
613 614
@item RealVideo 1.0          @tab  X  @tab  X
@item RealVideo 2.0          @tab  X  @tab  X
Kostya Shishkov's avatar
Kostya Shishkov committed
615 616
@item RealVideo 3.0          @tab     @tab  X
    @tab still far from ideal
Kostya Shishkov's avatar
Kostya Shishkov committed
617
@item RealVideo 4.0          @tab     @tab  X
618
@item Renderware TXD (TeXture Dictionary)  @tab     @tab  X
619
    @tab Texture dictionaries used by the Renderware Engine.
620 621
@item RL2 video              @tab     @tab  X
    @tab used in some games by Entertainment Software Partners
622 623
@item Sierra VMD video       @tab     @tab  X
    @tab Used in Sierra VMD files.
624
@item Smacker video          @tab     @tab  X
625
    @tab Video encoding used in Smacker.
626
@item SMPTE VC-1             @tab     @tab  X
627
@item Sony PlayStation MDEC (Motion DECoder)  @tab     @tab  X
628
@item Sorenson Vector Quantizer 1  @tab  X  @tab  X
629
    @tab fourcc: SVQ1
630
@item Sorenson Vector Quantizer 3  @tab     @tab  X
631
    @tab fourcc: SVQ3
632
@item Sunplus JPEG (SP5X)    @tab     @tab  X
633
    @tab fourcc: SP5X
634
@item TechSmith Screen Capture Codec  @tab     @tab  X
635
    @tab fourcc: TSCC
636 637
@item TechSmith Screen Capture Codec 2  @tab     @tab  X
    @tab fourcc: TSC2
638
@item Theora                 @tab  E  @tab  X
639
    @tab encoding supported through external library libtheora
640
@item Tiertex Limited SEQ video  @tab     @tab  X
641
    @tab Codec used in DOS CD-ROM FlashBack game.
Jan Ekström's avatar
Jan Ekström committed
642
@item Ut Video               @tab  X  @tab  X
Derek Buitenhuis's avatar
Derek Buitenhuis committed
643 644
@item v210 QuickTime uncompressed 4:2:2 10-bit     @tab  X  @tab  X
@item v410 QuickTime uncompressed 4:4:4 10-bit     @tab  X  @tab  X
Derek Buitenhuis's avatar
Derek Buitenhuis committed
645
@item VBLE Lossless Codec    @tab     @tab  X
646
@item VMware Screen Codec / VMware Video  @tab     @tab  X
647
    @tab Codec used in videos captured by VMware.
648
@item Westwood Studios VQA (Vector Quantized Animation) video  @tab     @tab  X
649
@item Windows Media Image    @tab     @tab  X
650
@item Windows Media Video 7  @tab  X  @tab  X
651
@item Windows Media Video 8  @tab  X  @tab  X
652 653
@item Windows Media Video 9  @tab     @tab  X
    @tab not completely working
654 655
@item Wing Commander III / Xan  @tab     @tab  X
    @tab Used in Wing Commander III .MVE files.
Kostya Shishkov's avatar
Kostya Shishkov committed
656 657
@item Wing Commander IV / Xan  @tab     @tab  X
    @tab Used in Wing Commander IV.
658 659
@item Winnov WNV1            @tab     @tab  X
@item WMV7                   @tab  X  @tab  X
660
@item YAMAHA SMAF            @tab  X  @tab  X
661
@item Psygnosis YOP Video    @tab     @tab  X
662
@item ZLIB                   @tab  X  @tab  X
663
    @tab part of LCL, encoder experimental
664
@item Zip Motion Blocks Video  @tab   X @tab  X
665
    @tab Encoder works only in PAL8.
666 667 668 669
@end multitable

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

670 671
@code{E} means that support is provided through an external library.

672 673
@section Audio Codecs

674
@multitable @columnfractions .4 .1 .1 .4
675
@item Name @tab Encoding @tab Decoding @tab Comments
676
@item 8SVX audio             @tab     @tab  X
677
@item AAC                    @tab  E  @tab  X
678
    @tab encoding supported through external library libfaac and libvo-aacenc
Justin Ruggles's avatar
Justin Ruggles committed
679
@item AC-3                   @tab IX  @tab  X
680 681 682 683 684 685 686 687 688 689 690 691
@item ADPCM 4X Movie         @tab     @tab  X
@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
692
@item ADPCM G.722            @tab  X  @tab  X
693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723
@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.
@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.
@item ADPCM Microsoft        @tab  X  @tab  X
@item ADPCM MS IMA           @tab  X  @tab  X
@item ADPCM Nintendo Gamecube THP  @tab     @tab  X
@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 SMJPEG IMA       @tab     @tab  X
    @tab Used in certain Loki game ports.
@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
@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
724
@item AMR-NB                 @tab  E  @tab  X
725
    @tab encoding supported through external library libopencore-amrnb
726 727
@item AMR-WB                 @tab  E  @tab  X
    @tab encoding supported through external library libvo-amrwbenc
728
@item Apple lossless audio   @tab  X  @tab  X
729
    @tab QuickTime fourcc 'alac'
730 731
@item ATRAC1                 @tab     @tab  X
@item ATRAC3                 @tab     @tab  X
Peter Ross's avatar
Peter Ross committed
732 733
@item Bink Audio             @tab     @tab  X
    @tab Used in Bink and Smacker files in many games.
734
@item Delphine Software International CIN audio  @tab     @tab  X
735
    @tab Codec used in Delphine Software International games.
Kostya Shishkov's avatar
Kostya Shishkov committed
736
@item Discworld II BMV Audio @tab     @tab  X
737 738 739
@item COOK                   @tab     @tab  X
    @tab All versions except 5.1 are supported.
@item DCA (DTS Coherent Acoustics)  @tab     @tab  X
740 741 742 743 744 745 746 747
@item DPCM id RoQ            @tab  X  @tab  X
    @tab Used in Quake III, Jedi Knight 2, other computer games.
@item DPCM Interplay         @tab     @tab  X
    @tab Used in various Interplay computer games.
@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
748
    @tab Used in Origin's Wing Commander IV AVI files.
749 750
@item DSP Group TrueSpeech   @tab     @tab  X
@item DV audio               @tab     @tab  X
751
@item Enhanced AC-3          @tab  X  @tab  X
752
@item FLAC (Free Lossless Audio Codec)  @tab  X  @tab  IX
753
@item G.723.1                @tab     @tab  X
754 755 756 757
@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
758
@item IAC (Indeo Audio Coder)  @tab     @tab  X
759 760
@item iLBC (Internet Low Bitrate Codec) @tab  E  @tab  E
    @tab encoding and decoding supported through external library libilbc
761 762 763
@item IMC (Intel Music Coder)  @tab     @tab  X
@item MACE (Macintosh Audio Compression/Expansion) 3:1  @tab     @tab  X
@item MACE (Macintosh Audio Compression/Expansion) 6:1  @tab     @tab  X
Ramiro Polla's avatar
Ramiro Polla committed
764 765
@item MLP (Meridian Lossless Packing)  @tab     @tab  X
    @tab Used in DVD-Audio discs.
766
@item Monkey's Audio         @tab     @tab  X
767
    @tab Only versions 3.97-3.99 are supported.
768 769 770 771
@item MP1 (MPEG audio layer 1)  @tab     @tab IX
@item MP2 (MPEG audio layer 2)  @tab IX  @tab IX
@item MP3 (MPEG audio layer 3)  @tab  E  @tab IX
    @tab encoding supported through external library LAME, ADU MP3 and MP3onMP4 also supported