@hai046
2016-10-11T03:36:47.000000Z
字数 24563
阅读 1390
安装ffmpeg 需要安装libx264
./configure --prefix="HOME/ffmpeg_build/include" --extra-ldflags="-LHOME/bin" --pkg-config-flags="--static" --enable-libx264 --enable-gpl
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
https://github.com/WritingMinds/ffmpeg-android
install prefix /data/SMB_SHARE/Software/ffmpeg-android/build/armeabi-v7a
source path .
C compiler /data/SMB_SHARE/Software/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc
C library bionic
host C compiler gcc
host C library glibc
ARCH arm (cortex-a8)
big-endian no
runtime cpu detection yes
ARMv5TE enabled yes
ARMv6 enabled yes
ARMv6T2 enabled yes
VFP enabled yes
NEON enabled yes
THUMB enabled no
debug symbols no
strip symbols yes
optimize for size no
optimizations yes
static yes
shared no
postprocessing support yes
new filter support yes
network support yes
threading support pthreads
safe bitstream reader yes
SDL support no
opencl enabled no
texi2html enabled no
perl enabled yes
pod2man enabled yes
makeinfo enabled no
makeinfo supports HTML no
Enabled programs:
ffmpeg
External libraries:
libfribidi libmp3lame libx264 zlib
Enabled decoders:
aac ass dxv jpeg2000 pbm roq_dpcm v210x
aac_fixed asv1 eac3 jpegls pcm_alaw rpza v308
aac_latm asv2 eacmv jv pcm_bluray rscc v408
aasc atrac1 eamad kgv1 pcm_dvd rv10 v410
ac3 atrac3 eatgq kmvc pcm_f32be rv20 vb
ac3_fixed atrac3p eatgv lagarith pcm_f32le rv30 vble
adpcm_4xm aura eatqi loco pcm_f64be rv40 vc1
adpcm_adx aura2 eightbps mace3 pcm_f64le s302m vc1image
adpcm_afc avrn eightsvx_exp mace6 pcm_lxf sami vcr1
adpcm_aica avrp eightsvx_fib mdec pcm_mulaw sanm vmdaudio
adpcm_ct avs escape124 metasound pcm_s16be screenpresso vmdvideo
adpcm_dtk avui escape130 microdvd pcm_s16be_planar sdx2_dpcm vmnc
adpcm_ea ayuv evrc mimic pcm_s16le sgi vorbis
adpcm_ea_maxis_xa bethsoftvid exr mjpeg pcm_s16le_planar sgirle vp3
adpcm_ea_r1 bfi ffv1 mjpegb pcm_s24be shorten vp5
adpcm_ea_r2 bink ffvhuff mlp pcm_s24daud sipr vp6
adpcm_ea_r3 binkaudio_dct ffwavesynth mmvideo pcm_s24le smackaud vp6a
adpcm_ea_xas binkaudio_rdft fic motionpixels pcm_s24le_planar smacker vp6f
adpcm_g722 bintext flac movtext pcm_s32be smc vp7
adpcm_g726 bmp flashsv mp1 pcm_s32le smvjpeg vp8
adpcm_g726le bmv_audio flashsv2 mp1float pcm_s32le_planar snow vp9
adpcm_ima_amv bmv_video flic mp2 pcm_s8 sol_dpcm vplayer
adpcm_ima_apc brender_pix flv mp2float pcm_s8_planar sonic vqa
adpcm_ima_dk3 c93 fourxm mp3 pcm_u16be sp5x wavpack
adpcm_ima_dk4 cavs fraps mp3adu pcm_u16le srt webp
adpcm_ima_ea_eacs ccaption frwu mp3adufloat pcm_u24be ssa webvtt
adpcm_ima_ea_sead cdgraphics g2m mp3float pcm_u24le stl wmalossless
adpcm_ima_iss cdxl g723_1 mp3on4 pcm_u32be subrip wmapro
adpcm_ima_oki cfhd g729 mp3on4float pcm_u32le subviewer wmav1
adpcm_ima_qt cinepak gif mpc7 pcm_u8 subviewer1 wmav2
adpcm_ima_rad cljr gsm mpc8 pcm_zork sunrast wmavoice
adpcm_ima_smjpeg cllc gsm_ms mpeg1video pcx svq1 wmv1
adpcm_ima_wav comfortnoise h261 mpeg2video pgm svq3 wmv2
adpcm_ima_ws cook h263 mpeg4 pgmyuv tak wmv3
adpcm_ms cpia h263i mpegvideo pgssub targa wmv3image
adpcm_psx cscd h263p mpl2 pictor targa_y216 wnv1
adpcm_sbpro_2 cyuv h264 msa1 pjs tdsc ws_snd1
adpcm_sbpro_3 dca hap msmpeg4v1 png text xan_dpcm
adpcm_sbpro_4 dds hevc msmpeg4v2 ppm theora xan_wc3
adpcm_swf dfa hnm4_video msmpeg4v3 prores thp xan_wc4
adpcm_thp dirac hq_hqa msrle prores_lgpl tiertexseqvideo xbin
adpcm_thp_le dnxhd hqx mss1 ptx tiff xbm
adpcm_vima dpx huffyuv mss2 qcelp tmv xface
adpcm_xa dsd_lsbf iac msvideo1 qdm2 truehd xl
adpcm_yamaha dsd_lsbf_planar idcin mszh qdraw truemotion1 xma1
aic dsd_msbf idf mts2 qpeg truemotion2 xma2
alac dsd_msbf_planar iff_ilbm mvc1 qtrle truespeech xsub
alias_pix dsicinaudio imc mvc2 r10k tscc xwd
als dsicinvideo indeo2 mxpeg r210 tscc2 y41p
amrnb dss_sp indeo3 nellymoser ra_144 tta yop
amrwb dvaudio indeo4 nuv ra_288 twinvq yuv4
amv dvbsub indeo5 on2avc ralf txd zero12v
anm dvdsub interplay_acm opus rawvideo ulti zerocodec
ansi dvvideo interplay_dpcm paf_audio realtext utvideo zlib
ape dxa interplay_video paf_video rl2 v210 zmbv
apng dxtory jacosub pam roq
Enabled encoders:
a64multi avui h261 pam pcm_u16be roq v308
a64multi5 ayuv h263 pbm pcm_u16le roq_dpcm v408
aac bmp h263p pcm_alaw pcm_u24be rv10 v410
ac3 cinepak huffyuv pcm_f32be pcm_u24le rv20 vc2
ac3_fixed cljr jpeg2000 pcm_f32le pcm_u32be s302m vorbis
adpcm_adx comfortnoise jpegls pcm_f64be pcm_u32le sgi wavpack
adpcm_g722 dca libmp3lame pcm_f64le pcm_u8 snow webvtt
adpcm_g726 dnxhd libx264 pcm_mulaw pcx sonic wmav1
adpcm_ima_qt dpx libx264rgb pcm_s16be pgm sonic_ls wmav2
adpcm_ima_wav dvbsub ljpeg pcm_s16be_planar pgmyuv srt wmv1
adpcm_ms dvdsub mjpeg pcm_s16le png ssa wmv2
adpcm_swf dvvideo movtext pcm_s16le_planar ppm subrip wrapped_avframe
adpcm_yamaha eac3 mp2 pcm_s24be prores sunrast xbm
alac ffv1 mp2fixed pcm_s24daud prores_aw svq1 xface
alias_pix ffvhuff mpeg1video pcm_s24le prores_ks targa xsub
amv flac mpeg2video pcm_s24le_planar qtrle text xwd
apng flashsv mpeg4 pcm_s32be r10k tiff y41p
ass flashsv2 msmpeg4v2 pcm_s32le r210 tta yuv4
asv1 flv msmpeg4v3 pcm_s32le_planar ra_144 utvideo zlib
asv2 g723_1 msvideo1 pcm_s8 rawvideo v210 zmbv
avrp gif nellymoser pcm_s8_planar
Enabled hwaccels:
Enabled parsers:
aac cook dvbsub h261 mlp png vc1
aac_latm dca dvd_nav h263 mpeg4video pnm vorbis
ac3 dirac dvdsub h264 mpegaudio rv30 vp3
adx dnxhd flac hevc mpegvideo rv40 vp8
bmp dpx g729 mjpeg opus tak vp9
cavsvideo dvaudio gsm
Enabled demuxers:
aa cavsvideo gsm ivf mxg realtext threedostr
aac cdg gxf ivr nc redspark tiertexseq
ac3 cdxl h261 jacosub nistsphere rl2 tmv
acm cine h263 jv nsv rm truehd
act concat h264 live_flv nut roq tta
adf data hevc lmlm4 nuv rpl tty
adp daud hls loas ogg rsd txd
ads dcstr hnm lrc oma rso v210
adx dfa ico lvf paf rtp v210x
aea dirac idcin lxf pcm_alaw rtsp vag
afc dnxhd idf m4v pcm_f32be sami vc1
aiff dsf iff matroska pcm_f32le sap vc1t
amr dsicin ilbc mgsts pcm_f64be sbg vivo
anm dss image2 microdvd pcm_f64le sdp vmd
apc dts image2_alias_pix mjpeg pcm_mulaw sdr2 vobsub
ape dtshd image2_brender_pix mlp pcm_s16be segafilm voc
apng dv image2pipe mlv pcm_s16le shorten vpk
aqtitle dvbsub image_bmp_pipe mm pcm_s24be siff vplayer
asf dxa image_dds_pipe mmf pcm_s24le sln vqf
asf_o ea image_dpx_pipe mov pcm_s32be smacker w64
ass ea_cdata image_exr_pipe mp3 pcm_s32le smjpeg wav
ast eac3 image_j2k_pipe mpc pcm_s8 smush wc3
au epaf image_jpeg_pipe mpc8 pcm_u16be sol webm_dash_manifest
avi ffm image_jpegls_pipe mpegps pcm_u16le sox webvtt
avr ffmetadata image_pictor_pipe mpegts pcm_u24be spdif wsaud
avs filmstrip image_png_pipe mpegtsraw pcm_u24le srt wsvqa
bethsoftvid flac image_qdraw_pipe mpegvideo pcm_u32be stl wtv
bfi flic image_sgi_pipe mpjpeg pcm_u32le str wv
bfstm flv image_sunrast_pipe mpl2 pcm_u8 subviewer wve
bink fourxm image_tiff_pipe mpsub pjs subviewer1 xa
bintext frm image_webp_pipe msf pmp sup xbin
bit fsb ingenient msnwc_tcp pva svag xmv
bmv g722 ipmovie mtv pvf swf xvag
boa g723_1 ircam mv qcp tak xwma
brstm g729 iss mvi r3d tedcaptions yop
c93 genh iv8 mxf rawvideo thp yuv4mpegpipe
caf gif
Enabled muxers:
a64 dirac hevc mmf ogg pcm_u32be stream_segment
ac3 dnxhd hls mov oma pcm_u32le swf
adts dts ico mp2 opus pcm_u8 tee
adx dv ilbc mp3 pcm_alaw psp tg2
aiff eac3 image2 mp4 pcm_f32be rawvideo tgp
amr f4v image2pipe mpeg1system pcm_f32le rm truehd
apng ffm ipod mpeg1vcd pcm_f64be roq uncodedframecrc
asf ffmetadata ircam mpeg1video pcm_f64le rso vc1
asf_stream filmstrip ismv mpeg2dvd pcm_mulaw rtp vc1t
ass flac ivf mpeg2svcd pcm_s16be rtp_mpegts voc
ast flv jacosub mpeg2video pcm_s16le rtsp w64
au framecrc latm mpeg2vob pcm_s24be sap wav
avi framemd5 lrc mpegts pcm_s24le segment webm
avm2 g722 m4v mpjpeg pcm_s32be singlejpeg webm_chunk
bit g723_1 matroska mxf pcm_s32le smjpeg webm_dash_manifest
caf gif matroska_audio mxf_d10 pcm_s8 smoothstreaming webp
cavsvideo gxf md5 mxf_opatom pcm_u16be sox webvtt
crc h261 microdvd null pcm_u16le spdif wtv
dash h263 mjpeg nut pcm_u24be spx wv
data h264 mkvtimestamp_v2 oga pcm_u24le srt yuv4mpegpipe
daud hds mlp
Enabled protocols:
async data gopher icecast pipe srtp udp
cache ffrtmphttp hls md5 rtmp subfile udplite
concat file http mmsh rtmpt tcp unix
crypto ftp httpproxy mmst rtp
Enabled filters:
acompressor areverse compand fieldmatch mandelbrot reverse split
acrossfade aselect compensationdelay fieldorder maskedmerge rgbtestsrc spp
adelay asendcmd concat find_rect mcdeint rotate ssim
adrawgraph asetnsamples convolution flanger mergeplanes sab stereo3d
aecho asetpts copy format metadata scale stereotools
aemphasis asetrate cover_rect fps movie scale2ref stereowiden
aeval asettb crop framepack mpdecimate select streamselect
aevalsrc ashowinfo cropdetect framerate mptestsrc selectivecolor super2xsai
afade asplit curves framestep negate sendcmd swaprect
afftfilt astats dcshift fspp nnedi separatefields swapuv
aformat astreamselect dctdnoiz geq noformat setdar tblend
agate atadenoise deband gradfun noise setfield telecine
ahistogram atempo decimate haldclut null setpts testsrc
ainterleave atrim deflate haldclutsrc nullsink setsar testsrc2
alimiter avectorscope dejudder hflip nullsrc settb thumbnail
allpass bandpass delogo highpass overlay showcqt tile
allrgb bandreject deshake histeq owdenoise showfreqs tinterlace
allyuv bass detelecine histogram pad showinfo transpose
alphaextract bbox dilation hqdn3d palettegen showpalette treble
alphamerge biquad displace hqx paletteuse showspectrum tremolo
amerge blackdetect drawbox hstack pan showspectrumpic trim
ametadata blackframe drawgraph hue perms showvolume unsharp
amix blend drawgrid idet perspective showwaves uspp
amovie boxblur dynaudnorm il phase showwavespic vectorscope
anequalizer cellauto earwax inflate pixdesctest shuffleframes vflip
anoisesrc channelmap ebur128 interlace pp shuffleplanes vibrato
anull channelsplit edgedetect interleave pp7 sidechaincompress vignette
anullsink chorus elbg join psnr sidechaingate volume
anullsrc chromakey eq kerndeint pullup signalstats volumedetect
apad codecview equalizer lenscorrection qp silencedetect vstack
aperms color erosion life random silenceremove w3fdif
aphasemeter colorbalance extractplanes lowpass realtime sine waveform
aphaser colorchannelmixer extrastereo lut removegrain smartblur xbr
apulsator colorkey fade lut3d removelogo smptebars yadif
arealtime colorlevels fftfilt lutrgb repeatfields smptehdbars zoompan
aresample colormatrix field lutyuv replaygain spectrumsynth
Enabled bsfs:
aac_adtstoasc dump_extradata hevc_mp4toannexb mjpeg2jpeg mov2textsub mpeg4_unpack_bframes remove_extradata
chomp h264_mp4toannexb imx_dump_header mjpega_dump_header mp3_header_decompress noise text2movsub
Enabled indevs:
dv1394 fbdev lavfi v4l2
Enabled outdevs:
Options: [defaults in brackets after descriptions]
Help options:
--help print this message
--list-decoders show all available decoders
--list-encoders show all available encoders
--list-hwaccels show all available hardware accelerators
--list-demuxers show all available demuxers
--list-muxers show all available muxers
--list-parsers show all available parsers
--list-protocols show all available protocols
--list-bsfs show all available bitstream filters
--list-indevs show all available input devices
--list-outdevs show all available output devices
--list-filters show all available filters
Standard options:
--logfile=FILE log tests and output to FILE [config.log]
--disable-logging do not log configure debug information
--fatal-warnings fail if any configure warning is generated
--prefix=PREFIX install in PREFIX []
--bindir=DIR install binaries in DIR [PREFIX/bin]
--datadir=DIR install data files in DIR [PREFIX/share/ffmpeg]
--docdir=DIR install documentation in DIR [PREFIX/share/doc/ffmpeg]
--libdir=DIR install libs in DIR [PREFIX/lib]
--shlibdir=DIR install shared libs in DIR [LIBDIR]
--incdir=DIR install includes in DIR [PREFIX/include]
--mandir=DIR install man page in DIR [PREFIX/share/man]
--pkgconfigdir=DIR install pkg-config files in DIR [LIBDIR/pkgconfig]
--enable-rpath use rpath to allow installing libraries in paths
not part of the dynamic linker search path
use rpath when linking programs [USE WITH CARE]
Licensing options:
--enable-gpl allow use of GPL code, the resulting libs
and binaries will be under GPL [no]
--enable-version3 upgrade (L)GPL to version 3 [no]
--enable-nonfree allow use of nonfree code, the resulting libs
and binaries will be unredistributable [no]
Configuration options:
--disable-static do not build static libraries [no]
--enable-shared build shared libraries [no]
--enable-small optimize for size instead of speed
--disable-runtime-cpudetect disable detecting cpu capabilities at runtime (smaller binary)
--enable-gray enable full grayscale support (slower color)
--disable-swscale-alpha disable alpha channel support in swscale
--disable-all disable building components, libraries and programs
--enable-incompatible-libav-abi enable incompatible Libav fork ABI [no]
--enable-raise-major increase major version numbers in sonames [no]
Program options:
--disable-programs do not build command line programs
--disable-ffmpeg disable ffmpeg build
--disable-ffplay disable ffplay build
--disable-ffprobe disable ffprobe build
--disable-ffserver disable ffserver build
Documentation options:
--disable-doc do not build documentation
--disable-htmlpages do not build HTML documentation pages
--disable-manpages do not build man documentation pages
--disable-podpages do not build POD documentation pages
--disable-txtpages do not build text documentation pages
Component options:
--disable-avdevice disable libavdevice build
--disable-avcodec disable libavcodec build
--disable-avformat disable libavformat build
--disable-swresample disable libswresample build
--disable-swscale disable libswscale build
--disable-postproc disable libpostproc build
--disable-avfilter disable libavfilter build
--enable-avresample enable libavresample build [no]
--disable-pthreads disable pthreads [autodetect]
--disable-w32threads disable Win32 threads [autodetect]
--disable-os2threads disable OS/2 threads [autodetect]
--disable-network disable network support [no]
--disable-dct disable DCT code
--disable-dwt disable DWT code
--disable-error-resilience disable error resilience code
--disable-lsp disable LSP code
--disable-lzo disable LZO decoder code
--disable-mdct disable MDCT code
--disable-rdft disable RDFT code
--disable-fft disable FFT code
--disable-faan disable floating point AAN (I)DCT code
--disable-pixelutils disable pixel utils in libavutil
Hardware accelerators:
--disable-d3d11va disable D3D11VA code [autodetect]
--disable-dxva2 disable DXVA2 code [autodetect]
--disable-vaapi disable VAAPI code [autodetect]
--disable-vda disable VDA code [autodetect]
--disable-vdpau disable VDPAU code [autodetect]
--enable-videotoolbox enable VideoToolbox code [autodetect]
Individual component options:
--disable-everything disable all components listed below
--disable-encoder=NAME disable encoder NAME
--enable-encoder=NAME enable encoder NAME
--disable-encoders disable all encoders
--disable-decoder=NAME disable decoder NAME
--enable-decoder=NAME enable decoder NAME
--disable-decoders disable all decoders
--disable-hwaccel=NAME disable hwaccel NAME
--enable-hwaccel=NAME enable hwaccel NAME
--disable-hwaccels disable all hwaccels
--disable-muxer=NAME disable muxer NAME
--enable-muxer=NAME enable muxer NAME
--disable-muxers disable all muxers
--disable-demuxer=NAME disable demuxer NAME
--enable-demuxer=NAME enable demuxer NAME
--disable-demuxers disable all demuxers
--enable-parser=NAME enable parser NAME
--disable-parser=NAME disable parser NAME
--disable-parsers disable all parsers
--enable-bsf=NAME enable bitstream filter NAME
--disable-bsf=NAME disable bitstream filter NAME
--disable-bsfs disable all bitstream filters
--enable-protocol=NAME enable protocol NAME
--disable-protocol=NAME disable protocol NAME
--disable-protocols disable all protocols
--enable-indev=NAME enable input device NAME
--disable-indev=NAME disable input device NAME
--disable-indevs disable input devices
--enable-outdev=NAME enable output device NAME
--disable-outdev=NAME disable output device NAME
--disable-outdevs disable output devices
--disable-devices disable all devices
--enable-filter=NAME enable filter NAME
--disable-filter=NAME disable filter NAME
--disable-filters disable all filters
External library support:
--enable-avisynth enable reading of AviSynth script files [no]
--disable-bzlib disable bzlib [autodetect]
--enable-chromaprint enable audio fingerprinting with chromaprint [no]
--enable-fontconfig enable fontconfig, useful for drawtext filter [no]
--enable-frei0r enable frei0r video filtering [no]
--enable-gcrypt enable gcrypt, needed for rtmp(t)e support
if openssl, librtmp or gmp is not used [no]
--enable-gmp enable gmp, needed for rtmp(t)e support
if openssl or librtmp is not used [no]
--enable-gnutls enable gnutls, needed for https support
if openssl is not used [no]
--disable-iconv disable iconv [autodetect]
--enable-ladspa enable LADSPA audio filtering [no]
--enable-libass enable libass subtitles rendering,
needed for subtitles and ass filter [no]
--enable-libbluray enable BluRay reading using libbluray [no]
--enable-libbs2b enable bs2b DSP library [no]
--enable-libcaca enable textual display using libcaca [no]
--enable-libcelt enable CELT decoding via libcelt [no]
--enable-libcdio enable audio CD grabbing with libcdio [no]
--enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
and libraw1394 [no]
--enable-libdcadec enable DCA decoding via libdcadec [no]
--enable-libfaac enable AAC encoding via libfaac [no]
--enable-libfdk-aac enable AAC de/encoding via libfdk-aac [no]
--enable-libflite enable flite (voice synthesis) support via libflite [no]
--enable-libfreetype enable libfreetype, needed for drawtext filter [no]
--enable-libfribidi enable libfribidi, improves drawtext filter [no]
--enable-libgme enable Game Music Emu via libgme [no]
--enable-libgsm enable GSM de/encoding via libgsm [no]
--enable-libiec61883 enable iec61883 via libiec61883 [no]
--enable-libilbc enable iLBC de/encoding via libilbc [no]
--enable-libkvazaar enable HEVC encoding via libkvazaar [no]
--enable-libmfx enable HW acceleration through libmfx
--enable-libmodplug enable ModPlug via libmodplug [no]
--enable-libmp3lame enable MP3 encoding via libmp3lame [no]
--enable-libnut enable NUT (de)muxing via libnut,
native (de)muxer exists [no]
--enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
--enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
--enable-libopencv enable video filtering via libopencv [no]
--enable-libopenh264 enable H.264 encoding via OpenH264 [no]
--enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no]
--enable-libopus enable Opus de/encoding via libopus [no]
--enable-libpulse enable Pulseaudio input via libpulse [no]
--enable-librubberband enable rubberband needed for rubberband filter [no]
--enable-librtmp enable RTMP[E] support via librtmp [no]
--enable-libschroedinger enable Dirac de/encoding via libschroedinger [no]
--enable-libshine enable fixed-point MP3 encoding via libshine [no]
--enable-libsmbclient enable Samba protocol via libsmbclient [no]
--enable-libsnappy enable Snappy compression, needed for hap encoding [no]
--enable-libsoxr enable Include libsoxr resampling [no]
--enable-libspeex enable Speex de/encoding via libspeex [no]
--enable-libssh enable SFTP protocol via libssh [no]
--enable-libtesseract enable Tesseract, needed for ocr filter [no]
--enable-libtheora enable Theora encoding via libtheora [no]
--enable-libtwolame enable MP2 encoding via libtwolame [no]
--enable-libutvideo enable Ut Video encoding and decoding via libutvideo [no]
--enable-libv4l2 enable libv4l2/v4l-utils [no]
--enable-libvidstab enable video stabilization using vid.stab [no]
--enable-libvo-amrwbenc enable AMR-WB encoding via libvo-amrwbenc [no]
--enable-libvorbis enable Vorbis en/decoding via libvorbis,
native implementation exists [no]
--enable-libvpx enable VP8 and VP9 de/encoding via libvpx [no]
--enable-libwavpack enable wavpack encoding via libwavpack [no]
--enable-libwebp enable WebP encoding via libwebp [no]
--enable-libx264 enable H.264 encoding via x264 [no]
--enable-libx265 enable HEVC encoding via x265 [no]
--enable-libxavs enable AVS encoding via xavs [no]
--enable-libxcb enable X11 grabbing using XCB [autodetect]
--enable-libxcb-shm enable X11 grabbing shm communication [autodetect]
--enable-libxcb-xfixes enable X11 grabbing mouse rendering [autodetect]
--enable-libxcb-shape enable X11 grabbing shape rendering [autodetect]
--enable-libxvid enable Xvid encoding via xvidcore,
native MPEG-4/Xvid encoder exists [no]
--enable-libzimg enable z.lib, needed for zscale filter [no]
--enable-libzmq enable message passing via libzmq [no]
--enable-libzvbi enable teletext support via libzvbi [no]
--disable-lzma disable lzma [autodetect]
--enable-decklink enable Blackmagic DeckLink I/O support [no]
--enable-mmal enable decoding via MMAL [no]
--enable-netcdf enable NetCDF, needed for sofalizer filter [no]
--enable-nvenc enable NVIDIA NVENC support [no]
--enable-openal enable OpenAL 1.1 capture support [no]
--enable-opencl enable OpenCL code
--enable-opengl enable OpenGL rendering [no]
--enable-openssl enable openssl, needed for https support
if gnutls is not used [no]
--disable-schannel disable SChannel SSP, needed for TLS support on
Windows if openssl and gnutls are not used [autodetect]
--disable-sdl disable sdl [autodetect]
--disable-securetransport disable Secure Transport, needed for TLS support
on OSX if openssl and gnutls are not used [autodetect]
--enable-x11grab enable X11 grabbing (legacy) [no]
--disable-xlib disable xlib [autodetect]
--disable-zlib disable zlib [autodetect]
Toolchain options:
--arch=ARCH select architecture []
--cpu=CPU select the minimum required CPU (affects
instruction selection, may crash on older CPUs)
--cross-prefix=PREFIX use PREFIX for compilation tools []
--progs-suffix=SUFFIX program name suffix []
--enable-cross-compile assume a cross-compiler is used
--sysroot=PATH root of cross-build tree
--sysinclude=PATH location of cross-build system headers
--target-os=OS compiler targets OS []
--target-exec=CMD command to run executables on target
--target-path=DIR path to view of build directory on target
--target-samples=DIR path to samples directory on target
--tempprefix=PATH force fixed dir/prefix instead of mktemp for checks
--toolchain=NAME set tool defaults according to NAME
--nm=NM use nm tool NM [nm -g]
--ar=AR use archive tool AR [ar]
--as=AS use assembler AS []
--windres=WINDRES use windows resource compiler WINDRES [windres]
--yasmexe=EXE use yasm-compatible assembler EXE [yasm]
--cc=CC use C compiler CC [gcc]
--cxx=CXX use C compiler CXX [g++]
--objcc=OCC use ObjC compiler OCC [gcc]
--dep-cc=DEPCC use dependency generator DEPCC [gcc]
--ld=LD use linker LD []
--pkg-config=PKGCONFIG use pkg-config tool PKGCONFIG [pkg-config]
--pkg-config-flags=FLAGS pass additional flags to pkgconf []
--ranlib=RANLIB use ranlib RANLIB [ranlib]
--doxygen=DOXYGEN use DOXYGEN to generate API doc [doxygen]
--host-cc=HOSTCC use host C compiler HOSTCC
--host-cflags=HCFLAGS use HCFLAGS when compiling for host
--host-cppflags=HCPPFLAGS use HCPPFLAGS when compiling for host
--host-ld=HOSTLD use host linker HOSTLD
--host-ldflags=HLDFLAGS use HLDFLAGS when linking for host
--host-libs=HLIBS use libs HLIBS when linking for host
--host-os=OS compiler host OS []
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS []
--extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS []
--extra-objcflags=FLAGS add FLAGS to OBJCFLAGS []
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS []
--extra-ldexeflags=ELDFLAGS add ELDFLAGS to LDEXEFLAGS []
--extra-ldlibflags=ELDFLAGS add ELDFLAGS to LDLIBFLAGS []
--extra-libs=ELIBS add ELIBS []
--extra-version=STRING version string suffix []
--optflags=OPTFLAGS override optimization-related compiler flags
--build-suffix=SUFFIX library name suffix []
--enable-pic build position-independent code
--enable-thumb compile for Thumb instruction set
--enable-lto use link-time optimization
--env="ENV=override" override the environment variables
Advanced options (experts only):
--malloc-prefix=PREFIX prefix malloc and related names with PREFIX
--custom-allocator=NAME use a supported custom allocator
--disable-symver disable symbol versioning
--enable-hardcoded-tables use hardcoded tables instead of runtime generation
--disable-safe-bitstream-reader
disable buffer boundary checking in bitreaders
(faster, but may crash)
--enable-memalign-hack emulate memalign, interferes with memory debuggers
--sws-max-filter-size=N the max filter size swscale uses [256]
Optimization options (experts only):
--disable-asm disable all assembly optimizations
--disable-altivec disable AltiVec optimizations
--disable-vsx disable VSX optimizations
--disable-power8 disable POWER8 optimizations
--disable-amd3dnow disable 3DNow! optimizations
--disable-amd3dnowext disable 3DNow! extended optimizations
--disable-mmx disable MMX optimizations
--disable-mmxext disable MMXEXT optimizations
--disable-sse disable SSE optimizations
--disable-sse2 disable SSE2 optimizations
--disable-sse3 disable SSE3 optimizations
--disable-ssse3 disable SSSE3 optimizations
--disable-sse4 disable SSE4 optimizations
--disable-sse42 disable SSE4.2 optimizations
--disable-avx disable AVX optimizations
--disable-xop disable XOP optimizations
--disable-fma3 disable FMA3 optimizations
--disable-fma4 disable FMA4 optimizations
--disable-avx2 disable AVX2 optimizations
--disable-aesni disable AESNI optimizations
--disable-armv5te disable armv5te optimizations
--disable-armv6 disable armv6 optimizations
--disable-armv6t2 disable armv6t2 optimizations
--disable-vfp disable VFP optimizations
--disable-neon disable NEON optimizations
--disable-inline-asm disable use of inline assembly
--disable-yasm disable use of nasm/yasm assembly
--disable-mipsdsp disable MIPS DSP ASE R1 optimizations
--disable-mipsdspr2 disable MIPS DSP ASE R2 optimizations
--disable-msa disable MSA optimizations
--disable-mipsfpu disable floating point MIPS optimizations
--disable-mmi disable Loongson SIMD optimizations
--disable-fast-unaligned consider unaligned accesses slow
Developer options (useful when working on FFmpeg itself):
--disable-debug disable debugging symbols
--enable-debug=LEVEL set the debug level []
--disable-optimizations disable compiler optimizations
--enable-extra-warnings enable more compiler warnings
--disable-stripping disable stripping of executables and shared libraries
--assert-level=level 0(default), 1 or 2, amount of assertion testing,
2 causes a slowdown at runtime.
--enable-memory-poisoning fill heap uninitialized allocated space with arbitrary data
--valgrind=VALGRIND run "make fate" tests through valgrind to detect memory
leaks and errors, using the specified valgrind binary.
Cannot be combined with --target-exec
--enable-ftrapv Trap arithmetic overflows
--samples=PATH location of test samples for FATE, if not set use
$FATE_SAMPLES at make invocation time.
--enable-neon-clobber-test check NEON registers for clobbering (should be
used only for debugging purposes)
--enable-xmm-clobber-test check XMM registers for clobbering (Win64-only;
should be used only for debugging purposes)
--enable-random randomly enable/disable components
--disable-random
--enable-random=LIST randomly enable/disable specific components or
--disable-random=LIST component groups. LIST is a comma-separated list
of NAME[:PROB] entries where NAME is a component
(group) and PROB the probability associated with
NAME (default 0.5).
--random-seed=VALUE seed value for --enable/disable-random
--disable-valgrind-backtrace do not print a backtrace under Valgrind
(only applies to --disable-optimizations builds)