2009年5月11日 星期一

ffmpeg 的 configure 參數說明

Standard options:   基本選項參數

  --help 顯示此?明資訊|print this message
  --log[=FILE|yes|no] 記錄測試結果並輸出至檔案'FILE'(eafult file name = config.err)
  --prefix=PREFIX 安裝程式到指定目錄'PREFIX'內(default 值為/usr/local)
  --libdir=DIR 安裝函式庫到指定目錄DIR內(default值為PREFIX/lib)
  --shlibdir=DIR 指定共用函式庫的存放的目錄位置'DIR'(default 值為PREFIX/lib)
  --incdir=DIR 指定includes檔案目錄位置'DIR'(default值為PREFIX/include/ffmpeg)
  --mandir=DIR             指定man page路徑(預設prefix/man)install man page in DIR [PREFIX/man]
  --enable-mp3lame 啟用mp3編碼libmp3lame(預設關閉)MP3 encoding via libmp3lame[default=no]
  --enable-libogg 啟用ogg支持libogg(默認關閉)enable Ogg support via libogg [default=no]
  --enable-vorbis 啟用Vorbis支持libvorbis(默認關閉)enable Vorbis support via libvorbis [default=no]
  --enable-faad 啟用faad支持libfaad(默認關閉)enable FAAD support via libfaad [default=no]
  --enable-faadbin 啟用faad運行時連結支援(預設關閉)build FAAD support with runtime linking[default=no]
  --enable-faac 啟用faac支持libfaac(默認關閉)enable FAAC support via libfaac [default=no]
  --enable-libgsm 啟用GSM支持libgsm(默認關閉)enable GSM support via libgsm [default=no]
  --enable-xvid 啟用xvid支持xvidcore(默認關閉)enable XviD support via xvidcore [default=no]
  --enable-x264 啟用H.264編碼(預設關閉)enable H.264 encoding via x264 [default=no]
  --enable-mingw32 啟用MinGW本地/交叉win環境編譯|enable MinGW native/cross Windows compile
  --enable-mingwce 啟用MinGW本地/交叉winCE環境編譯enable MinGW native/cross WinCE compile
  --enable-a52 啟用A52支持(默認關閉)enable GPLed A52 support [default=no]
  --enable-a52bin 啟用運行時打開liba52.so.0(默認關閉)open liba52.so.0 at runtime [default=no]
  --enable-dts 啟用DTS支持(默認關閉)enable GPLed DTS support [default=no]
  --enable-pp 啟用後加工支援(默認關閉)enable GPLed postprocessing support [default=no]
  --enable-static 構建靜態程式庫(默認啟用)build static libraries [default=yes]
  --disable-static 禁止構建靜態程式庫(默認關閉)do not build static libraries [default=no]
  --enable-shared 構建共用庫(默認關閉)build shared libraries [default=no]
  --disable-shared 禁止構建共用庫(默認啟用)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(默認關閉) | use Sun medialib [default=no]
  --enable-pthreads 啟用pthreads(多執行緒)(默認關閉)use pthreads [default=no]
  --enable-dc1394 啟用libdc1394、libraw1394抓取IIDC-1394(默認關閉)enable IIDC-1394 grabbing using libdc1394 and libraw1394 [default=no]
  --enable-swscaler 啟用計數器支持?(默認關閉)software scaler support [default=no]
  --enable-avisynth 允許讀取AVISynth腳本本件(默認關閉)allow reading AVISynth script files [default=no]
  --enable-gpl 允許使用GPL(默認關閉)allow use of GPL code, the resulting libav* and ffmpeg will be under GPL [default=no]


Advanced options (experts only): 高級選項參數(供專業人員使用)

  --source-path=PATH 源碼的路徑(當前為/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 選擇機器架構(默認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 禁用網路支援(預設支援)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 enable profiling with gprof [no]
  --disable-debug 禁用調試符號 | disable debugging symbols
  --disable-opts 禁用編譯器最優化 | disable compiler optimizations
  --disable-mpegaudio-hp 啟用更快的解碼MPEG音訊(但精確度較低)(默認禁用)faster (but less accurate) MPEG audio decoding [default=no]
  --disable-protocols 禁用 I/O 協定支援(預設啟用)disable I/O protocols support [default=no]
  --disable-ffserver 禁用生成ffserver | disable ffserver build
  --disable-ffplay 禁用生成ffplay | disable ffplay build
  --enable-small 啟用優化檔尺寸大小(犧牲速度)optimize for size instead of speed
  --enable-memalign-hack 啟用類比記憶體排列,由記憶體調試器干涉? | emulate memalign, interferes with memory debuggers
  --disable-strip 禁用剝離可執行程式和共用庫 | 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

沒有留言: