ffmpeg編譯參數詳解

Usage: configure [options]
用 法:configure [選項]
Options: [defaults in brackets after descriptions]
選   項:[描述以後的方括號裏的是默認值]

Standard options:
標準選項:
  --help                   print this message
                           打印這個信息,例如:./configure --help > ffmpegcfg.txt

  --logfile=FILE           log tests and output to FILE [config.log]
                           記錄測試日誌並輸出到的文件[默認:config.log]

  --disable-logging        do not log configure debug information
                           不記錄調試日誌信息

  --prefix=PREFIX          install in PREFIX []
                           安裝程序到指定目錄[默認:空]

  --bindir=DIR             install binaries in DIR [PREFIX/bin]
                           安裝程序到指定目錄[默認:/bin]

  --datadir=DIR            install data files in DIR [PREFIX/share/ffmpeg]
                           安裝數據文件到指定目錄[默認:/share/ffmpeg]

  --libdir=DIR             install libs in DIR [PREFIX/lib]
                           安裝靜態庫到指定目錄[默認:/lib]

  --shlibdir=DIR           install shared libs in DIR [PREFIX/lib]
                           安裝共享庫到指定目錄[默認:/lib]

  --incdir=DIR             install includes in DIR [PREFIX/include]
                           安裝頭文件到指定目錄[默認:/include]

  --mandir=DIR             install man page in DIR [PREFIX/share/man]
                           安裝man page到指定路徑[默認:/share/man]

Configuration options:
配置選項:
  --disable-static         do not build static libraries [no]
                           不構建靜態庫[默認:關閉]
                           
  --enable-shared          build shared libraries [no]
                           構建共享庫[默認:關閉]

  --enable-gpl             allow use of GPL code, the resulting libs
                           and binaries will be under GPL [no]
                           容許使用 GPL 代碼,
                           產生的庫和程序將隸屬於 GPL[默認:關閉]

  --enable-version3        upgrade (L)GPL to version 3 [no]
                           升級GPL到版本3[默認:關閉]

  --enable-nonfree         allow use of nonfree code, the resulting libs
                           and binaries will be unredistributable [no]
                           容許使用非免費的代碼,
                           產生的庫和二進制程序將是不可再發行的[默認:關閉]

  --disable-doc            do not build documentation
                           不構造文檔

  --disable-ffmpeg         disable ffmpeg build
                           禁止 ffmpeg 構造

  --disable-ffplay         disable ffplay build
                           禁止 ffplay 構造

  --disable-ffprobe        disable ffprobe build
                           禁止 ffprobe 構造

  --disable-ffserver       disable ffserver build
                           禁止 ffserver 構造

  --disable-avdevice       disable libavdevice build
                           禁止 libavdevice 構造

  --disable-avcodec        disable libavcodec build
                           禁止 libavcodec 構造

  --disable-avcore         disable libavcore build
                           禁止 libavcore 構造

  --disable-avformat       disable libavformat build
                           禁止 libavformat 構造

  --disable-swscale        disable libswscale build
                           禁止 libswscale 構造

  --enable-postproc        enable GPLed postprocessing support [no]
                           啓用 GPLed 後加工支持[默認:關閉]

  --disable-avfilter       disable video filter support [no]
                           禁止視頻過濾器支持[默認:關閉]

  --disable-pthreads       disable pthreads [auto]
                           禁用 pthreads [默認:自動]

  --enable-w32threads      use Win32 threads [no]
                           使用 Win32 線程[默認:關閉]

  --enable-x11grab         enable X11 grabbing [no]
                           啓用 X11 攫取[默認:關閉]

  --disable-network        disable network support [no]
                           禁用網絡支持[默認:不由用]

  --disable-mpegaudio-hp   faster (but less accurate) MPEG audio decoding [no]
                           快速的 MPEG 音頻解碼方式(但精度低)[默認:禁用]

  --enable-gray            enable full grayscale support (slower color)
                           啓用所有灰度的支持(感光性較低的顏色)

  --disable-swscale-alpha  disable alpha channel support in swscale
                           在軟縮放時 禁止 阿爾法 通道支持

  --disable-fastdiv        disable table-based division
                           禁止以表格爲主劃分

  --enable-small           optimize for size instead of speed
                           啓用大小優化,犧牲速度

  --disable-aandct         disable AAN DCT code
                           禁止 AAN DCT 碼

  --disable-dct            disable DCT code
                           禁止 DCT 碼

  --disable-fft            disable FFT code
                           禁止 FFT 碼

  --disable-golomb         disable Golomb code
                           禁止 Golomb 碼

  --disable-huffman        disable Huffman code
                           禁止 Huffman 碼

  --disable-lpc            disable LPC code
                           禁止 LPC 碼

  --disable-mdct           disable MDCT code
                           禁止 MDCT 碼

  --disable-rdft           disable RDFT code
                           禁止 RDFT 碼

  --disable-vaapi          disable VAAPI code
                           禁止 VAAPI 碼

  --disable-vdpau          disable VDPAU code
                           禁止 VDPAU 碼

  --disable-dxva2          disable DXVA2 code
                           禁止 DXVA2 碼

  --enable-runtime-cpudetect detect cpu capabilities at runtime (bigger binary)
                             啓用在運行時偵測 CPU 性能(更大的二進制程序)

  --enable-hardcoded-tables use hardcoded tables instead of runtime generation
                            啓用硬編碼表而不是運行時產生

  --enable-memalign-hack   emulate memalign, interferes with memory debuggers
                           模擬memalign,內存調試器干擾

  --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
                           禁用所有協議

  --disable-indev=NAME     disable input device NAME
                           禁用指定的輸入設備

  --disable-outdev=NAME    disable output device NAME
                           禁用指定的輸出設備

  --disable-indevs         disable input devices
                           禁用輸入設備

  --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
                           禁用所有的過濾器

  --list-decoders          show all available decoders
                           顯示所有可用的解碼器

  --list-encoders          show all available encoders
                           顯示所有可用的編碼器

  --list-hwaccels          show all available hardware accelerators
                           顯示所有可用的硬件加速器

  --list-muxers            show all available muxers
                           顯示所有可用的混合器

  --list-demuxers          show all available demuxers
                           顯示所有可用的解混器

  --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
                           顯示所有可用的過濾器

External library support:
外部庫支持:
  --enable-avisynth        enable reading of AVISynth script files [no]
                           啓用讀取 AVISynth 腳本文件[默認:關閉]
                           
  --enable-bzlib           enable bzlib [autodetect]
                           啓用 bzlib[默認:自動偵測]
                           
  --enable-frei0r          enable frei0r video filtering
                           啓用 frei0r 視頻篩選
                           
  --enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
                             啓用 AMR-NB 編解碼經過 libopencore-amrnb[默認:關閉]
                             1. AMR: Adaptive Multi-Rate 相對相對WB而言又稱 AMR-NB,
                                     自適應多速率編碼,主要用於移動設備的音頻,
                                     壓縮比比較大,但相對其餘的壓縮格式質量比較差,
                                     因爲多用於人聲,通話,效果仍是很不錯的。
                                     語音帶寬範圍:300-3400Hz,8KHz抽樣;
                             2. AMR-WB: AMR WideBand,
                                        是一種同時被國際標準化組織ITU-T和3GPP採用的寬帶
                                        語音編碼標準,也稱爲G722.2標準。
                                        語音帶寬範圍: 50-7000Hz,16KHz抽樣
                             
  --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
                             啓用 AMR-WB 編解碼經過 libopencore-amrwb[默認:關閉]
  
  --enable-libopencv       enable video filtering via libopencv [no]
                           經過 libopencv啓用視頻篩選 [默認:關閉]
  
  --enable-libdc1394       enable IIDC-1394 grabbing using libdc1394
                           and libraw1394 [no]
                           啓用 libdc139四、libraw1394 抓取 IIDC-1394[默認:關閉]
                           
  --enable-libdirac        enable Dirac support via libdirac [no]
  --enable-libfaac         enable FAAC support via libfaac [no]
                           經過 libfaac 啓用 FAAC 支持[默認:關閉]
                           
  --enable-libgsm          enable GSM support via libgsm [no]
                           經過 libgsm 啓用 GSM 支持[默認:關閉]
                           
  --enable-libmp3lame      enable MP3 encoding via libmp3lame [no]
                           經過 libmp3lame 啓用 MP3 編碼[默認:關閉]

  --enable-libnut          enable NUT (de)muxing via libnut,
                           native (de)muxer exists [no]
                           啓用 NUT (解)混合經過 libnut,
                           本地的 (解)混合器存在[默認:關閉]
                           注:NUT是一種容器格式。
                           
  --enable-libopenjpeg     enable JPEG 2000 decoding via OpenJPEG [no]
                           經過 OpenJPEG啓用 JPEG2000 解碼 [默認:關閉]
                           
  --enable-librtmp         enable RTMP[E] support via librtmp [no]
                           經過 librtmp 啓用 RTMP[E]支持 [默認:關閉]
  
  --enable-libschroedinger enable Dirac support via libschroedinger [no]
                           經過 libschroedinger啓用 Dirac 支持 [默認:關閉]
  
  --enable-libspeex        enable Speex decoding via libspeex [no]
                           經過 libspeex啓用 Speex 解碼[默認:關閉]
  
  --enable-libtheora       enable Theora encoding via libtheora [no]
                           經過 libtheora啓用 Theora 編碼[默認:關閉]
  
  --enable-libvorbis       enable Vorbis encoding via libvorbis,
                           native implementation exists [no]
                           經過 libvorbis 啓用 Vorbis 編碼方式,本地裝置存在[默認:關閉]

  --enable-libvpx          enable VP8 support via libvpx [no]
  --enable-libx264         enable H.264 encoding via x264 [no]
                           經過 x264 啓用 H.264 編碼方式[默認:關閉]
                           
  --enable-libxavs         enable AVS encoding via xavs [no]
  --enable-libxvid         enable Xvid encoding via xvidcore,
                           native MPEG-4/Xvid encoder exists [no]
                           經過 xvidcore 啓用 Xvid 編碼方式,
                           本地 MPEG-4/Xvid 編碼器存在[默認:關閉]
                           
  --enable-mlib            enable Sun medialib [no]
                           啓用 Sun medialib [默認:關閉]
                           
  --enable-zlib            enable zlib [autodetect]
                           啓用 zlib [默認:自動偵測]

Advanced options (experts only):
  --source-path=PATH       path to source code [/home/nsc/workspace/android_code/ffmpeg]
                           源碼的路徑[默認:/home/nsc/workspace/android_code/ffmpeg]
                           
  --cross-prefix=PREFIX    use PREFIX for compilation tools []
                           爲編譯工具指定路徑
                           
  --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
                           在目標系統上建立計劃目錄的路徑

  --nm=NM                  use nm tool
                           使用指定的 nm 工具。注:列出目標文件的符號清單。

  --ar=AR                  use archive tool AR [ar]
                           使用指定的歸檔成靜態庫工具[默認:ar]
                           注:能夠用來建立、修改庫,也能夠從庫中提出單個模塊。

  --as=AS                  use assembler AS []
                           使用指定的彙編程序[默認:]

  --cc=CC                  use C compiler CC [gcc]
                           指定使用哪一種C編譯器[默認:gcc]
                           
  --ld=LD                  use linker LD
                           使用指定的連接器

  --host-cc=HOSTCC         use host C compiler HOSTCC
                           使用主機C編譯器HOSTCC

  --host-cflags=HCFLAGS    use HCFLAGS when compiling for host
                           宿主編譯時,使用HCFLAGS

  --host-ldflags=HLDFLAGS  use HLDFLAGS when linking for host
                           宿主鏈接時,使用HLDFLAGS

  --host-libs=HLIBS        use libs HLIBS when linking for host
                           宿主鏈接時,使用HLIBS庫

  --extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS []
                           添加 ECFLAGS 到 CFLAGS[默認:空]
                           
  --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS []
                           添加 ELDFLAGS 到 LDFLAGS [默認:空]
                           
  --extra-libs=ELIBS       add ELIBS []
                           添加 ELIBS [默認:空]
                           
  --extra-version=STRING   version string suffix []
  --build-suffix=SUFFIX    library name suffix []
                           庫名後綴[默認:空]
                           
  --arch=ARCH              select architecture []
                           選擇微處理器體系結構[默認:空]
                           
  --cpu=CPU                select the minimum required CPU 
                           (affects instruction selection, 
                            may crash on older CPUs)
                           選用要求的最低CPU(影響指令選擇,可能在過期的CPU上崩潰)
                           
  --disable-asm            disable all assembler optimizations
                           禁用所有彙編程序優化

  --disable-altivec        disable AltiVec optimizations
                           禁用 AltiVec 優化
                           
  --disable-amd3dnow       disable 3DNow! optimizations
                           禁用 3DNow! 優化

  --disable-amd3dnowext    disable 3DNow! extended optimizations
                           禁用 3DNow! 擴展優化

  --disable-mmx            disable MMX optimizations
                           禁用 MMX 優化
                           
  --disable-mmx2           disable MMX2 optimizations
                           禁用 MMX2 優化
                           
  --disable-sse            disable SSE optimizations
                           禁用 SSE 優化
                           
  --disable-ssse3          disable SSSE3 optimizations
                           禁用 SSSE3 優化
                           
  --disable-armv5te        disable armv5te optimizations
                           禁用 armv5te 優化
                           
  --disable-armv6          disable armv6 optimizations
                           禁用 armv6 優化
                           
  --disable-armv6t2        disable armv6t2 optimizations
                           禁用 armv6t2 優化
                           
  --disable-armvfp         disable ARM VFP optimizations
                           禁用 ARM VFP 優化
                           
  --disable-iwmmxt         disable iwmmxt optimizations
                           禁用 iwmmxt 優化
                           
  --disable-mmi            disable MMI optimizations
                           禁用 MMI 優化
                           
  --disable-neon           disable neon optimizations
                           禁用 neon 優化
                           
  --disable-vis            disable VIS optimizations
                           禁用 VIS 優化
                           
  --disable-yasm           disable use of yasm assembler
                           禁用 yasm 彙編器
                           
  --enable-pic             build position-independent code
                           創造不依賴(於)位置的代碼

  --malloc-prefix=PFX      prefix malloc and related names with PFX
                           在 malloc 和 相關名稱 前加指定前綴

  --enable-sram            allow use of on-chip SRAM
                           容許使用片內靜態隨機存儲器

  --disable-symver         disable symbol versioning
                           禁用符號版本控制

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
                           禁止可執行程序剝脫共享庫
  
  --samples=PATH           location of test samples for FATE
                           指定測試示例的位置

NOTE: Object files are built at the place where configure is launched.
注意:對象文件是被建立在 configure 運行的地方。
android

相關文章
相關標籤/搜索