| 1 |
Usage: configure [options] |
| 2 |
Options: [defaults in brackets after descriptions] |
| 3 |
|
| 4 |
Help options: |
| 5 |
--help print this message |
| 6 |
--quiet Suppress showing informative output |
| 7 |
--list-decoders show all available decoders |
| 8 |
--list-encoders show all available encoders |
| 9 |
--list-hwaccels show all available hardware accelerators |
| 10 |
--list-demuxers show all available demuxers |
| 11 |
--list-muxers show all available muxers |
| 12 |
--list-parsers show all available parsers |
| 13 |
--list-protocols show all available protocols |
| 14 |
--list-bsfs show all available bitstream filters |
| 15 |
--list-indevs show all available input devices |
| 16 |
--list-outdevs show all available output devices |
| 17 |
--list-filters show all available filters |
| 18 |
|
| 19 |
Standard options: |
| 20 |
--logfile=FILE log tests and output to FILE [ffbuild/config.log] |
| 21 |
--disable-logging do not log configure debug information |
| 22 |
--fatal-warnings fail if any configure warning is generated |
| 23 |
--prefix=PREFIX install in PREFIX [/usr/local] |
| 24 |
--bindir=DIR install binaries in DIR [PREFIX/bin] |
| 25 |
--datadir=DIR install data files in DIR [PREFIX/share/ffmpeg] |
| 26 |
--docdir=DIR install documentation in DIR [PREFIX/share/doc/ffmpeg] |
| 27 |
--libdir=DIR install libs in DIR [PREFIX/lib] |
| 28 |
--shlibdir=DIR install shared libs in DIR [LIBDIR] |
| 29 |
--incdir=DIR install includes in DIR [PREFIX/include] |
| 30 |
--mandir=DIR install man page in DIR [PREFIX/share/man] |
| 31 |
--pkgconfigdir=DIR install pkg-config files in DIR [LIBDIR/pkgconfig] |
| 32 |
--enable-rpath use rpath to allow installing libraries in paths |
| 33 |
not part of the dynamic linker search path |
| 34 |
use rpath when linking programs (USE WITH CARE) |
| 35 |
--install-name-dir=DIR Darwin directory name for installed targets |
| 36 |
|
| 37 |
Licensing options: |
| 38 |
--enable-gpl allow use of GPL code, the resulting libs |
| 39 |
and binaries will be under GPL [no] |
| 40 |
--enable-version3 upgrade (L)GPL to version 3 [no] |
| 41 |
--enable-nonfree allow use of nonfree code, the resulting libs |
| 42 |
and binaries will be unredistributable [no] |
| 43 |
|
| 44 |
Configuration options: |
| 45 |
--disable-static do not build static libraries [no] |
| 46 |
--enable-shared build shared libraries [no] |
| 47 |
--enable-small optimize for size instead of speed |
| 48 |
--disable-runtime-cpudetect disable detecting CPU capabilities at runtime (smaller binary) |
| 49 |
--enable-gray enable full grayscale support (slower color) |
| 50 |
--disable-swscale-alpha disable alpha channel support in swscale |
| 51 |
--disable-all disable building components, libraries and programs |
| 52 |
--disable-autodetect disable automatically detected external libraries [no] |
| 53 |
|
| 54 |
Program options: |
| 55 |
--disable-programs do not build command line programs |
| 56 |
--disable-ffmpeg disable ffmpeg build |
| 57 |
--disable-ffplay disable ffplay build |
| 58 |
--disable-ffprobe disable ffprobe build |
| 59 |
|
| 60 |
Documentation options: |
| 61 |
--disable-doc do not build documentation |
| 62 |
--disable-htmlpages do not build HTML documentation pages |
| 63 |
--disable-manpages do not build man documentation pages |
| 64 |
--disable-podpages do not build POD documentation pages |
| 65 |
--disable-txtpages do not build text documentation pages |
| 66 |
|
| 67 |
Component options: |
| 68 |
--disable-avdevice disable libavdevice build |
| 69 |
--disable-avcodec disable libavcodec build |
| 70 |
--disable-avformat disable libavformat build |
| 71 |
--disable-swresample disable libswresample build |
| 72 |
--disable-swscale disable libswscale build |
| 73 |
--disable-postproc disable libpostproc build |
| 74 |
--disable-avfilter disable libavfilter build |
| 75 |
--disable-pthreads disable pthreads [autodetect] |
| 76 |
--disable-w32threads disable Win32 threads [autodetect] |
| 77 |
--disable-os2threads disable OS/2 threads [autodetect] |
| 78 |
--disable-network disable network support [no] |
| 79 |
--disable-dwt disable DWT code |
| 80 |
--disable-error-resilience disable error resilience code |
| 81 |
--disable-lsp disable LSP code |
| 82 |
--disable-faan disable floating point AAN (I)DCT code |
| 83 |
--disable-pixelutils disable pixel utils in libavutil |
| 84 |
|
| 85 |
Individual component options: |
| 86 |
--disable-everything disable all components listed below |
| 87 |
--disable-encoder=NAME disable encoder NAME |
| 88 |
--enable-encoder=NAME enable encoder NAME |
| 89 |
--disable-encoders disable all encoders |
| 90 |
--disable-decoder=NAME disable decoder NAME |
| 91 |
--enable-decoder=NAME enable decoder NAME |
| 92 |
--disable-decoders disable all decoders |
| 93 |
--disable-hwaccel=NAME disable hwaccel NAME |
| 94 |
--enable-hwaccel=NAME enable hwaccel NAME |
| 95 |
--disable-hwaccels disable all hwaccels |
| 96 |
--disable-muxer=NAME disable muxer NAME |
| 97 |
--enable-muxer=NAME enable muxer NAME |
| 98 |
--disable-muxers disable all muxers |
| 99 |
--disable-demuxer=NAME disable demuxer NAME |
| 100 |
--enable-demuxer=NAME enable demuxer NAME |
| 101 |
--disable-demuxers disable all demuxers |
| 102 |
--enable-parser=NAME enable parser NAME |
| 103 |
--disable-parser=NAME disable parser NAME |
| 104 |
--disable-parsers disable all parsers |
| 105 |
--enable-bsf=NAME enable bitstream filter NAME |
| 106 |
--disable-bsf=NAME disable bitstream filter NAME |
| 107 |
--disable-bsfs disable all bitstream filters |
| 108 |
--enable-protocol=NAME enable protocol NAME |
| 109 |
--disable-protocol=NAME disable protocol NAME |
| 110 |
--disable-protocols disable all protocols |
| 111 |
--enable-indev=NAME enable input device NAME |
| 112 |
--disable-indev=NAME disable input device NAME |
| 113 |
--disable-indevs disable input devices |
| 114 |
--enable-outdev=NAME enable output device NAME |
| 115 |
--disable-outdev=NAME disable output device NAME |
| 116 |
--disable-outdevs disable output devices |
| 117 |
--disable-devices disable all devices |
| 118 |
--enable-filter=NAME enable filter NAME |
| 119 |
--disable-filter=NAME disable filter NAME |
| 120 |
--disable-filters disable all filters |
| 121 |
|
| 122 |
External library support: |
| 123 |
|
| 124 |
Using any of the following switches will allow FFmpeg to link to the |
| 125 |
corresponding external library. All the components depending on that library |
| 126 |
will become enabled, if all their other dependencies are met and they are not |
| 127 |
explicitly disabled. E.g. --enable-libopus will enable linking to |
| 128 |
libopus and allow the libopus encoder to be built, unless it is |
| 129 |
specifically disabled with --disable-encoder=libopus. |
| 130 |
|
| 131 |
Note that only the system libraries are auto-detected. All the other external |
| 132 |
libraries must be explicitly enabled. |
| 133 |
|
| 134 |
Also note that the following help text describes the purpose of the libraries |
| 135 |
themselves, not all their features will necessarily be usable by FFmpeg. |
| 136 |
|
| 137 |
--disable-alsa disable ALSA support [autodetect] |
| 138 |
--disable-appkit disable Apple AppKit framework [autodetect] |
| 139 |
--disable-avfoundation disable Apple AVFoundation framework [autodetect] |
| 140 |
--enable-avisynth enable reading of AviSynth script files [no] |
| 141 |
--disable-bzlib disable bzlib [autodetect] |
| 142 |
--disable-coreimage disable Apple CoreImage framework [autodetect] |
| 143 |
--enable-chromaprint enable audio fingerprinting with chromaprint [no] |
| 144 |
--enable-frei0r enable frei0r video filtering [no] |
| 145 |
--enable-gcrypt enable gcrypt, needed for rtmp(t)e support |
| 146 |
if openssl, librtmp or gmp is not used [no] |
| 147 |
--enable-gmp enable gmp, needed for rtmp(t)e support |
| 148 |
if openssl or librtmp is not used [no] |
| 149 |
--enable-gnutls enable gnutls, needed for https support |
| 150 |
if openssl, libtls or mbedtls is not used [no] |
| 151 |
--disable-iconv disable iconv [autodetect] |
| 152 |
--enable-jni enable JNI support [no] |
| 153 |
--enable-ladspa enable LADSPA audio filtering [no] |
| 154 |
--enable-lcms2 enable ICC profile support via LittleCMS 2 [no] |
| 155 |
--enable-libaom enable AV1 video encoding/decoding via libaom [no] |
| 156 |
--enable-libaribb24 enable ARIB text and caption decoding via libaribb24 [no] |
| 157 |
--enable-libaribcaption enable ARIB text and caption decoding via libaribcaption [no] |
| 158 |
--enable-libass enable libass subtitles rendering, |
| 159 |
needed for subtitles and ass filter [no] |
| 160 |
--enable-libbluray enable BluRay reading using libbluray [no] |
| 161 |
--enable-libbs2b enable bs2b DSP library [no] |
| 162 |
--enable-libcaca enable textual display using libcaca [no] |
| 163 |
--enable-libcelt enable CELT decoding via libcelt [no] |
| 164 |
--enable-libcdio enable audio CD grabbing with libcdio [no] |
| 165 |
--enable-libcodec2 enable codec2 en/decoding using libcodec2 [no] |
| 166 |
--enable-libdav1d enable AV1 decoding via libdav1d [no] |
| 167 |
--enable-libdavs2 enable AVS2 decoding via libdavs2 [no] |
| 168 |
--enable-libdc1394 enable IIDC-1394 grabbing using libdc1394 |
| 169 |
and libraw1394 [no] |
| 170 |
--enable-libfdk-aac enable AAC de/encoding via libfdk-aac [no] |
| 171 |
--enable-libflite enable flite (voice synthesis) support via libflite [no] |
| 172 |
--enable-libfontconfig enable libfontconfig, useful for drawtext filter [no] |
| 173 |
--enable-libfreetype enable libfreetype, needed for drawtext filter [no] |
| 174 |
--enable-libfribidi enable libfribidi, improves drawtext filter [no] |
| 175 |
--enable-libharfbuzz enable libharfbuzz, needed for drawtext filter [no] |
| 176 |
--enable-libglslang enable GLSL->SPIRV compilation via libglslang [no] |
| 177 |
--enable-libgme enable Game Music Emu via libgme [no] |
| 178 |
--enable-libgsm enable GSM de/encoding via libgsm [no] |
| 179 |
--enable-libiec61883 enable iec61883 via libiec61883 [no] |
| 180 |
--enable-libilbc enable iLBC de/encoding via libilbc [no] |
| 181 |
--enable-libjack enable JACK audio sound server [no] |
| 182 |
--enable-libjxl enable JPEG XL de/encoding via libjxl [no] |
| 183 |
--enable-libklvanc enable Kernel Labs VANC processing [no] |
| 184 |
--enable-libkvazaar enable HEVC encoding via libkvazaar [no] |
| 185 |
--enable-liblensfun enable lensfun lens correction [no] |
| 186 |
--enable-libmodplug enable ModPlug via libmodplug [no] |
| 187 |
--enable-libmp3lame enable MP3 encoding via libmp3lame [no] |
| 188 |
--enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no] |
| 189 |
--enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no] |
| 190 |
--enable-libopencv enable video filtering via libopencv [no] |
| 191 |
--enable-libopenh264 enable H.264 encoding via OpenH264 [no] |
| 192 |
--enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no] |
| 193 |
--enable-libopenmpt enable decoding tracked files via libopenmpt [no] |
| 194 |
--enable-libopenvino enable OpenVINO as a DNN module backend |
| 195 |
for DNN based filters like dnn_processing [no] |
| 196 |
--enable-libopus enable Opus de/encoding via libopus [no] |
| 197 |
--enable-libplacebo enable libplacebo library [no] |
| 198 |
--enable-libpulse enable Pulseaudio input via libpulse [no] |
| 199 |
--enable-librabbitmq enable RabbitMQ library [no] |
| 200 |
--enable-librav1e enable AV1 encoding via rav1e [no] |
| 201 |
--enable-librist enable RIST via librist [no] |
| 202 |
--enable-librsvg enable SVG rasterization via librsvg [no] |
| 203 |
--enable-librubberband enable rubberband needed for rubberband filter [no] |
| 204 |
--enable-librtmp enable RTMP[E] support via librtmp [no] |
| 205 |
--enable-libshaderc enable GLSL->SPIRV compilation via libshaderc [no] |
| 206 |
--enable-libshine enable fixed-point MP3 encoding via libshine [no] |
| 207 |
--enable-libsmbclient enable Samba protocol via libsmbclient [no] |
| 208 |
--enable-libsnappy enable Snappy compression, needed for hap encoding [no] |
| 209 |
--enable-libsoxr enable Include libsoxr resampling [no] |
| 210 |
--enable-libspeex enable Speex de/encoding via libspeex [no] |
| 211 |
--enable-libsrt enable Haivision SRT protocol via libsrt [no] |
| 212 |
--enable-libssh enable SFTP protocol via libssh [no] |
| 213 |
--enable-libsvtav1 enable AV1 encoding via SVT [no] |
| 214 |
--enable-libtensorflow enable TensorFlow as a DNN module backend |
| 215 |
for DNN based filters like sr [no] |
| 216 |
--enable-libtesseract enable Tesseract, needed for ocr filter [no] |
| 217 |
--enable-libtheora enable Theora encoding via libtheora [no] |
| 218 |
--enable-libtls enable LibreSSL (via libtls), needed for https support |
| 219 |
if openssl, gnutls or mbedtls is not used [no] |
| 220 |
--enable-libtwolame enable MP2 encoding via libtwolame [no] |
| 221 |
--enable-libuavs3d enable AVS3 decoding via libuavs3d [no] |
| 222 |
--enable-libv4l2 enable libv4l2/v4l-utils [no] |
| 223 |
--enable-libvidstab enable video stabilization using vid.stab [no] |
| 224 |
--enable-libvmaf enable vmaf filter via libvmaf [no] |
| 225 |
--enable-libvo-amrwbenc enable AMR-WB encoding via libvo-amrwbenc [no] |
| 226 |
--enable-libvorbis enable Vorbis en/decoding via libvorbis, |
| 227 |
native implementation exists [no] |
| 228 |
--enable-libvpx enable VP8 and VP9 de/encoding via libvpx [no] |
| 229 |
--enable-libwebp enable WebP encoding via libwebp [no] |
| 230 |
--enable-libx264 enable H.264 encoding via x264 [no] |
| 231 |
--enable-libx265 enable HEVC encoding via x265 [no] |
| 232 |
--enable-libxavs enable AVS encoding via xavs [no] |
| 233 |
--enable-libxavs2 enable AVS2 encoding via xavs2 [no] |
| 234 |
--enable-libxcb enable X11 grabbing using XCB [autodetect] |
| 235 |
--enable-libxcb-shm enable X11 grabbing shm communication [autodetect] |
| 236 |
--enable-libxcb-xfixes enable X11 grabbing mouse rendering [autodetect] |
| 237 |
--enable-libxcb-shape enable X11 grabbing shape rendering [autodetect] |
| 238 |
--enable-libxvid enable Xvid encoding via xvidcore, |
| 239 |
native MPEG-4/Xvid encoder exists [no] |
| 240 |
--enable-libxml2 enable XML parsing using the C library libxml2, needed |
| 241 |
for dash and imf demuxing support [no] |
| 242 |
--enable-libzimg enable z.lib, needed for zscale filter [no] |
| 243 |
--enable-libzmq enable message passing via libzmq [no] |
| 244 |
--enable-libzvbi enable teletext support via libzvbi [no] |
| 245 |
--enable-lv2 enable LV2 audio filtering [no] |
| 246 |
--disable-lzma disable lzma [autodetect] |
| 247 |
--enable-decklink enable Blackmagic DeckLink I/O support [no] |
| 248 |
--enable-mbedtls enable mbedTLS, needed for https support |
| 249 |
if openssl, gnutls or libtls is not used [no] |
| 250 |
--enable-mediacodec enable Android MediaCodec support [no] |
| 251 |
--enable-mediafoundation enable encoding via MediaFoundation [auto] |
| 252 |
--disable-metal disable Apple Metal framework [autodetect] |
| 253 |
--enable-libmysofa enable libmysofa, needed for sofalizer filter [no] |
| 254 |
--enable-openal enable OpenAL 1.1 capture support [no] |
| 255 |
--enable-opencl enable OpenCL processing [no] |
| 256 |
--enable-opengl enable OpenGL rendering [no] |
| 257 |
--enable-openssl enable openssl, needed for https support |
| 258 |
if gnutls, libtls or mbedtls is not used [no] |
| 259 |
--enable-pocketsphinx enable PocketSphinx, needed for asr filter [no] |
| 260 |
--disable-sndio disable sndio support [autodetect] |
| 261 |
--disable-schannel disable SChannel SSP, needed for TLS support on |
| 262 |
Windows if openssl and gnutls are not used [autodetect] |
| 263 |
--disable-sdl2 disable sdl2 [autodetect] |
| 264 |
--disable-securetransport disable Secure Transport, needed for TLS support |
| 265 |
on OSX if openssl and gnutls are not used [autodetect] |
| 266 |
--enable-vapoursynth enable VapourSynth demuxer [no] |
| 267 |
--disable-xlib disable xlib [autodetect] |
| 268 |
--disable-zlib disable zlib [autodetect] |
| 269 |
|
| 270 |
The following libraries provide various hardware acceleration features: |
| 271 |
--disable-amf disable AMF video encoding code [autodetect] |
| 272 |
--disable-audiotoolbox disable Apple AudioToolbox code [autodetect] |
| 273 |
--enable-cuda-nvcc enable Nvidia CUDA compiler [no] |
| 274 |
--disable-cuda-llvm disable CUDA compilation using clang [autodetect] |
| 275 |
--disable-cuvid disable Nvidia CUVID support [autodetect] |
| 276 |
--disable-d3d11va disable Microsoft Direct3D 11 video acceleration code [autodetect] |
| 277 |
--disable-dxva2 disable Microsoft DirectX 9 video acceleration code [autodetect] |
| 278 |
--disable-ffnvcodec disable dynamically linked Nvidia code [autodetect] |
| 279 |
--enable-libdrm enable DRM code (Linux) [no] |
| 280 |
--enable-libmfx enable Intel MediaSDK (AKA Quick Sync Video) code via libmfx [no] |
| 281 |
--enable-libvpl enable Intel oneVPL code via libvpl if libmfx is not used [no] |
| 282 |
--enable-libnpp enable Nvidia Performance Primitives-based code [no] |
| 283 |
--enable-mmal enable Broadcom Multi-Media Abstraction Layer (Raspberry Pi) via MMAL [no] |
| 284 |
--disable-nvdec disable Nvidia video decoding acceleration (via hwaccel) [autodetect] |
| 285 |
--disable-nvenc disable Nvidia video encoding code [autodetect] |
| 286 |
--enable-omx enable OpenMAX IL code [no] |
| 287 |
--enable-omx-rpi enable OpenMAX IL code for Raspberry Pi [no] |
| 288 |
--enable-rkmpp enable Rockchip Media Process Platform code [no] |
| 289 |
--disable-v4l2-m2m disable V4L2 mem2mem code [autodetect] |
| 290 |
--disable-vaapi disable Video Acceleration API (mainly Unix/Intel) code [autodetect] |
| 291 |
--disable-vdpau disable Nvidia Video Decode and Presentation API for Unix code [autodetect] |
| 292 |
--disable-videotoolbox disable VideoToolbox code [autodetect] |
| 293 |
--disable-vulkan disable Vulkan code [autodetect] |
| 294 |
|
| 295 |
Toolchain options: |
| 296 |
--arch=ARCH select architecture [] |
| 297 |
--cpu=CPU select the minimum required CPU (affects |
| 298 |
instruction selection, may crash on older CPUs) |
| 299 |
--cross-prefix=PREFIX use PREFIX for compilation tools [] |
| 300 |
--progs-suffix=SUFFIX program name suffix [] |
| 301 |
--enable-cross-compile assume a cross-compiler is used |
| 302 |
--sysroot=PATH root of cross-build tree |
| 303 |
--sysinclude=PATH location of cross-build system headers |
| 304 |
--target-os=OS compiler targets OS [] |
| 305 |
--target-exec=CMD command to run executables on target |
| 306 |
--target-path=DIR path to view of build directory on target |
| 307 |
--target-samples=DIR path to samples directory on target |
| 308 |
--tempprefix=PATH force fixed dir/prefix instead of mktemp for checks |
| 309 |
--toolchain=NAME set tool defaults according to NAME |
| 310 |
(gcc-asan, clang-asan, gcc-msan, clang-msan, |
| 311 |
gcc-tsan, clang-tsan, gcc-usan, clang-usan, |
| 312 |
valgrind-massif, valgrind-memcheck, |
| 313 |
msvc, icl, gcov, llvm-cov, hardened) |
| 314 |
--nm=NM use nm tool NM [nm -g] |
| 315 |
--ar=AR use archive tool AR [ar] |
| 316 |
--as=AS use assembler AS [] |
| 317 |
--ln_s=LN_S use symbolic link tool LN_S [ln -s -f] |
| 318 |
--strip=STRIP use strip tool STRIP [strip] |
| 319 |
--windres=WINDRES use windows resource compiler WINDRES [windres] |
| 320 |
--x86asmexe=EXE use nasm-compatible assembler EXE [nasm] |
| 321 |
--cc=CC use C compiler CC [gcc] |
| 322 |
--cxx=CXX use C compiler CXX [g++] |
| 323 |
--objcc=OCC use ObjC compiler OCC [gcc] |
| 324 |
--dep-cc=DEPCC use dependency generator DEPCC [gcc] |
| 325 |
--nvcc=NVCC use Nvidia CUDA compiler NVCC or clang [] |
| 326 |
--ld=LD use linker LD [] |
| 327 |
--metalcc=METALCC use metal compiler METALCC [xcrun -sdk macosx metal] |
| 328 |
--metallib=METALLIB use metal linker METALLIB [xcrun -sdk macosx metallib] |
| 329 |
--pkg-config=PKGCONFIG use pkg-config tool PKGCONFIG [pkg-config] |
| 330 |
--pkg-config-flags=FLAGS pass additional flags to pkgconf [] |
| 331 |
--ranlib=RANLIB use ranlib RANLIB [ranlib] |
| 332 |
--doxygen=DOXYGEN use DOXYGEN to generate API doc [doxygen] |
| 333 |
--host-cc=HOSTCC use host C compiler HOSTCC |
| 334 |
--host-cflags=HCFLAGS use HCFLAGS when compiling for host |
| 335 |
--host-cppflags=HCPPFLAGS use HCPPFLAGS when compiling for host |
| 336 |
--host-ld=HOSTLD use host linker HOSTLD |
| 337 |
--host-ldflags=HLDFLAGS use HLDFLAGS when linking for host |
| 338 |
--host-extralibs=HLIBS use libs HLIBS when linking for host |
| 339 |
--host-os=OS compiler host OS [] |
| 340 |
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [] |
| 341 |
--extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS [] |
| 342 |
--extra-objcflags=FLAGS add FLAGS to OBJCFLAGS [] |
| 343 |
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [] |
| 344 |
--extra-ldexeflags=ELDFLAGS add ELDFLAGS to LDEXEFLAGS [] |
| 345 |
--extra-ldsoflags=ELDFLAGS add ELDFLAGS to LDSOFLAGS [] |
| 346 |
--extra-libs=ELIBS add ELIBS [] |
| 347 |
--extra-version=STRING version string suffix [] |
| 348 |
--optflags=OPTFLAGS override optimization-related compiler flags |
| 349 |
--nvccflags=NVCCFLAGS override nvcc flags [] |
| 350 |
--build-suffix=SUFFIX library name suffix [] |
| 351 |
--enable-pic build position-independent code |
| 352 |
--enable-thumb compile for Thumb instruction set |
| 353 |
--enable-lto[=arg] use link-time optimization |
| 354 |
--env="ENV=override" override the environment variables |
| 355 |
|
| 356 |
Advanced options (experts only): |
| 357 |
--malloc-prefix=PREFIX prefix malloc and related names with PREFIX |
| 358 |
--custom-allocator=NAME use a supported custom allocator |
| 359 |
--disable-symver disable symbol versioning |
| 360 |
--enable-hardcoded-tables use hardcoded tables instead of runtime generation |
| 361 |
--disable-safe-bitstream-reader |
| 362 |
disable buffer boundary checking in bitreaders |
| 363 |
(faster, but may crash) |
| 364 |
--sws-max-filter-size=N the max filter size swscale uses [256] |
| 365 |
|
| 366 |
Optimization options (experts only): |
| 367 |
--disable-asm disable all assembly optimizations |
| 368 |
--disable-altivec disable AltiVec optimizations |
| 369 |
--disable-vsx disable VSX optimizations |
| 370 |
--disable-power8 disable POWER8 optimizations |
| 371 |
--disable-amd3dnow disable 3DNow! optimizations |
| 372 |
--disable-amd3dnowext disable 3DNow! extended optimizations |
| 373 |
--disable-mmx disable MMX optimizations |
| 374 |
--disable-mmxext disable MMXEXT optimizations |
| 375 |
--disable-sse disable SSE optimizations |
| 376 |
--disable-sse2 disable SSE2 optimizations |
| 377 |
--disable-sse3 disable SSE3 optimizations |
| 378 |
--disable-ssse3 disable SSSE3 optimizations |
| 379 |
--disable-sse4 disable SSE4 optimizations |
| 380 |
--disable-sse42 disable SSE4.2 optimizations |
| 381 |
--disable-avx disable AVX optimizations |
| 382 |
--disable-xop disable XOP optimizations |
| 383 |
--disable-fma3 disable FMA3 optimizations |
| 384 |
--disable-fma4 disable FMA4 optimizations |
| 385 |
--disable-avx2 disable AVX2 optimizations |
| 386 |
--disable-avx512 disable AVX-512 optimizations |
| 387 |
--disable-avx512icl disable AVX-512ICL optimizations |
| 388 |
--disable-aesni disable AESNI optimizations |
| 389 |
--disable-armv5te disable armv5te optimizations |
| 390 |
--disable-armv6 disable armv6 optimizations |
| 391 |
--disable-armv6t2 disable armv6t2 optimizations |
| 392 |
--disable-vfp disable VFP optimizations |
| 393 |
--disable-neon disable NEON optimizations |
| 394 |
--disable-dotprod disable DOTPROD optimizations |
| 395 |
--disable-i8mm disable I8MM optimizations |
| 396 |
--disable-inline-asm disable use of inline assembly |
| 397 |
--disable-x86asm disable use of standalone x86 assembly |
| 398 |
--disable-mipsdsp disable MIPS DSP ASE R1 optimizations |
| 399 |
--disable-mipsdspr2 disable MIPS DSP ASE R2 optimizations |
| 400 |
--disable-msa disable MSA optimizations |
| 401 |
--disable-mipsfpu disable floating point MIPS optimizations |
| 402 |
--disable-mmi disable Loongson MMI optimizations |
| 403 |
--disable-lsx disable Loongson LSX optimizations |
| 404 |
--disable-lasx disable Loongson LASX optimizations |
| 405 |
--disable-rvv disable RISC-V Vector optimizations |
| 406 |
--disable-fast-unaligned consider unaligned accesses slow |
| 407 |
|
| 408 |
Developer options (useful when working on FFmpeg itself): |
| 409 |
--disable-debug disable debugging symbols |
| 410 |
--enable-debug=LEVEL set the debug level [] |
| 411 |
--disable-optimizations disable compiler optimizations |
| 412 |
--enable-extra-warnings enable more compiler warnings |
| 413 |
--disable-stripping disable stripping of executables and shared libraries |
| 414 |
--assert-level=level 0(default), 1 or 2, amount of assertion testing, |
| 415 |
2 causes a slowdown at runtime. |
| 416 |
--enable-memory-poisoning fill heap uninitialized allocated space with arbitrary data |
| 417 |
--valgrind=VALGRIND run "make fate" tests through valgrind to detect memory |
| 418 |
leaks and errors, using the specified valgrind binary. |
| 419 |
Cannot be combined with --target-exec |
| 420 |
--enable-ftrapv Trap arithmetic overflows |
| 421 |
--samples=PATH location of test samples for FATE, if not set use |
| 422 |
$FATE_SAMPLES at make invocation time. |
| 423 |
--enable-neon-clobber-test check NEON registers for clobbering (should be |
| 424 |
used only for debugging purposes) |
| 425 |
--enable-xmm-clobber-test check XMM registers for clobbering (Win64-only; |
| 426 |
should be used only for debugging purposes) |
| 427 |
--enable-random randomly enable/disable components |
| 428 |
--disable-random |
| 429 |
--enable-random=LIST randomly enable/disable specific components or |
| 430 |
--disable-random=LIST component groups. LIST is a comma-separated list |
| 431 |
of NAME[:PROB] entries where NAME is a component |
| 432 |
(group) and PROB the probability associated with |
| 433 |
NAME (default 0.5). |
| 434 |
--random-seed=VALUE seed value for --enable/disable-random |
| 435 |
--disable-valgrind-backtrace do not print a backtrace under Valgrind |
| 436 |
(only applies to --disable-optimizations builds) |
| 437 |
--enable-ossfuzz Enable building fuzzer tool |
| 438 |
--libfuzzer=PATH path to libfuzzer |
| 439 |
--ignore-tests=TESTS comma-separated list (without "fate-" prefix |
| 440 |
in the name) of tests whose result is ignored |
| 441 |
--enable-linux-perf enable Linux Performance Monitor API |
| 442 |
--enable-macos-kperf enable macOS kperf (private) API |
| 443 |
--disable-large-tests disable tests that use a large amount of memory |
| 444 |
--disable-ptx-compression don't compress CUDA PTX code even when possible |
| 445 |
|
| 446 |
NOTE: Object files are built at the place where configure is launched. |
| 447 |
|