Advertisement
Guest User

Untitled

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