options | ||
---|---|---|
–help | 打印此消息 | rint this message |
–quiet | 抑制显示丰富的输出 | Suppress showing informative output |
–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 | 显示所有可用的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 |
options | ||
---|---|---|
–logfile=FILE | 记录测试并输出到FILE [ffbuild/config.log] | log tests and output to FILE [ffbuild/config.log] |
–disable-logging | 不要记录配置调试信息 | do not log configure debug information |
–fatal-warnings | 如果生成任何配置警告,则失败 | fail if any configure warning is generated |
–prefix=PREFIX | 安装在PREFIX [/usr/local] | install in PREFIX [/usr/local] |
–bindir=DIR | 在DIR中安装二进制文件[PREFIX/bin] | install binaries in DIR [PREFIX/bin] |
–datadir=DIR | 在DIR中安装数据文件[PREFIX/share/ffmpeg] | install data files in DIR [PREFIX/share/ffmpeg] |
–docdir=DIR | 在DIR中安装文档[PREFIX/share/doc/ffmpeg] | install documentation in DIR [PREFIX/share/doc/ffmpeg] |
–libdir=DIR | 在DIR中安装库[PREFIX/lib] | install libs in DIR [PREFIX/lib] |
–shlibdir=DIR | 在DIR [LIBDIR]中安装共享库 | install shared libs in DIR [LIBDIR] |
–incdir=DIR | 安装包含在DIR [PREFIX/include] | install includes in DIR [PREFIX/include] |
–mandir=DIR | 在DIR中安装手册页[PREFIX/share/man] | install man page in DIR [PREFIX/share/man] |
–pkgconfigdir=DIR | 在DIR [LIBDIR/pkgconfig]中安装pkg-config文件 | install pkg-config files in DIR [LIBDIR/pkgconfig] |
–enable-rpath | 使用rpath允许在路径中安装库不是动态链接器搜索路径的一部分链接程序时使用rpath(USE WITH CARE) | not part of the dynamic linker search path use rpath when linking programs (USE WITH CARE) |
–install-name-dir=DIR | 达尔文安装目标的目录名称. | Darwin directory name for installed targets |
options | ||
---|---|---|
–enable-gpl | 允许使用GPL代码,由此产生的库和二进制文件将在GPL [no] | allow use of GPL code, the resulting libs and binaries will be under GPL [no] |
–enable-version3 | 升级(L)GPL到版本3 [否] | upgrade (L)GPL to version 3 [no] |
–enable-nonfree | 允许使用非自由代码,生成的库和二进制文件将是不可分发的[no] | allow use of nonfree code, the resulting libs and binaries will be unredistributable [no] |
options | ||
---|---|---|
–disable-static | 不建立静态库[no] | do not build static libraries [no] |
–enable-shared | 建立共享库[no] | build shared libraries [no] |
–enable-small | 优化大小而不是速度 | optimize for size instead of speed |
–disable-runtime-cpudetect | 禁用在运行时检测CPU功能(较小的二进制) | disable detecting CPU capabilities at runtime (smaller binary) |
–enable-gray | 启用全灰度支持(较慢的颜色) | enable full grayscale support (slower color) |
–disable-swscale-alpha | 禁用swscale中的alpha通道支持 | disable alpha channel support in swscale |
–disable-all | 禁用构建组件,库和程序 | disable building components, libraries and programs |
–disable-autodetect | 禁用自动检测到的外部库[否] | disable automatically detected external libraries [no] |
options | ||
---|---|---|
–disable-programs | 不要建立命令行程序 | do not build command line programs |
–disable-ffmpeg | 禁用ffmpeg构建 | disable ffmpeg build |
–disable-ffplay | 禁用ffplay构建 | disable ffplay build |
–disable-ffprobe | 禁用ffprobe构建 | disable ffprobe build |
options | ||
---|---|---|
–disable-doc | 不要构建文档 | do not build documentation |
–disable-htmlpages | 不要构建HTML文档页面 | do not build HTML documentation pages |
–disable-manpages | 不要建立man文档页面 | do not build man documentation pages |
–disable-podpages | 不要构建POD文档页面 | do not build POD documentation pages |
–disable-txtpages | 不要构建文本文档页面 | do not build text documentation pages |
options | ||
---|---|---|
–disable-avdevice | 禁用libavdevice构建 | disable libavdevice build |
–disable-avcodec | 禁用libavcodec构建 | disable libavcodec build |
–disable-avformat | 禁用libavformat构建 | disable libavformat build |
–disable-swresample | 禁用libswresample构建 | disable libswresample build |
–disable-swscale | 禁用libswscale构建 | disable libswscale build |
–disable-postproc | 禁用libpostproc构建 | disable libpostproc build |
–disable-avfilter | 禁用libavfilter构建 | disable libavfilter build |
–enable-avresample | 启用libavresample构建(不建议使用)[no] | enable libavresample build (deprecated) [no] |
–disable-pthreads | 禁用pthreads [autodetect] | disable pthreads [autodetect] |
–disable-w32threads | 禁用Win32线程[autodetect] | disable Win32 threads [autodetect] |
–disable-os2threads | 禁用OS/2线程[autodetect] | disable OS/2 threads [autodetect] |
–disable-network | 禁用网络支持[no] | disable network support [no] |
–disable-dct | 禁用DCT代码 | disable DCT code |
–disable-dwt | 禁用DWT代码 | disable DWT code |
–disable-error-resilience | 禁用错误恢复代码 | disable error resilience code |
–disable-lsp | 禁用LSP代码 | disable LSP code |
–disable-lzo | 禁用LZO解码器代码 | disable LZO decoder code |
–disable-mdct | 禁用MDCT代码 | disable MDCT code |
–disable-rdft | 禁用RDFT代码 | disable RDFT code |
–disable-fft | 禁用FFT代码 | disable FFT code |
–disable-faan | 禁用浮点AAN(I)DCT代码 | disable floating point AAN (I)DCT code |
–disable-pixelutils | 禁用libavutil中的像素实用程序 | disable pixel utils in libavutil |
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 | 禁用hwaccel名称 | disable hwaccel NAME |
–enable-hwaccel=NAME | 启用hwaccel名称 | enable hwaccel NAME |
–disable-hwaccels | 禁用所有hwaccels | disable all hwaccels |
–disable-muxer=NAME | 禁用muxer名称 | disable muxer NAME |
–enable-muxer=NAME | 启用muxer名称 | enable muxer NAME |
–disable-muxers | 禁用所有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 |
另请注意,以下帮助文本描述了库本身的用途,并非所有功能都必须由FFmpeg使用。
Using any of the following switches will allow FFmpeg to link to the corresponding external library. All the components depending on that library will become enabled, if all their other dependencies are met and they are not explicitly disabled. E.g. –enable-libwavpack will enable linking to libwavpack and allow the libwavpack encoder to be built, unless it is specifically disabled with –disable-encoder=libwavpack.
options | ||
---|---|---|
–disable-alsa | 禁用ALSA支持[autodetect] | disable ALSA support [autodetect] |
–disable-appkit | 禁用Apple AppKit框架[autodetect] | disable Apple AppKit framework [autodetect] |
–disable-avfoundation | 禁用Apple AVFoundation框架[autodetect] | disable Apple AVFoundation framework [autodetect] |
–enable-avisynth | 启用AviSynth脚本文件的阅读[no] | enable reading of AviSynth script files [no] |
–disable-bzlib | 禁用bzlib [autodetect] | disable bzlib [autodetect] |
–disable-coreimage | 禁用Apple CoreImage框架[autodetect] | disable Apple CoreImage framework [autodetect] |
–enable-chromaprint | 使用chromaprint启用音频指纹[no] | enable audio fingerprinting with chromaprint [no] |
–enable-frei0r | 启用frei0r视频过滤[no] | enable frei0r video filtering [no] |
–enable-gcrypt | 启用gcrypt,如果不使用openssl,librtmp或gmp,则需要rtmp(t)e支持[no] | enable gcrypt, needed for rtmp(t)e support if openssl, librtmp or gmp is not used [no] |
–enable-gmp | 启用gmp,如果不使用openssl或librtmp,则为rtmp(t)e支持所需的[no] | enable gmp, needed for rtmp(t)e support if openssl or librtmp is not used [no] |
–enable-gnutls | 启用gnutls,如果不使用openssl或libtls,则需要https支持[no] | enable gnutls, needed for https support if openssl or libtls is not used [no] |
–disable-iconv | 禁用iconv [自动检测] | disable iconv [autodetect] |
–enable-jni | 启用JNI支持[no] | enable JNI support [no] |
–enable-ladspa | 启用LADSPA音频过滤[no] | enable LADSPA audio filtering [no] |
–enable-libass | 启用libass字幕渲染,字幕和屁屁过滤需要[no] | enable libass subtitles rendering, needed for subtitles and ass filter [no] |
–enable-libbluray | 使用libbluray启用蓝光阅读[no] | enable BluRay reading using libbluray [no] |
–enable-libbs2b | 启用bs2b DSP库[no] | enable bs2b DSP library [no] |
–enable-libcaca | 使用libcaca启用文本显示[no] | enable textual display using libcaca [no] |
–enable-libcelt | 通过libcelt启用CELT解码[no] | enable CELT decoding via libcelt [no] |
–enable-libcdio | 使用libcdio启用音频CD抓取[no] | enable audio CD grabbing with libcdio [no] |
–enable-libcodec2 | 启用codec2 en /使用libcodec2解码[no] | enable codec2 en/decoding using libcodec2 [no] |
–enable-libdc1394 | 使用libdc1394和libraw1394启用IIDC-1394抓取[no] | enable IIDC-1394 grabbing using libdc1394 and libraw1394 [no] |
–enable-libfdk-aac | 通过libfdk-aac启用AAC de /编码[no] | enable AAC de/encoding via libfdk-aac [no] |
–enable-libflite | 通过libflite启用flite(语音合成)支持[no] | enable flite (voice synthesis) support via libflite [no] |
–enable-libfontconfig | 启用libfontconfig,对于drawtext filter有用[no] | enable libfontconfig, useful for drawtext filter [no] |
–enable-libfreetype | 启用drawtext过滤器所需的libfreetype [no] | enable libfreetype, needed for drawtext filter [no] |
–enable-libfribidi | 启用libfribidi,改进drawtext过滤器[no] | enable libfribidi, improves drawtext filter [no] |
–enable-libgme | 通过libgme启用游戏音乐Emu [no] | enable Game Music Emu via libgme [no] |
–enable-libgsm | 通过libgsm启用GSM de /编码[no] | enable GSM de/encoding via libgsm [no] |
–enable-libiec61883 | 通过libiec61883启用iec61883 [no] | enable iec61883 via libiec61883 [no] |
–enable-libilbc | 通过libilbc启用iLBC解码/编码[no] | enable iLBC de/encoding via libilbc [no] |
–enable-libjack | 启用JACK音频声音服务器[否] | enable JACK audio sound server [no] |
–enable-libkvazaar | 通过libkvazaar启用HEVC编码[no] | enable HEVC encoding via libkvazaar [no] |
–enable-libmodplug | 通过libmodplug启用ModPlug [no] | enable ModPlug via libmodplug [no] |
–enable-libmp3lame | 通过libmp3lame启用MP3编码[no] | enable MP3 encoding via libmp3lame [no] |
–enable-libopencore-amrnb | 通过libopencore-amrnb启用AMR-NB解码/编码[no] | enable AMR-NB de/encoding via libopencore-amrnb [no] |
–enable-libopencore-amrwb | 通过libopencore-amrwb启用AMR-WB解码[no] | enable AMR-WB decoding via libopencore-amrwb [no] |
–enable-libopencv | 通过libopencv启用视频过滤[no] | enable video filtering via libopencv [no] |
–enable-libopenh264 | 通过OpenH264启用H.264编码[no] | enable H.264 encoding via OpenH264 [no] |
–enable-libopenjpeg | 通过OpenJPEG启用JPEG 2000 de /编码[no] | enable JPEG 2000 de/encoding via OpenJPEG [no] |
–enable-libopenmpt | 通过libopenmpt启用解码跟踪文件[no] | enable decoding tracked files via libopenmpt [no] |
–enable-libopus | 通过libopus启用Opus de /编码[no] | enable Opus de/encoding via libopus [no] |
–enable-libpulse | 通过libpulse启用Pulseaudio输入[no] | enable Pulseaudio input via libpulse [no] |
–enable-librsvg | 通过librsvg启用SVG光栅化[no] | enable SVG rasterization via librsvg [no] |
–enable-librubberband | 启用橡胶带过滤器所需的橡胶带[否] | enable rubberband needed for rubberband filter [no] |
–enable-librtmp | 通过librtmp启用RTMP [E]支持[no] | enable RTMP[E] support via librtmp [no] |
–enable-libshine | 通过libshine启用定点MP3编码[no] | enable fixed-point MP3 encoding via libshine [no] |
–enable-libsmbclient | 通过libsmbclient启用Samba协议[no] | enable Samba protocol via libsmbclient [no] |
–enable-libsnappy | 启用Snappy压缩,需要进行hap编码[no] | enable Snappy compression, needed for hap encoding [no] |
–enable-libsoxr | 启用Include libsoxr resampling [no] | enable Include libsoxr resampling [no] |
–enable-libspeex | 通过libspeex启用Speex de /编码[no] | enable Speex de/encoding via libspeex [no] |
–enable-libssh | 通过libssh启用SFTP协议[no] | enable SFTP protocol via libssh [no] |
–enable-libtesseract | 启用Tesseract,用于ocr过滤器[no] | enable Tesseract, needed for ocr filter [no] |
–enable-libtheora | 通过libtheora启用Theora编码[no] | enable Theora encoding via libtheora [no] |
–enable-libtls | 启用LibreSSL(通过libtls),如果不使用openssl或gnutls,则需要https支持[no] | enable LibreSSL (via libtls), needed for https support if openssl or gnutls is not used [no] |
–enable-libtwolame | 通过libtwolame启用MP2编码[no] | enable MP2 encoding via libtwolame [no] |
–enable-libv4l2 | 启用libv4l2 / v4l-utils [no] | enable libv4l2/v4l-utils [no] |
–enable-libvidstab | 使用vid.stab启用视频稳定[no] | enable video stabilization using vid.stab [no] |
–enable-libvmaf | 通过libvmaf启用vmaf过滤器[no] | enable vmaf filter via libvmaf [no] |
–enable-libvo-amrwbenc | 通过libvo-amrwbenc启用AMR-WB编码[no] | enable AMR-WB encoding via libvo-amrwbenc [no] |
–enable-libvorbis | 通过libvorbis启用Vorbis en /解码,本地实现存在[no] | enable Vorbis en/decoding via libvorbis, native implementation exists [no] |
–enable-libvpx | 通过libvpx启用VP8和VP9解码/编码[no] | enable VP8 and VP9 de/encoding via libvpx [no] |
–enable-libwavpack | 通过libwavpack启用wavpack编码[no] | enable wavpack encoding via libwavpack [no] |
–enable-libwebp | 通过libwebp启用WebP编码[no] | enable WebP encoding via libwebp [no] |
–enable-libx264 | 通过x264启用H.264编码[no] | enable H.264 encoding via x264 [no] |
–enable-libx265 | 通过x265启用HEVC编码[no] | enable HEVC encoding via x265 [no] |
–enable-libxavs | 通过xavs启用AVS编码[no] | enable AVS encoding via xavs [no] |
–enable-libxcb | 使用XCB启用X11抓取[自动检测] | enable X11 grabbing using XCB [autodetect] |
–enable-libxcb-shm | 启用X11抓取shm通讯[autodetect] | enable X11 grabbing shm communication [autodetect] |
–enable-libxcb-xfixes | 启用X11抓取鼠标渲染[autodetect] | enable X11 grabbing mouse rendering [autodetect] |
–enable-libxcb-shape | 启用X11抓取形状渲染[autodetect] | enable X11 grabbing shape rendering [autodetect] |
–enable-libxvid | 通过xvidcore启用Xvid编码,存在原生MPEG-4 / Xvid编码器[no] | enable Xvid encoding via xvidcore, native MPEG-4/Xvid encoder exists [no] |
–enable-libxml2 | 使用C库启用XML解析libxml2 [no] | enable XML parsing using the C library libxml2 [no] |
–enable-libzimg | 启用zscale过滤器所需的z.lib [no] | enable z.lib, needed for zscale filter [no] |
–enable-libzmq | 启用通过libzmq消息传递[no] | enable message passing via libzmq [no] |
–enable-libzvbi | 通过libzvbi启用图文电视支持[no] | enable teletext support via libzvbi [no] |
–enable-lv2 | 启用LV2音频过滤[no] | enable LV2 audio filtering [no] |
–disable-lzma | 禁用lzma [autodetect] | disable lzma [autodetect] |
–enable-decklink | 启用Blackmagic DeckLink I / O支持[no] | enable Blackmagic DeckLink I/O support [no] |
–enable-libndi_newtek | 启用Newteck NDI I / O支持[no] | enable Newteck NDI I/O support [no] |
–enable-mediacodec | 启用Android MediaCodec支持[no] | enable Android MediaCodec support [no] |
–enable-libmysofa | 启用sofmizer过滤器所需的libmysofa [no] | enable libmysofa, needed for sofalizer filter [no] |
–enable-openal | 启用OpenAL 1.1捕获支持[no] | enable OpenAL 1.1 capture support [no] |
–enable-opencl | 启用OpenCL处理[否] | enable OpenCL processing [no] |
–enable-opengl | 启用OpenGL渲染[no] | enable OpenGL rendering [no] |
–enable-openssl | 启用openssl,如果不使用gnutls或libtls,则需要https支持[no] | enable openssl, needed for https support if gnutls or libtls is not used [no] |
–disable-sndio | 禁用sndio支持[autodetect] | disable sndio support [autodetect] |
–disable-schannel | 如果未使用openssl和gnutls,则禁用Windows上TLS支持所需的SChannel SSP [autodetect] | disable SChannel SSP, needed for TLS support on Windows if openssl and gnutls are not used [autodetect] |
–disable-sdl2 | 禁用sdl2 [autodetect] | disable sdl2 [autodetect] |
–disable-securetransport | 如果未使用openssl和gnutls,请禁用OSX上TLS支持所需的安全传输[autodetect] | disable Secure Transport, needed for TLS support on OSX if openssl and gnutls are not used [autodetect] |
–disable-xlib | 禁用xlib [autodetect] | disable xlib [autodetect] |
–disable-zlib | 禁用zlib [autodetect] | disable zlib [autodetect] |
以下库提供了各种硬件加速功能
options | ||
---|---|---|
–disable-amf | 禁用AMF视频编码代码[autodetect] | disable AMF video encoding code [autodetect] |
–disable-audiotoolbox | 禁用Apple AudioToolbox代码[autodetect] | disable Apple AudioToolbox code [autodetect] |
–enable-cuda-sdk | 启用需要CUDA SDK的CUDA功能[否] | enable CUDA features that require the CUDA SDK [no] |
–disable-cuvid | 禁用Nvidia CUVID支持[autodetect] | disable Nvidia CUVID support [autodetect] |
–disable-d3d11va | 禁用Microsoft Direct3D 11视频加速代码[autodetect] | disable Microsoft Direct3D 11 video acceleration code [autodetect] |
–disable-dxva2 | 禁用Microsoft DirectX 9视频加速代码[autodetect] | disable Microsoft DirectX 9 video acceleration code [autodetect] |
–disable-ffnvcodec | 禁用动态链接的Nvidia代码[autodetect] | disable dynamically linked Nvidia code [autodetect] |
–enable-libdrm | 启用DRM代码(Linux)[no] | enable DRM code (Linux) [no] |
–enable-libmfx | 通过libmfx启用Intel MediaSDK(AKA快速同步视频)代码[no] | enable Intel MediaSDK (AKA Quick Sync Video) code via libmfx [no] |
–enable-libnpp | 启用基于Nvidia Performance Primitives的代码[no] | enable Nvidia Performance Primitives-based code [no] |
–enable-mmal | 通过MMAL启用Broadcom多媒体抽象层(树莓派)[no] | enable Broadcom Multi-Media Abstraction Layer (Raspberry Pi) via MMAL [no] |
–disable-nvdec | 禁用Nvidia视频解码加速(通过hwaccel)[autodetect] | disable Nvidia video decoding acceleration (via hwaccel) [autodetect] |
–disable-nvenc | 禁用Nvidia视频编码代码[autodetect] | disable Nvidia video encoding code [autodetect] |
–enable-omx | 启用OpenMAX IL代码[no] | enable OpenMAX IL code [no] |
–enable-omx-rpi | 为Raspberry Pi启用OpenMAX IL代码[no] | enable OpenMAX IL code for Raspberry Pi [no] |
–enable-rkmpp | 启用瑞芯微媒体处理平台代码[no] | enable Rockchip Media Process Platform code [no] |
–disable-v4l2-m2m | 禁用V4L2 mem2mem代码[autodetect] | disable V4L2 mem2mem code [autodetect] |
–disable-vaapi | 禁用Video Acceleration API(主要是Unix / Intel)代码[autodetect] | disable Video Acceleration API (mainly Unix/Intel) code [autodetect] |
–disable-vdpau | 禁用用于Unix代码的Nvidia视频解码和演示API [autodetect] | disable Nvidia Video Decode and Presentation API for Unix code [autodetect] |
–disable-videotoolbox | 禁用VideoToolbox代码[autodetect] | disable VideoToolbox code [autodetect] |
options | ||
---|---|---|
–arch=ARCH | 选择架构[] | select architecture [] |
–cpu=CPU | 选择所需的最小CPU(影响指令选择,可能会在较旧的CPU上崩溃) | select the minimum required CPU (affects instruction selection, may crash on older CPUs) |
–cross-prefix=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 | 编译目标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 | 强制固定目录/前缀而不是mktemp进行检查 | force fixed dir/prefix instead of mktemp for checks |
–toolchain=NAME | 根据NAME设置工具默认值 | set tool defaults according to NAME |
–nm=NM | 使用nm工具NM [nm -g] | use nm tool NM [nm -g] |
–ar=AR | 使用归档工具AR [ar] | use archive tool AR [ar] |
–as=AS | 使用汇编程序AS [] | use assembler AS [] |
–ln_s=LN_S | 使用符号链接工具LN_S [ln -s -f] | use symbolic link tool LN_S [ln -s -f] |
–strip=STRIP | 使用条形工具STRIP [strip] | use strip tool STRIP [strip] |
–windres=WINDRES | 使用windows资源编译器WINDRES [windres] | use windows resource compiler WINDRES [windres] |
–x86asmexe=EXE | 使用兼容nasm的汇编程序EXE [nasm] | use nasm-compatible assembler EXE [nasm] |
–cc=CC | 使用C编译器CC [gcc] | use C compiler CC [gcc] |
–cxx=CXX | 使用C编译器CXX [g ++] | use C compiler CXX [g++] |
–objcc=OCC | 使用ObjC编译器OCC [gcc] | use ObjC compiler OCC [gcc] |
–dep-cc=DEPCC | 使用依赖关系生成器DEPCC [gcc] | use dependency generator DEPCC [gcc] |
–nvcc=NVCC | 使用Nvidia CUDA编译器NVCC [nvcc] | use Nvidia CUDA compiler NVCC [nvcc] |
–ld=LD | 使用链接器LD [] | use linker LD [] |
–pkg-config=PKGCONFIG | 使用pkg-config工具PKGCONFIG [pkg-config] | use pkg-config tool PKGCONFIG [pkg-config] |
–pkg-config-flags=FLAGS | 将附加标志传递给pkgconf [] | pass additional flags to pkgconf [] |
–ranlib=RANLIB | 使用ranlib RANLIB [ranlib] | use ranlib RANLIB [ranlib] |
–doxygen=DOXYGEN | 使用DOXYGEN生成API文档[doxygen] | use DOXYGEN to generate API doc [doxygen] |
–host-cc=HOSTCC | 使用主机C编译器HOSTCC | use host C compiler HOSTCC |
–host-cflags=HCFLAGS | 编译主机时使用HCFLAGS | use HCFLAGS when compiling for host |
–host-cppflags=HCPPFLAGS | 编译主机时使用HCPPFLAGS | use HCPPFLAGS when compiling for host |
–host-ld=HOSTLD | 使用主机链接器HOSTLD | use host linker HOSTLD |
–host-ldflags=HLDFLAGS | 链接主机时使用HLDFLAGS | use HLDFLAGS when linking for host |
–host-libs=HLIBS | 链接主机时使用libs HLIBS | use libs HLIBS when linking for host |
–host-os=OS | 编译器主机OS [] | compiler host OS [] |
–extra-cflags=ECFLAGS | 将ECFLAGS添加到CFLAGS [] | add ECFLAGS to CFLAGS [] |
–extra-cxxflags=ECFLAGS | 将ECFLAGS添加到CXXFLAGS [] | add ECFLAGS to CXXFLAGS [] |
–extra-objcflags=FLAGS | 将标志添加到OBJCFLAGS [] | add FLAGS to OBJCFLAGS [] |
–extra-ldflags=ELDFLAGS | 将ELDFLAGS添加到LDFLAGS [] | add ELDFLAGS to LDFLAGS [] |
–extra-ldexeflags=ELDFLAGS | 将ELDFLAGS添加到LDEXEFLAGS [] | add ELDFLAGS to LDEXEFLAGS [] |
–extra-ldsoflags=ELDFLAGS | 将ELDFLAGS添加到LDSOFLAGS [] | add ELDFLAGS to LDSOFLAGS [] |
–extra-libs=ELIBS | 添加ELIBS [] | add ELIBS [] |
–extra-version=STRING | 版本字符串后缀[] | version string suffix [] |
–optflags=OPTFLAGS | 覆盖与优化相关的编译器标志 | override optimization-related compiler flags |
–nvccflags=NVCCFLAGS | 覆盖nvcc标志[-gencode arch = compute_30,code = sm_30 -O2] | override nvcc flags [-gencode arch=compute_30,code=sm_30 -O2] |
–build-suffix=SUFFIX | 库名后缀[] | library name suffix [] |
–enable-pic | 建立与位置无关的代码 | build position-independent code |
–enable-thumb | 编译为Thumb指令集 | compile for Thumb instruction set |
–enable-lto | 使用链接时间优化 | use link-time optimization |
–env=”ENV=override” | 覆盖环境变量 | override the environment variables |
options | ||
---|---|---|
–malloc-prefix=PREFIX | 前缀malloc和相关的名字与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 | 在bitreaders中禁用缓冲区边界检查(更快,但可能会崩溃) | disable buffer boundary checking in bitreaders(faster, but may crash) |
–sws-max-filter-size=N | 最大过滤器大小swscale使用[256] | the max filter size swscale uses [256] |
options | ||
---|---|---|
–disable-asm | 禁用所有程序集优化 | disable all assembly optimizations |
–disable-altivec | 禁用AltiVec优化 | disable AltiVec optimizations |
–disable-vsx | 禁用VSX优化 | disable VSX optimizations |
–disable-power8 | 禁用POWER8优化 | disable POWER8 optimizations |
–disable-amd3dnow | 禁用3DNow!优化 | disable 3DNow! optimizations |
–disable-amd3dnowext | 禁用3DNow!扩展优化 | disable 3DNow! extended optimizations |
–disable-mmx | 禁用MMX优化 | disable MMX optimizations |
–disable-mmxext | 禁用MMXEXT优化 | disable MMXEXT optimizations |
–disable-sse | 禁用SSE优化 | disable SSE optimizations |
–disable-sse2 | 禁用SSE2优化 | disable SSE2 optimizations |
–disable-sse3 | 禁用SSE3优化 | disable SSE3 optimizations |
–disable-ssse3 | 禁用SSSE3优化 | disable SSSE3 optimizations |
–disable-sse4 | 禁用SSE4优化 | disable SSE4 optimizations |
–disable-sse42 | 禁用SSE4.2优化 | disable SSE4.2 optimizations |
–disable-avx | 禁用AVX优化 | disable AVX optimizations |
–disable-xop | 禁用XOP优化 | disable XOP optimizations |
–disable-fma3 | 禁用FMA3优化 | disable FMA3 optimizations |
–disable-fma4 | 禁用FMA4优化 | disable FMA4 optimizations |
–disable-avx2 | 禁用AVX2优化 | disable AVX2 optimizations |
–disable-avx512 | 禁用AVX-512优化 | disable AVX-512 optimizations |
–disable-aesni | 禁用AESNI优化 | disable AESNI optimizations |
–disable-armv5te | 禁用armv5te优化 | disable armv5te optimizations |
–disable-armv6 | 禁用armv6优化 | disable armv6 optimizations |
–disable-armv6t2 | 禁用armv6t2优化 | disable armv6t2 optimizations |
–disable-vfp | 禁用VFP优化 | disable VFP optimizations |
–disable-neon | 禁用NEON优化 | disable NEON optimizations |
–disable-inline-asm | 禁用内联汇编的使用 | disable use of inline assembly |
–disable-x86asm | 禁用独立x86程序集的使用 | disable use of standalone x86 assembly |
–disable-mipsdsp | 禁用MIPS DSP ASE R1优化 | disable MIPS DSP ASE R1 optimizations |
–disable-mipsdspr2 | 禁用MIPS DSP ASE R2优化 | disable MIPS DSP ASE R2 optimizations |
–disable-msa | 禁用MSA优化 | disable MSA optimizations |
–disable-mipsfpu | 禁用浮点MIPS优化 | disable floating point MIPS optimizations |
–disable-mmi | 禁用龙芯SIMD优化 | disable Loongson SIMD optimizations |
–disable-fast-unaligned | 考虑未对齐的访问速度缓慢 | consider unaligned accesses slow |
options | ||
---|---|---|
–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(默认),1或2,断言测试的数量,2在运行时导致减速。 | 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 | 使用指定的valgrind二进制文件,通过valgrind运行“make fate”测试来检测内存泄漏和错误。不能与–target-exec结合使用 | 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 | FATE的测试样本的位置,如果未设置,则在调用时使用 FATESAMPLES。|locationoftestsamplesforFATE,ifnotsetuse F A T E S A M P L E S 。 | l o c a t i o n o f t e s t s a m p l e s f o r F A T E , i f n o t s e t u s e FATE_SAMPLES at make invocation time. | |
–enable-neon-clobber-test | 检查NEON寄存器是否存在破坏(应仅用于调试目的) | check NEON registers for clobbering (should be used only for debugging purposes) |
–enable-xmm-clobber-test | 检查XMM寄存器是否存在破坏(仅适用于Win64;应仅用于调试目的) | 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 | 组件组。 LIST是NAME [:PROB]条目的逗号分隔列表,其中NAME是组件,PROB是与NAME相关的概率(默认值为0.5)。 | 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 | 种子值为–enable / disable-random | seed value for –enable/disable-random |
–disable-valgrind-backtrace | 不要在Valgrind下打印回溯(仅适用于–disable-optimizations构建) | do not print a backtrace under Valgrind (only applies to –disable-optimizations builds) |
–enable-osfuzz | 启用构建模糊工具 | Enable building fuzzer tool |
–libfuzzer=PATH | 通往libfuzzer的路径 | path to libfuzzer |
–ignore-tests=TESTS | 以逗号分隔的列表(名称中没有“命运 - ”前缀),其结果被忽略 | comma-separated list (without “fate-” prefix in the name) of tests whose result is ignored |
–enable-linux-perf | 启用Linux性能监视器API | enable Linux Performance Monitor API |
NOTE: Object files are built at the place where configure is launched.
注:对象文件是在启动配置的位置构建的。