FFmpeg 編譯參數(shù)詳解:
--help
顯示此幫助信息|print this message
--log[=FILE|yes|no]
記錄測試并輸出到config.err文件|log tests and output to FILE [config.err]
--prefix=PREFIX
安裝程序到指定目錄(默認/usr/local)|install in PREFIX [/usr/local]
--libdir=DIR
安裝庫到指定目錄(默認prefix/lib)|install libs in DIR [PREFIX/lib]
--shlibdir=DIR
指定共享庫路徑(默認prefix/lib)|install shared libs in DIR [PREFIX/lib]
--incdir=DIR
指定includes路徑(默認prefix/include/ffmpeg)|install includes in DIR[PREFIX/include/ffmpeg]
--mandir=DIR
指定man page路徑(默認prefix/man)install man page in DIR [PREFIX/man]
--enable-mp3lame
啟用mp3編碼libmp3lame(默認關(guān)閉)enable MP3 encoding via libmp3lame[default=no]
--enable-libogg
啟用ogg支持libogg(默認關(guān)閉)enable Ogg support via libogg [default=no]
--enable-vorbis
啟用Vorbis支持libvorbis(默認關(guān)閉)enable Vorbis support via libvorbis [default=no]
--enable-faad
啟用faad支持libfaad(默認關(guān)閉)enable FAAD support via libfaad [default=no]
--enable-faadbin
啟用faad運行時鏈接支持(默認關(guān)閉)build FAAD support with runtime linking[default=no]
--enable-faac
啟用faac支持libfaac(默認關(guān)閉)enable FAAC support via libfaac [default=no]
--enable-libgsm
啟用GSM支持libgsm(默認關(guān)閉)enable GSM support via libgsm [default=no]
--enable-xvid
啟用xvid支持xvidcore(默認關(guān)閉)enable XviD support via xvidcore [default=no]
--enable-libx264
啟用H.264編碼(默認關(guān)閉)enable H.264 encoding via x264 [default=no]
--enable-mingw32
啟用MinGW本地/交叉win環(huán)境編譯|enable MinGW native/cross Windows compile
--enable-mingwce
啟用MinGW本地/交叉winCE環(huán)境編譯enable MinGW native/cross WinCE compile
--enable-a52
啟用A52支持(默認關(guān)閉)enable GPLed A52 support [default=no]
--enable-a52bin
啟用運行時打開liba52.so.0(默認關(guān)閉)open liba52.so.0 at runtime [default=no]
--enable-dts
啟用DTS支持(默認關(guān)閉)enable GPLed DTS support [default=no]
--enable-pp
啟用后加工支持(默認關(guān)閉)enable GPLed postprocessing support [default=no]
--enable-static
構(gòu)建靜態(tài)庫(默認啟用)build static libraries [default=yes]
--disable-static
禁止構(gòu)建靜態(tài)庫(默認關(guān)閉)do not build static libraries [default=no]
--enable-shared
構(gòu)建共享庫(默認關(guān)閉)build shared libraries [default=no]
--disable-shared
禁止構(gòu)建共享庫(默認啟用)do not build shared libraries [default=yes]
--enable-amr_nb
啟用amr_nb float音頻編解碼器|enable amr_nb float audio codec
--enable-amr_nb-fixed
啟用fixed amr_nb codec | use fixed point for amr-nb codec
--enable-amr_wb
啟用amr_wb float音頻編解碼器|enable amr_wb float audio codec
--enable-amr_if2
啟用amr_wb IF2音頻編解碼器|enable amr_wb IF2 audio codec
--enable-sunmlib
啟用Sun medialib(默認關(guān)閉)| use Sun medialib [default=no]
--enable-pthreads
啟用pthreads(多線程)(默認關(guān)閉)use pthreads [default=no]
--enable-dc1394
啟用libdc1394、libraw1394抓取IIDC-1394(默認關(guān)閉)enable IIDC-1394 grabbing using libdc1394 and libraw1394 [default=no]
--enable-swscaler
啟用計數(shù)器支持掷豺?(默認關(guān)閉)software scaler support [default=no]
--enable-avisynth
允許讀取AVISynth腳本本件(默認關(guān)閉)allow reading AVISynth script files [default=no]
--enable-gpl
允許使用GPL(默認關(guān)閉)allow use of GPL code, the resulting libav* and ffmpeg will be under GPL [default=no]
--source-path=PATH
源碼的路徑(當(dāng)前為/root/flv/ffmpeg)| path to source code [/root/flv/ffmpeg]
--cross-prefix=PREFIX
為編譯工具指定路徑 | use PREFIX for compilation tools []
--cross-compile
假定使用了交叉編譯 | assume a cross-compiler is used
--cc=CC
指定使用何種C編譯器(默認gcc)use C compiler CC [gcc]
--make=MAKE
使用特定的make | use specified make [make]
--extra-cflags=ECFLAGS
添加ECFLAGS到CFLAGS | add ECFLAGS to CFLAGS []
--extra-ldflags=ELDFLAGS
添加ELDFLAGS到LDFLAGS(默認-Wl箫章,--as-needed)| add ELDFLAGS to LDFLAGS [ -Wl,--as-needed]
--extra-libs=ELIBS
添加ELIBS | add ELIBS []
--build-suffix=SUFFIX
為專用程序添加后綴 | suffix for application specific build []
--arch=ARCH
選擇機器架構(gòu)(默認x86)select architecture [x86]
--cpu=CPU
選用最低的cpu(影響指令的選擇踪旷,可以在老CPU上出錯)| selects the minimum cpu required (affects instruction selection, may crash on older CPUs)
--powerpc-perf-enable
啟用PPC上面的性能報告(需要啟用PMC)enable performance report on PPC(requires enabling PMC)
--disable-mmx
禁用MMX | disable MMX usage
--disable-armv5te
禁用armv5te | disable armv5te usage
--disable-iwmmxt
禁用iwmmxt | disable iwmmxt usage
--disable-altivec
禁用AltiVec | disable AltiVec usage
--disable-audio-oss
禁用OSS音頻支持(默認啟用)disable OSS audio support [default=no]
--disable-audio-beos
禁用BeOS音頻支持(默認啟用)disable BeOS audio support [default=no]
--disable-v4l
禁用video4linux提扔褂铡(默認啟用)disable video4linux grabbing [default=no]
--disable-v4l2
禁用video4linux2提让票ぁ(默認啟用)disable video4linux2 grabbing [default=no]
--disable-bktr
禁用bktr視頻提榷扑蟆(默認啟用)disable bktr video grabbing [default=no]
--disable-dv1394
禁用DV1394提群绮琛(默認啟用)disable DV1394 grabbing [default=no]
--disable-network
禁用網(wǎng)絡(luò)支持(默認支持)disable network support [default=no]
--disable-ipv6
禁用ipv6支持(默認支持)disable ipv6 support [default=no]
--disable-zlib
禁用zlib(默認支持)disable zlib [default=no]
--disable-simple_idct
禁用simple IDCT例程(默認啟用)disable simple IDCT routines [default=no]
--disable-vhook
禁用video hooking支持| disable video hooking support
--enable-gprof
啟用profiling with gprof [no]
--disable-debug
禁用調(diào)試符號 | disable debugging symbols
--disable-opts
禁用編譯器最優(yōu)化 | disable compiler optimizations
--disable-mpegaudio-hp
啟用更快的解碼MPEG音頻(但精確度較低)(默認禁用)faster (but less accurate) MPEG audio decoding [default=no]
--disable-protocols
禁用 I/O 協(xié)議支持(默認啟用)disable I/O protocols support [default=no]
--disable-ffserver
禁用生成ffserver | disable ffserver build
--disable-ffplay
禁用生成ffplay | disable ffplay build
--enable-small
啟用優(yōu)化文件尺寸大惺判健(犧牲速度)optimize for size instead of speed
--enable-memalign-hack
啟用模擬內(nèi)存排列,由內(nèi)存調(diào)試器干涉蝴罪? | emulate memalign, interferes with memory debuggers
--disable-strip
禁用剝離可執(zhí)行程序和共享庫 | disable stripping of executables and shared libraries
--disable-encoder=NAME
禁用XX編碼器 | disables encoder NAME
--enable-encoder=NAME
啟用XX編碼器 | enables encoder NAME
--disable-decoder=NAME
禁用XX解碼器 | disables decoder NAME
--enable-decoder=NAME
啟用XX解碼器 | enables decoder NAME
--disable-encoders
禁用所有編碼器 | disables all encoders
--disable-decoders
禁用所有解碼器 | disables all decoders
--disable-muxer=NAME
禁用XX混音器 | disables muxer NAME
--enable-muxer=NAME
啟用XX混音器 | enables muxer NAME
--disable-muxers
禁用所有混音器 | disables all muxers
--disable-demuxer=NAME
禁用XX解軌器 | disables demuxer NAME
--enable-demuxer=NAME
啟用XX解軌器 | enables demuxer NAME
--disable-demuxers
禁用所有解軌器 | disables all demuxers
--enable-parser=NAME
啟用XX剖析器 | enables parser NAME
--disable-parser=NAME
禁用XX剖析器 | disables parser NAME
--disable-parsers
禁用所有剖析器 | disables all parsers