Help options: 帮助选项
--quiet
# 信息输出显示
--list-decoders
# 可用解码器
--list-encoders
# 可用编码器
--list-hwaccels
# 可用硬件编解码器
--list-demuxers
# 可用解复用
--list-muxers
# 可用复用器
--list-parsers
# 可用解析器
--list-protocol
# 可用协议
--list-bsfs
# 可用比特流过滤器
--list-indevs
# 可用输入设备
--list-outdevs
# 可用输出设备
--list-filters
# 可用过滤器
Standard options: 一般选项
--logfile=
# 生成指定的log文件
--disable-logging
# 禁止调试信息
--fatal-warnings
# 任何警告则失败
--prefix=
# 安装目录
--bindir=
# exe和dll安装目录
--datadir=
# 数据安装目录
--docdir=
# 文档安装目录
--libdir=
# 静态库安装目录
--shlibdir=
# 共享库安装目录
--incdir=
# 头文件安装目录
--mandir=
# 帮助文档安装目录
--pkgconfigdir=
# pkg-config安装目录
--enable-rpath=
# 调用程序所用目录
Licensing options: 许可选项
--enable-gpl
# 允许使用GPL, 默认 no
--enable-version3
# 更新GPL版本 ,默认 no
--enable-nonfree
# 允许使用非免费程序,默认 no
Configuration options: 配置选项
--disable-static
# 禁止静态库
--enable-shared
# 启用共享库
--enable-small
# 启用最小尺寸而非速度
--disable-runtime-cpudetect
# 禁用实时的CPU效率检测
--enable-gray
# 启用灰度(颜色、空间转换)
--disable-swscale-alpha
# 禁用swscale中的 透明度
--disable-all
# 禁用所有,包括组 件、库、程序
--enable-raise-major
# 提升版本号, 默认[no]
Program options: 项目选项
--disable-programs
# 禁止生成所有exe
--disable-ffmpeg
# 禁止生成ffmpeg.exe
--disable-ffplay
# 禁止生成ffplay.exe
--disable-ffprobe
# 禁止生成ffprobe.exe
--disable-ffserver
# 禁止生成ffserver.exe
Documentation options: 文档选项
--disable-doc
# 禁止生成doc文件
--disable-htmlpages
# 禁止生成HTML文档页
--disable-manpages
# 禁止生成帮助文档页
--disable-podpages
# 禁止生成POD文档页
--disable-txtpages
# 禁止生成txt文档页
Component options: 组件选项
--disable-avdevice
# 禁止libavdevice构造
--disable-avcodec
# 禁止libavcodec构造
--disable-avformat
# 禁止libavformat构造
--disable-swresample
# 禁止libswresample构造
--disable-swscale
# 禁止libswscale构造
--disable-postproc
# 禁止libpostproc构造
--disable-avfilter
# 禁止libavfilter构造
--enable-avresample
# 允许libavresample构造
--disable-pthreads
# 禁止pthread构造
--disable-w32threads
# 禁止使用win32线程
--disable-os2threads
# 禁止使用OS/2线程
--disable-network
# 禁止网络支持
--disable-dct
# 禁止DCT代码
--disable-dwt
# 禁止DWT代码
--disable-error-resilience
# 禁止纠错
--disable-lsp
# 禁止行同步脉冲
--disable-lzo
# 禁止LZO压缩编码
--disable-mdct
# 禁止修正离散余弦变换
--disable-rdft
# 禁止实数离散傅里叶变换
--disable-fft
# 禁止快速傅氏变换算法
--disable-faan
# 禁止AAN DCT变换
--disable-pixelutils
# 禁用avutil中的像素单元
Individual component options: 单个组件选项
--disable-everything
# 禁用下面已列出的全部组件
--disable-encoder=NAME
# 禁用指定的编码器
--enable-encoder=NAME
# 启用指定的编码器
--disable-encoders
# 禁用所有的编码器
--disable-decoder=
# 禁用指定的解码器
--enable-decoder=
# 启用指定的解码器
--disable-decoders
# 禁用所有的解码器
--disable-hwaccel=
# 禁用指定的硬件加速
--enable-hwaccel=
# 启用指定的硬件加速
--disable-hwaccels
# 禁用全部的硬件加速
--disable-muxer=
# 禁用指定的混合器
--enable-muxer=
# 启用指定的混合器
--disable-muxers
# 禁用所有的混合器
--disable-demuxer=
# 禁用指定的解复用器
--enable-demuxer=
# 启用指定的解复用器
--disable-demuxers
# 禁用所有的解复用器
--enable-parser=
# 启用指定的分析器
--disable-parser=
# 禁用指定的分析器
--disable-parsers
# 禁用所有的分析器
--enable-bsf=NAME
# 启用指定的流过滤器
--disable-bsf=NAME
# 禁用指定的流过滤器
--disable-bsfs
# 禁用所有的流过滤器
--enable-protocol=
# 启用指定的协议
--disable-protocol=
# 禁用指定的协议
--disable-protocols
# 禁用所有的协议
--enable-indev=
# 启用指定的输入设备
--disable-indev=
# 禁用指定的输入设备
--disable-indevs
# 禁用输入设备
--enable-outdev=
# 启用指定的输出设备
--disable-outdev=
# 禁用指定的输出设备
--disable-outdevs
# 禁用输出设备
--disable-devices
# 禁用所有设备
--enable-filter=
# 启用指定的过滤器
--disable-filter=
# 禁用指定的过滤器
--disable-filters
# 禁用所有的过滤器
External library support: 添加依赖库支持
--enable-avisynth
# 启用读取AVISynth脚 本文件
--disable-bzlib
# 启用bzlib
--enable-chromaprint
# 启用音频指 纹技术
--enable-frei0r
# 启用frei0r视频筛选
--enable-gcrypt
# 启用加密 if openssl, librtmp or gmp is not used [no]
--enable-gmp
# 启用gmp if openssl or librtmp is not used [no]
--enable-gnutls
# 启用gnutls if openssl is not used [no]
--disable-iconv
# 禁用iconv
--enable-jni
# 启用JNI支持
--enable-ladspa
# 启用LADSPA音频过滤
--enable-libass
# 启用libass
--enable-libbluray
# 启用libbluray
--enable-libbs2b
# 启用bs2b DSP库
--enable-libcaca
# 启用libcaca用于文本显示
--enable-libcelt
# 启用CEKT解码
--enable-libcdio
# 通过libcdio启用音频CD
--enable-libdc1394
# 启用libdc1394 and libraw1394
--enable-libfdk-aac
# 启用libfdk-aac解码/编码
--enable-libflite
enable flite (voice synthesis) support via libflite [no] # 启用 libflite
--enable-libfontconfig
enable libfontconfig, useful for drawtext filter [no] # 启 用libfontconfig
--enable-libfreetype
enable libfreetype, needed for drawtext filter [no]# 启用 libfreetype
--enable-libfribidi
enable libfribidi, improves drawtext filter [no] # 启用 libfribidi,改善绘画过滤
--enable-libgme
enable Game Music Emu via libgme [no] # 启用libgme
--enable-libgsm
enable GSM de/encoding via libgsm [no] # 启用libgsm做GSM编/解码
--enable-libiec61883
enable iec61883 via libiec61883 [no] # 启用libiec61883
--enable-libilbc
enable iLBC de/encoding via libilbc [no] # 启用libilbc做iLBC编/解码
--enable-libkvazaar
enable HEVC encoding via libkvazaar [no] # 启用libkvazaar做HEVC 编码
--enable-libmodplug
enable ModPlug via libmodplug [no] # 启用ModPlug通过libmodplug
--enable-libmp3lame
enable MP3 encoding via libmp3lame [no] # 启用MP3编码通过 libmp3lame
--enable-libnut
enable NUT (de)muxing via libnut, # 启用NUT解复用通过libnut native (de)muxer exists [no]
--enable-libopencore-amrnb
enable AMR-NB de/encoding via libopencore-amrnb [no] # 启用ARN-NB解/编码
--enable-libopencore-amrwb
enable AMR-WB decoding via libopencore-amrwb [no] # 启 用ARM-WB解码
--enable-libopencv
enable video filtering via libopencv [no] # 启用视频过滤通过 opencv
--enable-libopenh264
enable H.264 encoding via OpenH264 [no] # 启用H.264编码
--enable-libopenjpeg
enable JPEG 2000 de/encoding via OpenJPEG [no] # 启用JPEG编解 码
--enable-libopenmpt
enable decoding tracked files via libopenmpt [no] # 启用解码文件 通过libopenmpt
--enable-libopus
enable Opus de/encoding via libopus [no] # 启用Oplus编解码
--enable-libpulse
enable Pulseaudio input via libpulse [no] # 启用Pulse输入
--enable-librubberband
enable rubberband needed for rubberband filter [no] # 启用 rubberband
--enable-librtmp
enable RTMP[E] support via librtmp [no] # 启用RTMP支持通过librtmp
--enable-libschroedinger
enable Dirac de/encoding via libschroedinger [no] # 启用 Dirac编解码通过libschroedinger
--enable-libshine
enable fixed-point MP3 encoding via libshine [no] # 启用libshine 固定MP3点
--enable-libsmbclient
enable Samba protocol via libsmbclient [no] # 启用Samba协议
--enable-libsnappy
enable Snappy compression, needed for hap encoding [no] # 启用 Snappy压缩
--enable-libsoxr
enable Include libsoxr resampling [no] # 启用libsoxr采样
--enable-libspeex
enable Speex de/encoding via libspeex [no] # 启用Speex编解码
--enable-libssh
enable SFTP protocol via libssh [no] # 启用SFTP协议
--enable-libtesseract
enable Tesseract, needed for ocr filter [no] # 启用Tesseract
--enable-libtheora
enable Theora encoding via libtheora [no] # 启用Theora编码
--enable-libtwolame
enable MP2 encoding via libtwolame [no] # 启用MP2编码
--enable-libv4l2
enable libv4l2/v4l-utils [no] # 启用libv412
--enable-libvidstab
enable video stabilization using vid.stab [no] # 启用 libvidstab
--enable-libvo-amrwbenc
enable AMR-WB encoding via libvo-amrwbenc [no] # 启用AMR- WB
--enable-libvorbis
enable Vorbis en/decoding via libvorbis, # 启用Vorbis编解码 native implementation exists [no]
--enable-libvpx
enable VP8 and VP9 de/encoding via libvpx [no] # 启用VP8/VP9编解码
--enable-libwavpack
enable wavpack encoding via libwavpack [no] # 启用wavpack编码
--enable-libwebp
enable WebP encoding via libwebp [no] # 启用WbebP编码
--enable-libx264
enable H.264 encoding via x264 [no] # 启用H.264编码
--enable-libx265
enable HEVC encoding via x265 [no] # 启用HEVC编码
--enable-libxavs
enable AVS encoding via xavs [no] # 启用AVS编码
--enable-libxcb
enable X11 grabbing using XCB [autodetect] # 启用X11
--enable-libxcb-shm
enable X11 grabbing shm communication [autodetect] # 启用X11
--enable-libxcb-xfixes
enable X11 grabbing mouse rendering [autodetect] # 启用X11
--enable-libxcb-shape
enable X11 grabbing shape rendering [autodetect] # 启用X11
--enable-libxvid
enable Xvid encoding via xvidcore, # 启用Xvid编码 native MPEG-4/Xvid encoder exists [no]
--enable-libzimg
enable z.lib, needed for zscale filter [no] # 启用z.lib
--enable-libzmq
enable message passing via libzmq [no] # 启用消息传递通过libzmq
--enable-libzvbi
enable teletext support via libzvbi [no] # 启用文本支持
--disable-lzma
disable lzma [autodetect] # 禁用lzma
--enable-decklink
enable Blackmagic DeckLink I/O support [no] # 启用阻塞IO支持
--enable-mediacodec
enable Android MediaCodec support [no] # 启用安卓MediaCodec支持
--enable-netcdf
enable NetCDF, needed for sofalizer filter [no] # 启用NetCDF
--enable-openal
enable OpenAL 1.1 capture support [no] # 启用OpenAL1.1采集支持
--enable-opencl
enable OpenCL code # 启用OpenCL代码
--enable-opengl
enable OpenGL rendering [no] # 启用OpenGL
--enable-openssl
enable openssl, needed for https support # 启用openssl,需支持https if gnutls is not used [no]
--disable-schannel
# 启用SSP Windows if openssl and gnutls are not used [autodetect]
--disable-sdl2
disable sdl2 [autodetect] # 禁用sdl2
--disable-securetransport
disable Secure Transport, needed for TLS support # 禁用安全传输
--disable-xlib
disable xlib [autodetect] # 禁用xlib
--disable-zlib
disable zlib [autodetect] # 禁用zlib
--disable-audiotoolbox
disable Apple AudioToolbox code [autodetect] # 禁用苹果音频工 具箱
--disable-cuda
disable dynamically linked Nvidia CUDA code [autodetect] # 禁用CUDA 编程
--disable-cuvid
disable Nvidia CUVID support [autodetect] # 启用Nvidia CUVID
--disable-d3d11va
disable Microsoft Direct3D 11 video acceleration code [autodetect] # 禁用微软Direct3D 11视频加速
--disable-dxva2
disable Microsoft DirectX 9 video acceleration code [autodetect] # 禁用微软錎irectX视频加速
--enable-libmfx
enable Intel MediaSDK (AKA Quick Sync Video) code via libmfx [no] # 启用Intel音频SDk
--enable-libnpp
enable Nvidia Performance Primitives-based code [no] # 启用Nvidia性 能代码
--enable-mmal
enable Broadcom Multi-Media Abstraction Layer (Raspberry Pi) via MMAL [no] # 启用网络多媒体结构层
--disable-nvenc
disable Nvidia video encoding code [autodetect] # 禁用Nvidia视频编码
--enable-omx
enable OpenMAX IL code [no] # 启用OpenMAX IL代码
--enable-omx-rpi
enable OpenMAX IL code for Raspberry Pi [no] # 启用OpenMAX IL代码
--disable-vaapi
disable Video Acceleration API (mainly Unix/Intel) code [autodetect] # 禁用视频加速API
--disable-vda
disable Apple Video Decode Acceleration code [autodetect] # 禁用苹果 视频解码加速代码
--disable-vdpau
disable Nvidia Video Decode and Presentation API for Unix code [autodetect] # 禁用Nvidia视频编码和表达API
--disable-videotoolbox
disable VideoToolbox code [autodetect] # 禁用视频工具箱代码
Toolchain options: 编译工具选项
--arch=ARCH
select architecture [cross_prefix] # 交叉编译工 具目录
--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
compiler targets OS [$target_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 # 交叉编译samples存放目录
--tempprefix=PATH
force fixed dir/prefix instead of mktemp for checks # 交叉编译的 temp目录
--toolchain=NAME
set tool defaults according to NAME # 编译工具
--nm=NM
use nm tool NM[$nm_default]
--ar=AR
use archive tool AR[$ar_default
--as=AS
use assembler AS [$as_default]
--ln_s=LN_S
use symbolic link tool LN_S[$ln_s_default]
--strip=STRIP
use strip tool STRIP[$strip_default]
--windres=WINDRES
use windows resource compiler WINDRES[$windre_default]
--yasmexe=EXE
use yasm-compatible assembler EXE [$yasmexe_default]
# 使用yasm编译
--cc=CC
use C compiler CC [$cc_default]
# 使用gcc编译
--cxx=CXX
use C compiler CXX [$cxx_default]
# 使用g++编译
--objcc=OCC
use ObjC compiler OCC [$cc_default]
# 使用object C编译工具occ编译
--dep-cc=DEPCC
use dependency generator DEPCC [$cc_default]
# 使用依赖生成DEPCC
--ld=LD
use linker LD [$ld_default]
# 使用连接LD
--pkg-config=PKGCONFIG
use pkg-config tool PKGCONFIG[$pkg_config_default]
# 使用 pkg-config工具
--pkg-config-flags=FLAGS
pass additional flags to pkgconf [] # 传递额外标志到pkg- config
--ranlib=RANLIB
use ranlib RANLIB[$ranlib_default]
# 使用RANLIB
--doxygen=DOXYGEN
use DOXYGEN to generate API doc[$doxygen_default]
# 生成doxygen 文档
--host-cc=HOSTCC
use host C compiler HOSTCC # 使用HOST c编译
--host-cflags=HCFLAGS
use HCFLAGS when compiling for host # 使用HCFLAGS
--host-cppflags=HCPPFLAGS
use HCPPFLAGS when compiling for host # 使用HCPPFLAGSS
--host-ld=HOSTLD
use host linker HOSTLD # 使用host连接器
--host-ldflags=HLDFLAGS
use HLDFLAGS when linking for host # 使用HLDFLAGS
--host-libs=HLIBS
use libs HLIBS when linking for host # 使用HLIBS
--host-os=OS
compiler host OS [$target_os]
# 编译主机系统
--extra-cflags=ECFLAGS
add ECFLAGS to CFLAGS [$CFLAGS]
# 添加ECFLAGS到CFLAGS
--extra-cxxflags=ECFLAGS
add ECFLAGS to CXXFLAGS [$CXXFLAGS]
# 添加ECFLAGS到 CXXFLAGS
--extra-objcflags=FLAGS
add FLAGS to OBJCFLAGS [$CFLAGS]
# 添加FLAGS到OBJCFLAGS
--extra-ldflags=ELDFLAGS
add ELDFLAGS to LDFLAGS [\$LDFLAGS]
# 添加ELDFLAGS到 LDFLAGS
--extra-ldexeflags=ELDFLAGS
add ELDFLAGS to LDEXEFLAGS [\$LDEXEFLAGS]
# 添加 ELDFLAGS到LDEXEFLAGS
--extra-ldlibflags=ELDFLAGS
add ELDFLAGS to LDLIBFLAGS[\$LDLIBFLAGS]
# 添加 ELDFLAGS到LDLIBFLAGS
--extra-libs=ELIBS
add ELIBS [\$ELIBS]
# 添加ELIBS
--extra-version=STRING
version string suffix [] # 添加版本
--optflags=OPTFLAGS
override optimization-related compiler flags # 重写优化编译标志
--build-suffix=SUFFIX
library name suffix [] # 添加库名字路径
--enable-pic
build position-independent code # 添加位置独立代码
--enable-thumb
compile for Thumb instruction set # 编译𬭚humb指令集
--enable-lto
use link-time optimization # 使用连接时优化
--env=”ENV=override
override the environment variables # 重写环境变量
Advanced options (experts only): 高级选项
--malloc-prefix=PREFIX
prefix malloc and related names with PREFIX # 申请路径
--custom-allocator=NAME
use a supported custom allocator # 申请名字
--disable-symver
disable symbol versioning # 禁用symver
--enable-hardcoded-tables
use hardcoded tables instead of runtime generation # 启 用硬件编码表
--disable-safe-bitstream-reader
# 禁用安全流阅读器 disable buffer boundary checking in bitreaders (faster, but may crash)
--sws-max-filter-size=N
the max filter size swscale uses [$sws_max_filter_size_default]
# 最大过滤器大小N
Optimization options (experts only): 优化选项
--disable-asm
disable all assembly optimizations # 禁用全部汇编程序优化
--disable-altivec
disable AltiVec optimizations # 禁用邋AltiVec优化
--disable-vsx
disable VSX optimizations # 急用VSX优化
--disable-power8
disable POWER8 optimizations # 禁用power8优化
--disable-amd3dnow
disable 3DNow! optimizations # 禁用3D Now!优化
--disable-amd3dnowext
disable 3DNow! extended optimizations # 禁用3D Now!扩展优化
--disable-mmx
disable MMX optimizations # 禁用MMX优化
--disable-mmxext
disable MMXEXT optimizations # 禁用MMXEXT优化
--disable-sse
disable SSE optimizations # 禁用SSE优化
--disable-sse2
disable SSE2 optimizations # 禁用SSE2优化
--disable-sse3
disable SSE3 optimizations # 禁用SSE3优化
--disable-ssse3
disable SSSE3 optimizations # 禁用SSSE3优化
--disable-sse4
disable SSE4 optimizations # 禁用SSE4优化
--disable-sse42
disable SSE4.2 optimizations # 禁用SSE4.2优化
--disable-avx
disable AVX optimizations # 禁用AVX优化
--disable-xop
disable XOP optimizations # 禁用XOP优化
--disable-fma3
disable FMA3 optimizations # 禁用FMA3优化
--disable-fma4
disable FMA4 optimizations # 禁用FMA4优化
--disable-avx2
disable AVX2 optimizations # 禁用AVX2优化
--disable-aesni
disable AESNI optimizations # 禁用AESNI优化
--disable-armv5te
disable armv5te optimizations # 禁用armv5te优化
--disable-armv6
disable armv6 optimizations # 禁用armv6优化
--disable-armv6t2
disable armv6t2 optimizations # 禁用armv6t2优化
--disable-vfp
disable VFP optimizations # 禁用VFP优化
--disable-neon
disable NEON optimizations # 禁用NEON优化
......
......
感谢享学课堂贡献的文档.