Supported File Formats and Codecs
The information below is based on the documentation from FFMpeg, please let us know if have any problem with the list.
File Formats
FFmpeg supports the following file formats through
the libavformat
library:
|
Supported File Format
|
Encoding
|
Decoding
|
Comments
|
|
MPEG audio
|
X
|
X
|
|
|
MPEG-1 systems
|
X
|
X
|
muxed audio and video
|
|
MPEG-2 PS
|
X
|
X
|
also known as VOB file
|
|
MPEG-2 TS
|
|
X
|
also known as DVB Transport Stream
|
|
ASF
|
X
|
X
|
|
|
AVI
|
X
|
X
|
|
|
WAV
|
X
|
X
|
|
|
Macromedia Flash
|
X
|
X
|
Only embedded audio is decoded.
|
|
FLV
|
X
|
X
|
Macromedia Flash video files
|
|
Real Audio and Video
|
X
|
X
|
|
|
Raw AC3
|
X
|
X
|
|
|
Raw MJPEG
|
X
|
X
|
|
|
Raw MPEG video
|
X
|
X
|
|
|
Raw PCM8/16 bits, mulaw/Alaw
|
X
|
X
|
|
|
Raw CRI ADX audio
|
X
|
X
|
|
|
Raw Shorten audio
|
|
X
|
|
|
SUN AU format
|
X
|
X
|
|
|
NUT
|
X
|
X
|
NUT Open Container Format
|
|
QuickTime
|
X
|
X
|
|
|
MPEG-4
|
X
|
X
|
MPEG-4 is a variant of QuickTime.
|
|
Raw MPEG4 video
|
X
|
X
|
|
|
DV
|
X
|
X
|
|
|
4xm
|
|
X
|
4X Technologies format, used in some games.
|
|
Playstation STR
|
|
X
|
|
|
Id RoQ
|
|
X
|
Used in Quake III, Jedi Knight 2, other computer
games.
|
|
Interplay MVE
|
|
X
|
Format used in various Interplay computer games.
|
|
WC3 Movie
|
|
X
|
Multimedia format used in Origin's Wing Commander III computer game.
|
|
Sega FILM/CPK
|
|
X
|
Used in many Sega Saturn console games.
|
|
Westwood Studios VQA/AUD
|
|
X
|
Multimedia formats used in Westwood Studios games.
|
|
Id Cinematic (.cin)
|
|
X
|
Used in Quake II.
|
|
FLIC format
|
|
X
|
.fli/.flc files
|
|
Sierra VMD
|
|
X
|
Used in Sierra CD-ROM games.
|
|
Sierra Online
|
|
X
|
.sol files used in Sierra Online games.
|
|
Matroska
|
|
X
|
|
|
Electronic Arts Multimedia
|
|
X
|
Used in various EA games; files have extensions like WVE and UV2.
|
|
Nullsoft Video (NSV) format
|
|
X
|
|
|
ADTS AAC audio
|
X
|
X
|
|
|
Creative VOC
|
X
|
X
|
Created for the Sound Blaster Pro.
|
|
American Laser Games MM
|
|
X
|
Multimedia format used in games like Mad Dog McCree
|
|
AVS
|
|
X
|
Multimedia format used by the Creature Shock game.
|
|
Smacker
|
|
X
|
Multimedia format used by many games.
|
|
GXF
|
X
|
X
|
General eXchange Format SMPTE 360M, used by Thomson Grass Valley
playout servers.
|
|
CIN
|
|
X
|
Multimedia format used by Delphine Software
games.
|
|
MXF
|
|
X
|
Material eXchange Format SMPTE 377M, used by
D-Cinema, broadcast industry.
|
|
SEQ
|
|
X
|
Tiertex .seq files
used in the DOS CDROM version of the game Flashback.
|
X means
that encoding (resp. decoding) is supported.
Image Formats
FFmpeg can read and write images for each frame of
a video sequence. The following image formats are supported:
|
Supported Image Format
|
Encoding
|
Decoding
|
Comments
|
|
PGM, PPM
|
X
|
X
|
|
|
PAM
|
X
|
X
|
PAM is a PNM extension with alpha support.
|
|
PGMYUV
|
X
|
X
|
PGM with U and V components in YUV 4:2:0
|
|
JPEG
|
X
|
X
|
Progressive JPEG is not supported.
|
|
.Y.U.V
|
X
|
X
|
one raw file per component
|
|
animated GIF
|
X
|
X
|
Only uncompressed GIFs are generated.
|
|
PNG
|
X
|
X
|
2 bit and 4 bit/pixel not supported yet.
|
|
Targa
|
|
X
|
Targa (.TGA) image format.
|
|
TIFF
|
|
X
|
Only 24 bit/pixel images are supported.
|
|
SGI
|
X
|
X
|
SGI RGB image format
|
X means
that encoding (resp. decoding) is supported.
Video Codecs
|
Supported Codec
|
Encoding
|
Decoding
|
Comments
|
|
MPEG-1 video
|
X
|
X
|
|
|
MPEG-2 video
|
X
|
X
|
|
|
MPEG-4
|
X
|
X
|
|
|
MSMPEG4 V1
|
X
|
X
|
|
|
MSMPEG4 V2
|
X
|
X
|
|
|
MSMPEG4 V3
|
X
|
X
|
|
|
WMV7
|
X
|
X
|
|
|
WMV8
|
X
|
X
|
not completely working
|
|
WMV9
|
|
X
|
not completely working
|
|
VC1
|
|
X
|
|
|
H.261
|
X
|
X
|
|
|
H.263(+)
|
X
|
X
|
also known as RealVideo 1.0
|
|
H.264
|
|
X
|
|
|
RealVideo 1.0
|
X
|
X
|
|
|
RealVideo 2.0
|
X
|
X
|
|
|
MJPEG
|
X
|
X
|
|
|
lossless MJPEG
|
X
|
X
|
|
|
JPEG-LS
|
X
|
X
|
fourcc: MJLS, lossless and near-lossless is
supported
|
|
Apple MJPEG-B
|
|
X
|
|
|
Sunplus MJPEG
|
|
X
|
fourcc: SP5X
|
|
DV
|
X
|
X
|
|
|
HuffYUV
|
X
|
X
|
|
|
FFmpeg Video 1
|
X
|
X
|
experimental lossless codec (fourcc: FFV1)
|
|
FFmpeg Snow
|
X
|
X
|
experimental wavelet codec (fourcc: SNOW)
|
|
Asus v1
|
X
|
X
|
fourcc: ASV1
|
|
Asus v2
|
X
|
X
|
fourcc: ASV2
|
|
Creative YUV
|
|
X
|
fourcc: CYUV
|
|
Sorenson Video 1
|
X
|
X
|
fourcc: SVQ1
|
|
Sorenson Video 3
|
|
X
|
fourcc: SVQ3
|
|
On2 VP3
|
|
X
|
still experimental
|
|
On2 VP5
|
|
X
|
fourcc: VP50
|
|
On2 VP6
|
|
X
|
fourcc: VP62
|
|
Theora
|
|
X
|
still experimental
|
|
Intel Indeo 3
|
|
X
|
|
|
FLV
|
X
|
X
|
Sorenson H.263 used in Flash
|
|
Flash Screen Video
|
|
X
|
fourcc: FSV1
|
|
ATI VCR1
|
|
X
|
fourcc: VCR1
|
|
ATI VCR2
|
|
X
|
fourcc: VCR2
|
|
Cirrus Logic AccuPak
|
|
X
|
fourcc: CLJR
|
|
4X Video
|
|
X
|
Used in certain computer games.
|
|
Sony Playstation MDEC
|
|
X
|
|
|
Id RoQ
|
|
X
|
Used in Quake III, Jedi Knight 2, other computer
games.
|
|
Xan/WC3
|
|
X
|
Used in Wing Commander III .MVE files.
|
|
Interplay Video
|
|
X
|
Used in Interplay .MVE files.
|
|
Apple Animation
|
|
X
|
fourcc: 'rle '
|
|
Apple Graphics
|
|
X
|
fourcc: 'smc '
|
|
Apple Video
|
|
X
|
fourcc: rpza
|
|
Apple QuickDraw
|
|
X
|
fourcc: qdrw
|
|
Cinepak
|
|
X
|
|
|
Microsoft RLE
|
|
X
|
|
|
Microsoft Video-1
|
|
X
|
|
|
Westwood VQA
|
|
X
|
|
|
Id Cinematic Video
|
|
X
|
Used in Quake II.
|
|
Planar RGB
|
|
X
|
fourcc: 8BPS
|
|
FLIC video
|
|
X
|
|
|
Duck TrueMotion v1
|
|
X
|
fourcc: DUCK
|
|
Duck TrueMotion v2
|
|
X
|
fourcc: TM20
|
|
VMD Video
|
|
X
|
Used in Sierra VMD files.
|
|
MSZH
|
|
X
|
Part of LCL
|
|
ZLIB
|
X
|
X
|
Part of LCL, encoder experimental
|
|
TechSmith Camtasia
|
|
X
|
fourcc: TSCC
|
|
IBM Ultimotion
|
|
X
|
fourcc: ULTI
|
|
Miro VideoXL
|
|
X
|
fourcc: VIXL
|
|
QPEG
|
|
X
|
fourccs: QPEG, Q1.0, Q1.1
|
|
LOCO
|
|
X
|
|
|
Winnov WNV1
|
|
X
|
|
|
Autodesk Animator Studio Codec
|
|
X
|
fourcc: AASC
|
|
Fraps FPS1
|
|
X
|
|
|
CamStudio
|
|
X
|
fourcc: CSCD
|
|
American Laser Games Video
|
|
X
|
Used in games like Mad Dog McCree
|
|
ZMBV
|
|
X
|
|
|
AVS Video
|
|
X
|
Video encoding used by the Creature Shock game.
|
|
Smacker Video
|
|
X
|
Video encoding used in Smacker.
|
|
RTjpeg
|
|
X
|
Video encoding used in NuppelVideo files.
|
|
KMVC
|
|
X
|
Codec used in Worms
games.
|
|
VMware Video
|
|
X
|
Codec used in videos captured by VMware.
|
|
Cin Video
|
|
X
|
Codec used in Delphine Software games.
|
|
Tiertex Seq Video
|
|
X
|
Codec used in DOS CDROM FlashBack game.
|
X means
that encoding (resp. decoding) is supported.
Audio Codecs
|
Supported Codec
|
Encoding
|
Decoding
|
Comments
|
|
MPEG audio layer 2
|
IX
|
IX
|
|
|
MPEG audio layer 1/3
|
IX
|
IX
|
MP3 encoding is supported through the external library LAME.
|
|
AC3
|
IX
|
IX
|
liba52 is used internally for decoding.
|
|
Vorbis
|
X
|
X
|
|
|
WMA V1/V2
|
|
X
|
|
|
AAC
|
X
|
X
|
Supported through the external library libfaac/libfaad.
|
|
Microsoft ADPCM
|
X
|
X
|
|
|
MS IMA ADPCM
|
X
|
X
|
|
|
QT IMA ADPCM
|
|
X
|
|
|
4X IMA ADPCM
|
|
X
|
|
|
G.726 ADPCM
|
X
|
X
|
|
|
Duck DK3 IMA ADPCM
|
|
X
|
Used in some Sega Saturn console games.
|
|
Duck DK4 IMA ADPCM
|
|
X
|
Used in some Sega Saturn console games.
|
|
Westwood Studios IMA ADPCM
|
|
X
|
Used in Westwood Studios games like Command and Conquer.
|
|
SMJPEG IMA ADPCM
|
|
X
|
Used in certain Loki game ports.
|
|
CD-ROM XA ADPCM
|
|
X
|
|
|
CRI ADX ADPCM
|
X
|
X
|
Used in Sega Dreamcast games.
|
|
Electronic Arts ADPCM
|
|
X
|
Used in various EA titles.
|
|
Creative ADPCM
|
|
X
|
16 -> 4, 8 -> 4, 8 -> 3, 8 -> 2
|
|
RA144
|
|
X
|
Real 14400 bit/s codec
|
|
RA288
|
|
X
|
Real 28800 bit/s codec
|
|
RADnet
|
X
|
IX
|
Real low bitrate AC3 codec, liba52 is used for
decoding.
|
|
AMR-NB
|
X
|
X
|
Supported through an external library.
|
|
AMR-WB
|
X
|
X
|
Supported through an external library.
|
|
DV audio
|
|
X
|
|
|
Id RoQ DPCM
|
|
X
|
Used in Quake III, Jedi Knight 2, other computer
games.
|
|
Interplay MVE DPCM
|
|
X
|
Used in various Interplay computer games.
|
|
Xan DPCM
|
|
X
|
Used in Origin's Wing Commander IV AVI files.
|
|
Sierra Online DPCM
|
|
X
|
Used in Sierra Online game audio files.
|
|
Apple MACE 3
|
|
X
|
|
|
Apple MACE 6
|
|
X
|
|
|
FLAC lossless audio
|
|
X
|
|
|
Shorten lossless audio
|
|
X
|
|
|
Apple lossless audio
|
|
X
|
QuickTime fourcc 'alac'
|
|
FFmpeg Sonic
|
X
|
X
|
experimental lossy/lossless codec
|
|
Qdesign QDM2
|
|
X
|
there are still some distortions
|
|
Real COOK
|
|
X
|
All versions except 5.1 are supported
|
|
DSP Group TrueSpeech
|
|
X
|
|
|
True Audio (TTA)
|
|
X
|
|
|
Smacker Audio
|
|
X
|
|
|
WavPack Audio
|
|
X
|
|
|
Cin Audio
|
|
X
|
Codec used in Delphine Software games.
|
|
Intel Music Coder
|
|
X
|
|
X means
that encoding (resp. decoding) is supported.
|