ffmpeg 配置意思

#cd ffmpeg-2.0.1
#./configure >ffmpeg_help
#cat ffmpeg_help



Usage: configure [options]
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]记录测试并输出到file(config.c)
  --disable-logging        do not log configure debug information
  --fatal-warnings         fail if any configure warning is generated
  --prefix=PREFIX          install in PREFIX []安装到指定目录(默认/usr/local)
  --bindir=DIR             install binaries in DIR [PREFIX/bin]
  --datadir=DIR            install data files in DIR [PREFIX/share/ffmpeg]
  --libdir=DIR             install libs in DIR [PREFIX/lib]安装库到指定目录(默认/prefix/local)
  --shlibdir=DIR           install shared libs in DIR [PREFIX/lib]指定共享库路径(/prefix/lib)
  --incdir=DIR             install includes in DIR [PREFIX/include]执行include路径(默认/prefix/include)
  --mandir=DIR             install man page in DIR [PREFIX/share/man]指定man page路径(默认/prefix/man)


Licensing options:
  --enable-gpl             allow use of GPL code, the resulting libs
                           and binaries will be under GPL [no]允许使用GPL(默认关闭)
  --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-incompatible-fork-abi  enable incompatible Libav fork ABI (deprecated) [no]


Program options:
  --disable-programs       do not build command line programs
  --disable-ffmpeg         disable ffmpeg build禁用生成ffmpeg
  --disable-ffplay         disable ffplay build禁用生成ffplay
  --disable-ffprobe        disable ffprobe build禁用生成ffprobe
  --disable-ffserver       disable ffserver build禁用生成ffserver


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-avutil         disable libavutil 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 [auto]禁用pthreads(多线程)
  --disable-w32threads     disable Win32 threads [auto]
  --disable-os2threads     disable OS/2 threads [auto]
  --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


Hardware accelerators:
  --disable-dxva2          disable DXVA2 code [autodetect]
  --disable-vaapi          disable VAAPI code [autodetect]
  --enable-vda             enable VDA code
  --disable-vdpau          disable VDPAU code [autodetect]


Individual component options:
  --disable-everything     disable all components listed below
  --disable-encoder=NAME   disable encoder NAME禁用XX编码器
  --enable-encoder=NAME    enable encoder NAME启用XX编码器
  --disable-encoders       disable all encoders禁用所有解码器
  --disable-decoder=NAME   disable decoder NAME禁用XX解码器
  --enable-decoder=NAME    enable decoder NAME启用XX解码器
  --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禁用XX混音器
  --enable-muxer=NAME      enable muxer NAME启用XX混音器
  --disable-muxers         disable all muxers禁用所有混音器
  --disable-demuxer=NAME   disable demuxer NAME禁用XX解轨器
  --enable-demuxer=NAME    enable demuxer NAME启用XX解轨器
  --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禁用 I/O 协议支持(默认启用)
  --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]允许读取AVISynth脚本本件(默认关闭)
  --disable-bzlib          disable bzlib [autodetect]禁用bzlib(自动检测)
  --enable-fontconfig      enable fontconfig
  --enable-frei0r          enable frei0r video filtering
  --enable-gnutls          enable gnutls [no]
  --disable-iconv          disable iconv [autodetect]
  --enable-libaacplus      enable AAC+ encoding via libaacplus [no]
  --enable-libass          enable libass subtitles rendering [no]
  --enable-libbluray       enable BluRay reading using libbluray [no]
  --enable-libcaca         enable textual display using libcaca
  --enable-libcelt         enable CELT decoding via libcelt [no]
  --enable-libcdio         enable audio CD grabbing with libcdio
  --enable-libdc1394       enable IIDC-1394 grabbing using libdc1394
                           and libraw1394 [no]启用libdc1394、libraw1394抓取IIDC-1394(默认关闭)
  --enable-libfaac         enable AAC encoding via libfaac [no]启用faac支持libfaac(默认关闭)
  --enable-libfdk-aac      enable AAC encoding via libfdk-aac [no]
  --enable-libflite        enable flite (voice synthesis) support via libflite [no]
  --enable-libfreetype     enable libfreetype [no]
  --enable-libgme          enable Game Music Emu via libgme [no]
  --enable-libgsm          enable GSM de/encoding via libgsm [no] 启用GSM支持libgsm(默认关闭)
  --enable-libiec61883     enable iec61883 via libiec61883 [no]
  --enable-libilbc         enable iLBC de/encoding via libilbc [no]
  --enable-libmodplug      enable ModPlug via libmodplug [no]
  --enable-libmp3lame      enable MP3 encoding via libmp3lame [no]启用mp3编码libmp3lame(默认关闭)
  --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-libopenjpeg     enable JPEG 2000 de/encoding via OpenJPEG [no]
  --enable-libopus         enable Opus decoding via libopus [no]
  --enable-libpulse        enable Pulseaudio input via libpulse [no]
  --enable-libquvi         enable quvi input via libquvi [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-libsoxr         enable Include libsoxr resampling [no]
  --enable-libspeex        enable Speex de/encoding via libspeex [no]
  --enable-libstagefright-h264  enable H.264 decoding via libstagefright [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]禁用video4linux2提取(默认启用)
  --enable-libvidstab      enable video stabilization using vid.stab [no]
  --enable-libvo-aacenc    enable AAC encoding via libvo-aacenc [no]
  --enable-libvo-amrwbenc  enable AMR-WB encoding via libvo-amrwbenc [no]
  --enable-libvorbis      enable Vorbis en/decoding via libvorbis,
                        native implementation exists [no]启用Vorbis支持libvorbis(默认关闭)
  --enable-libvpx          enable VP8 and VP9 de/encoding via libvpx [no]
  --enable-libwavpack      enable wavpack encoding via libwavpack [no]
  --enable-libx264         enable H.264 encoding via x264 [no]启用H.264编码(默认关闭)
  --enable-libxavs         enable AVS encoding via xavs [no]
  --enable-libxvid       enable Xvid encoding via xvidcore,
                        native MPEG-4/Xvid encoder exists [no]启用xvid支持xvidcore(默认关闭)
  --enable-libzmq          enable message passing via libzmq [no]
  --enable-openal          enable OpenAL 1.1 capture support [no]
  --enable-opencl          enable OpenCL code
  --enable-openssl         enable openssl [no]
  --enable-x11grab         enable X11 grabbing [no]
  --disable-zlib           disable zlib [autodetect]禁用zlib(自动检测)


Advanced options (experts only):高级选项参数(供专业人员使用)
  --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
  --target-samples=DIR     path to samples directory on target
  --toolchain=NAME         set tool defaults according to NAME
  --nm=NM                  use nm tool NM [nm -g]使用UM工具
  --ar=AR                  use archive tool AR [ar]
  --as=AS                  use assembler AS []使用汇编语言
  --yasmexe=EXE            use yasm-compatible assembler EXE [yasm]
  --cc=CC                  use C compiler CC [gcc]指定使用何种C编译器(默认gcc)
  --cxx=CXX                use C compiler CXX [g++]
  --dep-cc=DEPCC           use dependency generator DEPCC [gcc]
  --ld=LD                  use linker LD []
  --host-cc=HOSTCC         use host C compiler HOSTCC使用主机C编译器
  --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当链接主机的时候使用libs库
  --host-libs=HLIBS        use libs HLIBS when linking for host
  --host-os=OS             compiler host OS []
  --extra-cflags=ECFLAGS   add ECFLAGS to CFLAGS []添加ECFLAGS到CFLAGS
  --extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS []
  --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS []添加ELDFLAGS到LDFLAGS
  --extra-libs=ELIBS       add ELIBS []添加ELIBS
  --extra-version=STRING   version string suffix []
  --optflags=OPTFLAGS      override optimization-related compiler flags
  --build-suffix=SUFFIX    library name suffix []为专用程序添加后缀
  --malloc-prefix=PREFIX   prefix malloc and related names with PREFIX
  --progs-suffix=SUFFIX    program name suffix []
  --arch=ARCH              select architecture []选择机器架构(默认x86)
  --cpu=CPU              select the minimum required CPU (affects
                        instruction selection, may crash on older CPUs)选用最低的cpu(影响指令的选择,可以在老CPU上出错)
  --enable-pic             build position-independent code
  --enable-sram            allow use of on-chip SRAM
  --enable-thumb           compile for Thumb instruction set
  --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启用模拟内存排列,由内存调试器干涉?
  --enable-lto             use link-time optimization


Optimization options (experts only):
  --disable-asm            disable all assembler optimizations
  --disable-altivec        disable AltiVec 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-fma4           disable FMA4 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-vis            disable VIS optimizations
  --disable-inline-asm     disable use of inline assembler
  --disable-yasm           disable use of yasm assembler
  --disable-mips32r2       disable MIPS32R2 optimizations
  --disable-mipsdspr1      disable MIPS DSP ASE R1 optimizations
  --disable-mipsdspr2      disable MIPS DSP ASE R2 optimizations
  --disable-mipsfpu        disable floating point MIPS 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 []s设置调试等级
  --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-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


NOTE: Object files are built at the place where configure is launched.



注意在此版本中部分参数已经弃用(这些参数在较低版本仍适用)
--enable-libogg          启用ogg支持libogg(默认关闭)enable Ogg support via libogg [default=no]
--enable-faad            启用faad支持libfaad(默认关闭)enable FAAD support via libfaad
--enable-faadbin         启用faad运行时链接支持(默认关闭)build FAAD support with runtime
--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
--enable-dts             启用DTS支持(默认关闭)enable GPLed DTS support [default=no]
--enable-pp              启用后加工支持(默认关闭)enable GPLed postprocessing support
--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-swscaler        启用计数器支持?(默认关闭)software scaler support [default=no]
--make=MAKE              使用特定的make | use specified make [make]
--powerpc-perf-enable    启用PPC上面的性能报告(需要启用PMC)enable performance report on PPC
                           (requires enabling PMC)
--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
--disable-bktr           禁用bktr视频提取(默认启用)disable bktr video grabbing [default=no]
--disable-dv1394         禁用DV1394提取(默认启用)disable DV1394 grabbing [default=no]
--disable-ipv6           禁用ipv6支持(默认支持)disable ipv6 support [default=no]
--disable-simple_idct    禁用simple IDCT例程(默认启用)disable simple IDCT routines
--disable-vhook          禁用video hooking支持 | disable video hooking support
--enable-gprof           enable profiling with gprof [no]
--disable-opts           禁用编译器最优化 | disable compiler optimizations
--disable-mpegaudio-hp   启用更快的解码MPEG音频(但精确度较低)(默认禁用)faster (but less accurate) MPEG audio decoding [default=no]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值