general.texi 35.5 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 and VisualOn 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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
@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.

@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.

@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

88

89 90 91

@chapter Supported File Formats and Codecs

Daniel Verkamp's avatar
Daniel Verkamp committed
92
You can use the @code{-formats} and @code{-codecs} options to have an exhaustive list.
93 94 95

@section File Formats

96
Libav supports the following file formats through the @code{libavformat}
97 98 99
library:

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

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

@section Image Formats

340
Libav can read and write images for each frame of a video sequence. The
341 342 343
following image formats are supported:

@multitable @columnfractions .4 .1 .1 .4
344
@item Name @tab Encoding @tab Decoding @tab Comments
345 346 347 348
@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.
349 350
@item BMP          @tab X @tab X
    @tab Microsoft BMP image
Peter Ross's avatar
Peter Ross committed
351
@item DPX          @tab X @tab X
352
    @tab Digital Picture Exchange
353 354 355 356
@item JPEG         @tab X @tab X
    @tab Progressive JPEG is not supported.
@item JPEG 2000    @tab   @tab E
    @tab decoding supported through external library libopenjpeg
357 358 359
@item JPEG-LS      @tab X @tab X
@item LJPEG        @tab X @tab
    @tab Lossless JPEG
360
@item PAM          @tab X @tab X
361
    @tab PAM is a PNM extension with alpha support.
362
@item PBM          @tab X @tab X
363
    @tab Portable BitMap image
364
@item PCX          @tab X @tab X
365
    @tab PC Paintbrush
366
@item PGM          @tab X @tab X
367
    @tab Portable GrayMap image
368
@item PGMYUV       @tab X @tab X
369
    @tab PGM with U and V components in YUV 4:2:0
Peter Ross's avatar
Peter Ross committed
370 371
@item PIC          @tab @tab X
    @tab Pictor/PC Paint
372 373
@item PNG          @tab X @tab X
    @tab 2/4 bpp not supported yet
374
@item PPM          @tab X @tab X
375
    @tab Portable PixelMap image
376 377 378 379
@item PTX          @tab   @tab X
    @tab V.Flash PTX format
@item SGI          @tab X @tab X
    @tab SGI RGB image format
380
@item Sun Rasterfile  @tab X @tab X
381
    @tab Sun RAS image format
382 383
@item TIFF         @tab X @tab X
    @tab YUV, JPEG and some extension is not supported yet.
384 385
@item Truevision Targa  @tab X @tab X
    @tab Targa (.TGA) image format
Paul B Mahol's avatar
Paul B Mahol committed
386 387
@item XBM  @tab X @tab
    @tab X BitMap image format
Paul B Mahol's avatar
Paul B Mahol committed
388 389
@item XWD  @tab X @tab X
    @tab X Window Dump image format
390 391 392 393
@end multitable

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

394 395
@code{E} means that support is provided through an external library.

396 397 398
@section Video Codecs

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

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

622 623
@code{E} means that support is provided through an external library.

624 625
@section Audio Codecs

626
@multitable @columnfractions .4 .1 .1 .4
627
@item Name @tab Encoding @tab Decoding @tab Comments
628
@item 8SVX audio             @tab     @tab  X
629
@item AAC                    @tab  E  @tab  X
630
    @tab encoding supported through external library libfaac and libvo-aacenc
Justin Ruggles's avatar
Justin Ruggles committed
631
@item AC-3                   @tab IX  @tab  X
632 633 634 635 636 637 638 639 640 641 642 643
@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
644
@item ADPCM G.722            @tab  X  @tab  X
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675
@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
676
@item AMR-NB                 @tab  E  @tab  X
677
    @tab encoding supported through external library libopencore-amrnb
678 679
@item AMR-WB                 @tab  E  @tab  X
    @tab encoding supported through external library libvo-amrwbenc
680
@item Apple lossless audio   @tab  X  @tab  X
681
    @tab QuickTime fourcc 'alac'
682
@item Atrac 1                @tab     @tab  X
683
@item Atrac 3                @tab     @tab  X
Peter Ross's avatar
Peter Ross committed
684 685
@item Bink Audio             @tab     @tab  X
    @tab Used in Bink and Smacker files in many games.
686
@item Delphine Software International CIN audio  @tab     @tab  X
687
    @tab Codec used in Delphine Software International games.
Kostya Shishkov's avatar
Kostya Shishkov committed
688
@item Discworld II BMV Audio @tab     @tab  X
689 690 691
@item COOK                   @tab     @tab  X
    @tab All versions except 5.1 are supported.
@item DCA (DTS Coherent Acoustics)  @tab     @tab  X
692 693 694 695 696 697 698 699
@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
700
    @tab Used in Origin's Wing Commander IV AVI files.
701 702
@item DSP Group TrueSpeech   @tab     @tab  X
@item DV audio               @tab     @tab  X
703
@item Enhanced AC-3          @tab  X  @tab  X
704
@item FLAC (Free Lossless Audio Codec)  @tab  X  @tab  IX
705 706 707 708
@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
709 710 711
@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
712 713
@item MLP (Meridian Lossless Packing)  @tab     @tab  X
    @tab Used in DVD-Audio discs.
714
@item Monkey's Audio         @tab     @tab  X
715
    @tab Only versions 3.97-3.99 are supported.
716 717 718 719
@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
720
@item MPEG-4 Audio Lossless Coding (ALS)  @tab     @tab  X
721 722
@item Musepack SV7           @tab     @tab  X
@item Musepack SV8           @tab     @tab  X
723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738
@item Nellymoser Asao        @tab  X  @tab  X
@item PCM A-law              @tab  X  @tab  X
@item PCM mu-law             @tab  X  @tab  X
@item PCM 16-bit little-endian planar  @tab     @tab  X
@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
739
@item PCM signed 16/20/24-bit big-endian in MPEG-TS  @tab     @tab  X
740 741 742 743 744 745 746
@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
747
@item PCM Zork               @tab     @tab  X
748
@item QCELP / PureVoice      @tab     @tab  X
749
@item QDesign Music Codec 2  @tab     @tab  X
750
    @tab There are still some distortions.
Francesco Lavra's avatar
Francesco Lavra committed
751
@item RealAudio 1.0 (14.4K)  @tab  X  @tab  X
752
    @tab Real 14400 bit/s codec
753
@item RealAudio 2.0 (28.8K)  @tab     @tab  X
754
    @tab Real 28800 bit/s codec
755
@item RealAudio 3.0 (dnet)   @tab IX  @tab  X
Justin Ruggles's avatar
Justin Ruggles committed
756
    @tab Real low bitrate AC-3 codec
Kostya Shishkov's avatar
Kostya Shishkov committed
757
@item RealAudio Lossless     @tab     @tab  X
758
@item RealAudio SIPR / ACELP.NET @tab     @tab  X
759
@item Shorten                @tab     @tab  X
760 761
@item Sierra VMD audio       @tab     @tab  X
    @tab Used in Sierra VMD files.
762
@item Smacker audio          @tab     @tab  X
763
@item SMPTE 302M AES3 audio  @tab     @tab  X
764
@item Speex                  @tab  E  @tab  E
765
    @tab supported through external library libspeex
766
@item True Audio (TTA)       @tab     @tab  X
Ramiro Polla's avatar
Ramiro Polla committed