[关闭]
@hai046 2016-10-11T03:36:47.000000Z 字数 24563 阅读 1390

ffmpeg

安装ffmpeg 需要安装libx264

./configure --prefix="HOME/ffmpeg_build/include" --extra-ldflags="-LHOME/bin" --pkg-config-flags="--static" --enable-libx264 --enable-gpl

https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

https://github.com/WritingMinds/ffmpeg-android

  1. install prefix /data/SMB_SHARE/Software/ffmpeg-android/build/armeabi-v7a
  2. source path .
  3. C compiler /data/SMB_SHARE/Software/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc
  4. C library bionic
  5. host C compiler gcc
  6. host C library glibc
  7. ARCH arm (cortex-a8)
  8. big-endian no
  9. runtime cpu detection yes
  10. ARMv5TE enabled yes
  11. ARMv6 enabled yes
  12. ARMv6T2 enabled yes
  13. VFP enabled yes
  14. NEON enabled yes
  15. THUMB enabled no
  16. debug symbols no
  17. strip symbols yes
  18. optimize for size no
  19. optimizations yes
  20. static yes
  21. shared no
  22. postprocessing support yes
  23. new filter support yes
  24. network support yes
  25. threading support pthreads
  26. safe bitstream reader yes
  27. SDL support no
  28. opencl enabled no
  29. texi2html enabled no
  30. perl enabled yes
  31. pod2man enabled yes
  32. makeinfo enabled no
  33. makeinfo supports HTML no
  34. Enabled programs:
  35. ffmpeg
  36. External libraries:
  37. libfribidi libmp3lame libx264 zlib
  38. Enabled decoders:
  39. aac ass dxv jpeg2000 pbm roq_dpcm v210x
  40. aac_fixed asv1 eac3 jpegls pcm_alaw rpza v308
  41. aac_latm asv2 eacmv jv pcm_bluray rscc v408
  42. aasc atrac1 eamad kgv1 pcm_dvd rv10 v410
  43. ac3 atrac3 eatgq kmvc pcm_f32be rv20 vb
  44. ac3_fixed atrac3p eatgv lagarith pcm_f32le rv30 vble
  45. adpcm_4xm aura eatqi loco pcm_f64be rv40 vc1
  46. adpcm_adx aura2 eightbps mace3 pcm_f64le s302m vc1image
  47. adpcm_afc avrn eightsvx_exp mace6 pcm_lxf sami vcr1
  48. adpcm_aica avrp eightsvx_fib mdec pcm_mulaw sanm vmdaudio
  49. adpcm_ct avs escape124 metasound pcm_s16be screenpresso vmdvideo
  50. adpcm_dtk avui escape130 microdvd pcm_s16be_planar sdx2_dpcm vmnc
  51. adpcm_ea ayuv evrc mimic pcm_s16le sgi vorbis
  52. adpcm_ea_maxis_xa bethsoftvid exr mjpeg pcm_s16le_planar sgirle vp3
  53. adpcm_ea_r1 bfi ffv1 mjpegb pcm_s24be shorten vp5
  54. adpcm_ea_r2 bink ffvhuff mlp pcm_s24daud sipr vp6
  55. adpcm_ea_r3 binkaudio_dct ffwavesynth mmvideo pcm_s24le smackaud vp6a
  56. adpcm_ea_xas binkaudio_rdft fic motionpixels pcm_s24le_planar smacker vp6f
  57. adpcm_g722 bintext flac movtext pcm_s32be smc vp7
  58. adpcm_g726 bmp flashsv mp1 pcm_s32le smvjpeg vp8
  59. adpcm_g726le bmv_audio flashsv2 mp1float pcm_s32le_planar snow vp9
  60. adpcm_ima_amv bmv_video flic mp2 pcm_s8 sol_dpcm vplayer
  61. adpcm_ima_apc brender_pix flv mp2float pcm_s8_planar sonic vqa
  62. adpcm_ima_dk3 c93 fourxm mp3 pcm_u16be sp5x wavpack
  63. adpcm_ima_dk4 cavs fraps mp3adu pcm_u16le srt webp
  64. adpcm_ima_ea_eacs ccaption frwu mp3adufloat pcm_u24be ssa webvtt
  65. adpcm_ima_ea_sead cdgraphics g2m mp3float pcm_u24le stl wmalossless
  66. adpcm_ima_iss cdxl g723_1 mp3on4 pcm_u32be subrip wmapro
  67. adpcm_ima_oki cfhd g729 mp3on4float pcm_u32le subviewer wmav1
  68. adpcm_ima_qt cinepak gif mpc7 pcm_u8 subviewer1 wmav2
  69. adpcm_ima_rad cljr gsm mpc8 pcm_zork sunrast wmavoice
  70. adpcm_ima_smjpeg cllc gsm_ms mpeg1video pcx svq1 wmv1
  71. adpcm_ima_wav comfortnoise h261 mpeg2video pgm svq3 wmv2
  72. adpcm_ima_ws cook h263 mpeg4 pgmyuv tak wmv3
  73. adpcm_ms cpia h263i mpegvideo pgssub targa wmv3image
  74. adpcm_psx cscd h263p mpl2 pictor targa_y216 wnv1
  75. adpcm_sbpro_2 cyuv h264 msa1 pjs tdsc ws_snd1
  76. adpcm_sbpro_3 dca hap msmpeg4v1 png text xan_dpcm
  77. adpcm_sbpro_4 dds hevc msmpeg4v2 ppm theora xan_wc3
  78. adpcm_swf dfa hnm4_video msmpeg4v3 prores thp xan_wc4
  79. adpcm_thp dirac hq_hqa msrle prores_lgpl tiertexseqvideo xbin
  80. adpcm_thp_le dnxhd hqx mss1 ptx tiff xbm
  81. adpcm_vima dpx huffyuv mss2 qcelp tmv xface
  82. adpcm_xa dsd_lsbf iac msvideo1 qdm2 truehd xl
  83. adpcm_yamaha dsd_lsbf_planar idcin mszh qdraw truemotion1 xma1
  84. aic dsd_msbf idf mts2 qpeg truemotion2 xma2
  85. alac dsd_msbf_planar iff_ilbm mvc1 qtrle truespeech xsub
  86. alias_pix dsicinaudio imc mvc2 r10k tscc xwd
  87. als dsicinvideo indeo2 mxpeg r210 tscc2 y41p
  88. amrnb dss_sp indeo3 nellymoser ra_144 tta yop
  89. amrwb dvaudio indeo4 nuv ra_288 twinvq yuv4
  90. amv dvbsub indeo5 on2avc ralf txd zero12v
  91. anm dvdsub interplay_acm opus rawvideo ulti zerocodec
  92. ansi dvvideo interplay_dpcm paf_audio realtext utvideo zlib
  93. ape dxa interplay_video paf_video rl2 v210 zmbv
  94. apng dxtory jacosub pam roq
  95. Enabled encoders:
  96. a64multi avui h261 pam pcm_u16be roq v308
  97. a64multi5 ayuv h263 pbm pcm_u16le roq_dpcm v408
  98. aac bmp h263p pcm_alaw pcm_u24be rv10 v410
  99. ac3 cinepak huffyuv pcm_f32be pcm_u24le rv20 vc2
  100. ac3_fixed cljr jpeg2000 pcm_f32le pcm_u32be s302m vorbis
  101. adpcm_adx comfortnoise jpegls pcm_f64be pcm_u32le sgi wavpack
  102. adpcm_g722 dca libmp3lame pcm_f64le pcm_u8 snow webvtt
  103. adpcm_g726 dnxhd libx264 pcm_mulaw pcx sonic wmav1
  104. adpcm_ima_qt dpx libx264rgb pcm_s16be pgm sonic_ls wmav2
  105. adpcm_ima_wav dvbsub ljpeg pcm_s16be_planar pgmyuv srt wmv1
  106. adpcm_ms dvdsub mjpeg pcm_s16le png ssa wmv2
  107. adpcm_swf dvvideo movtext pcm_s16le_planar ppm subrip wrapped_avframe
  108. adpcm_yamaha eac3 mp2 pcm_s24be prores sunrast xbm
  109. alac ffv1 mp2fixed pcm_s24daud prores_aw svq1 xface
  110. alias_pix ffvhuff mpeg1video pcm_s24le prores_ks targa xsub
  111. amv flac mpeg2video pcm_s24le_planar qtrle text xwd
  112. apng flashsv mpeg4 pcm_s32be r10k tiff y41p
  113. ass flashsv2 msmpeg4v2 pcm_s32le r210 tta yuv4
  114. asv1 flv msmpeg4v3 pcm_s32le_planar ra_144 utvideo zlib
  115. asv2 g723_1 msvideo1 pcm_s8 rawvideo v210 zmbv
  116. avrp gif nellymoser pcm_s8_planar
  117. Enabled hwaccels:
  118. Enabled parsers:
  119. aac cook dvbsub h261 mlp png vc1
  120. aac_latm dca dvd_nav h263 mpeg4video pnm vorbis
  121. ac3 dirac dvdsub h264 mpegaudio rv30 vp3
  122. adx dnxhd flac hevc mpegvideo rv40 vp8
  123. bmp dpx g729 mjpeg opus tak vp9
  124. cavsvideo dvaudio gsm
  125. Enabled demuxers:
  126. aa cavsvideo gsm ivf mxg realtext threedostr
  127. aac cdg gxf ivr nc redspark tiertexseq
  128. ac3 cdxl h261 jacosub nistsphere rl2 tmv
  129. acm cine h263 jv nsv rm truehd
  130. act concat h264 live_flv nut roq tta
  131. adf data hevc lmlm4 nuv rpl tty
  132. adp daud hls loas ogg rsd txd
  133. ads dcstr hnm lrc oma rso v210
  134. adx dfa ico lvf paf rtp v210x
  135. aea dirac idcin lxf pcm_alaw rtsp vag
  136. afc dnxhd idf m4v pcm_f32be sami vc1
  137. aiff dsf iff matroska pcm_f32le sap vc1t
  138. amr dsicin ilbc mgsts pcm_f64be sbg vivo
  139. anm dss image2 microdvd pcm_f64le sdp vmd
  140. apc dts image2_alias_pix mjpeg pcm_mulaw sdr2 vobsub
  141. ape dtshd image2_brender_pix mlp pcm_s16be segafilm voc
  142. apng dv image2pipe mlv pcm_s16le shorten vpk
  143. aqtitle dvbsub image_bmp_pipe mm pcm_s24be siff vplayer
  144. asf dxa image_dds_pipe mmf pcm_s24le sln vqf
  145. asf_o ea image_dpx_pipe mov pcm_s32be smacker w64
  146. ass ea_cdata image_exr_pipe mp3 pcm_s32le smjpeg wav
  147. ast eac3 image_j2k_pipe mpc pcm_s8 smush wc3
  148. au epaf image_jpeg_pipe mpc8 pcm_u16be sol webm_dash_manifest
  149. avi ffm image_jpegls_pipe mpegps pcm_u16le sox webvtt
  150. avr ffmetadata image_pictor_pipe mpegts pcm_u24be spdif wsaud
  151. avs filmstrip image_png_pipe mpegtsraw pcm_u24le srt wsvqa
  152. bethsoftvid flac image_qdraw_pipe mpegvideo pcm_u32be stl wtv
  153. bfi flic image_sgi_pipe mpjpeg pcm_u32le str wv
  154. bfstm flv image_sunrast_pipe mpl2 pcm_u8 subviewer wve
  155. bink fourxm image_tiff_pipe mpsub pjs subviewer1 xa
  156. bintext frm image_webp_pipe msf pmp sup xbin
  157. bit fsb ingenient msnwc_tcp pva svag xmv
  158. bmv g722 ipmovie mtv pvf swf xvag
  159. boa g723_1 ircam mv qcp tak xwma
  160. brstm g729 iss mvi r3d tedcaptions yop
  161. c93 genh iv8 mxf rawvideo thp yuv4mpegpipe
  162. caf gif
  163. Enabled muxers:
  164. a64 dirac hevc mmf ogg pcm_u32be stream_segment
  165. ac3 dnxhd hls mov oma pcm_u32le swf
  166. adts dts ico mp2 opus pcm_u8 tee
  167. adx dv ilbc mp3 pcm_alaw psp tg2
  168. aiff eac3 image2 mp4 pcm_f32be rawvideo tgp
  169. amr f4v image2pipe mpeg1system pcm_f32le rm truehd
  170. apng ffm ipod mpeg1vcd pcm_f64be roq uncodedframecrc
  171. asf ffmetadata ircam mpeg1video pcm_f64le rso vc1
  172. asf_stream filmstrip ismv mpeg2dvd pcm_mulaw rtp vc1t
  173. ass flac ivf mpeg2svcd pcm_s16be rtp_mpegts voc
  174. ast flv jacosub mpeg2video pcm_s16le rtsp w64
  175. au framecrc latm mpeg2vob pcm_s24be sap wav
  176. avi framemd5 lrc mpegts pcm_s24le segment webm
  177. avm2 g722 m4v mpjpeg pcm_s32be singlejpeg webm_chunk
  178. bit g723_1 matroska mxf pcm_s32le smjpeg webm_dash_manifest
  179. caf gif matroska_audio mxf_d10 pcm_s8 smoothstreaming webp
  180. cavsvideo gxf md5 mxf_opatom pcm_u16be sox webvtt
  181. crc h261 microdvd null pcm_u16le spdif wtv
  182. dash h263 mjpeg nut pcm_u24be spx wv
  183. data h264 mkvtimestamp_v2 oga pcm_u24le srt yuv4mpegpipe
  184. daud hds mlp
  185. Enabled protocols:
  186. async data gopher icecast pipe srtp udp
  187. cache ffrtmphttp hls md5 rtmp subfile udplite
  188. concat file http mmsh rtmpt tcp unix
  189. crypto ftp httpproxy mmst rtp
  190. Enabled filters:
  191. acompressor areverse compand fieldmatch mandelbrot reverse split
  192. acrossfade aselect compensationdelay fieldorder maskedmerge rgbtestsrc spp
  193. adelay asendcmd concat find_rect mcdeint rotate ssim
  194. adrawgraph asetnsamples convolution flanger mergeplanes sab stereo3d
  195. aecho asetpts copy format metadata scale stereotools
  196. aemphasis asetrate cover_rect fps movie scale2ref stereowiden
  197. aeval asettb crop framepack mpdecimate select streamselect
  198. aevalsrc ashowinfo cropdetect framerate mptestsrc selectivecolor super2xsai
  199. afade asplit curves framestep negate sendcmd swaprect
  200. afftfilt astats dcshift fspp nnedi separatefields swapuv
  201. aformat astreamselect dctdnoiz geq noformat setdar tblend
  202. agate atadenoise deband gradfun noise setfield telecine
  203. ahistogram atempo decimate haldclut null setpts testsrc
  204. ainterleave atrim deflate haldclutsrc nullsink setsar testsrc2
  205. alimiter avectorscope dejudder hflip nullsrc settb thumbnail
  206. allpass bandpass delogo highpass overlay showcqt tile
  207. allrgb bandreject deshake histeq owdenoise showfreqs tinterlace
  208. allyuv bass detelecine histogram pad showinfo transpose
  209. alphaextract bbox dilation hqdn3d palettegen showpalette treble
  210. alphamerge biquad displace hqx paletteuse showspectrum tremolo
  211. amerge blackdetect drawbox hstack pan showspectrumpic trim
  212. ametadata blackframe drawgraph hue perms showvolume unsharp
  213. amix blend drawgrid idet perspective showwaves uspp
  214. amovie boxblur dynaudnorm il phase showwavespic vectorscope
  215. anequalizer cellauto earwax inflate pixdesctest shuffleframes vflip
  216. anoisesrc channelmap ebur128 interlace pp shuffleplanes vibrato
  217. anull channelsplit edgedetect interleave pp7 sidechaincompress vignette
  218. anullsink chorus elbg join psnr sidechaingate volume
  219. anullsrc chromakey eq kerndeint pullup signalstats volumedetect
  220. apad codecview equalizer lenscorrection qp silencedetect vstack
  221. aperms color erosion life random silenceremove w3fdif
  222. aphasemeter colorbalance extractplanes lowpass realtime sine waveform
  223. aphaser colorchannelmixer extrastereo lut removegrain smartblur xbr
  224. apulsator colorkey fade lut3d removelogo smptebars yadif
  225. arealtime colorlevels fftfilt lutrgb repeatfields smptehdbars zoompan
  226. aresample colormatrix field lutyuv replaygain spectrumsynth
  227. Enabled bsfs:
  228. aac_adtstoasc dump_extradata hevc_mp4toannexb mjpeg2jpeg mov2textsub mpeg4_unpack_bframes remove_extradata
  229. chomp h264_mp4toannexb imx_dump_header mjpega_dump_header mp3_header_decompress noise text2movsub
  230. Enabled indevs:
  231. dv1394 fbdev lavfi v4l2
  232. Enabled outdevs:
  1. Options: [defaults in brackets after descriptions]
  2. Help options:
  3. --help print this message
  4. --list-decoders show all available decoders
  5. --list-encoders show all available encoders
  6. --list-hwaccels show all available hardware accelerators
  7. --list-demuxers show all available demuxers
  8. --list-muxers show all available muxers
  9. --list-parsers show all available parsers
  10. --list-protocols show all available protocols
  11. --list-bsfs show all available bitstream filters
  12. --list-indevs show all available input devices
  13. --list-outdevs show all available output devices
  14. --list-filters show all available filters
  15. Standard options:
  16. --logfile=FILE log tests and output to FILE [config.log]
  17. --disable-logging do not log configure debug information
  18. --fatal-warnings fail if any configure warning is generated
  19. --prefix=PREFIX install in PREFIX []
  20. --bindir=DIR install binaries in DIR [PREFIX/bin]
  21. --datadir=DIR install data files in DIR [PREFIX/share/ffmpeg]
  22. --docdir=DIR install documentation in DIR [PREFIX/share/doc/ffmpeg]
  23. --libdir=DIR install libs in DIR [PREFIX/lib]
  24. --shlibdir=DIR install shared libs in DIR [LIBDIR]
  25. --incdir=DIR install includes in DIR [PREFIX/include]
  26. --mandir=DIR install man page in DIR [PREFIX/share/man]
  27. --pkgconfigdir=DIR install pkg-config files in DIR [LIBDIR/pkgconfig]
  28. --enable-rpath use rpath to allow installing libraries in paths
  29. not part of the dynamic linker search path
  30. use rpath when linking programs [USE WITH CARE]
  31. Licensing options:
  32. --enable-gpl allow use of GPL code, the resulting libs
  33. and binaries will be under GPL [no]
  34. --enable-version3 upgrade (L)GPL to version 3 [no]
  35. --enable-nonfree allow use of nonfree code, the resulting libs
  36. and binaries will be unredistributable [no]
  37. Configuration options:
  38. --disable-static do not build static libraries [no]
  39. --enable-shared build shared libraries [no]
  40. --enable-small optimize for size instead of speed
  41. --disable-runtime-cpudetect disable detecting cpu capabilities at runtime (smaller binary)
  42. --enable-gray enable full grayscale support (slower color)
  43. --disable-swscale-alpha disable alpha channel support in swscale
  44. --disable-all disable building components, libraries and programs
  45. --enable-incompatible-libav-abi enable incompatible Libav fork ABI [no]
  46. --enable-raise-major increase major version numbers in sonames [no]
  47. Program options:
  48. --disable-programs do not build command line programs
  49. --disable-ffmpeg disable ffmpeg build
  50. --disable-ffplay disable ffplay build
  51. --disable-ffprobe disable ffprobe build
  52. --disable-ffserver disable ffserver build
  53. Documentation options:
  54. --disable-doc do not build documentation
  55. --disable-htmlpages do not build HTML documentation pages
  56. --disable-manpages do not build man documentation pages
  57. --disable-podpages do not build POD documentation pages
  58. --disable-txtpages do not build text documentation pages
  59. Component options:
  60. --disable-avdevice disable libavdevice build
  61. --disable-avcodec disable libavcodec build
  62. --disable-avformat disable libavformat build
  63. --disable-swresample disable libswresample build
  64. --disable-swscale disable libswscale build
  65. --disable-postproc disable libpostproc build
  66. --disable-avfilter disable libavfilter build
  67. --enable-avresample enable libavresample build [no]
  68. --disable-pthreads disable pthreads [autodetect]
  69. --disable-w32threads disable Win32 threads [autodetect]
  70. --disable-os2threads disable OS/2 threads [autodetect]
  71. --disable-network disable network support [no]
  72. --disable-dct disable DCT code
  73. --disable-dwt disable DWT code
  74. --disable-error-resilience disable error resilience code
  75. --disable-lsp disable LSP code
  76. --disable-lzo disable LZO decoder code
  77. --disable-mdct disable MDCT code
  78. --disable-rdft disable RDFT code
  79. --disable-fft disable FFT code
  80. --disable-faan disable floating point AAN (I)DCT code
  81. --disable-pixelutils disable pixel utils in libavutil
  82. Hardware accelerators:
  83. --disable-d3d11va disable D3D11VA code [autodetect]
  84. --disable-dxva2 disable DXVA2 code [autodetect]
  85. --disable-vaapi disable VAAPI code [autodetect]
  86. --disable-vda disable VDA code [autodetect]
  87. --disable-vdpau disable VDPAU code [autodetect]
  88. --enable-videotoolbox enable VideoToolbox code [autodetect]
  89. Individual component options:
  90. --disable-everything disable all components listed below
  91. --disable-encoder=NAME disable encoder NAME
  92. --enable-encoder=NAME enable encoder NAME
  93. --disable-encoders disable all encoders
  94. --disable-decoder=NAME disable decoder NAME
  95. --enable-decoder=NAME enable decoder NAME
  96. --disable-decoders disable all decoders
  97. --disable-hwaccel=NAME disable hwaccel NAME
  98. --enable-hwaccel=NAME enable hwaccel NAME
  99. --disable-hwaccels disable all hwaccels
  100. --disable-muxer=NAME disable muxer NAME
  101. --enable-muxer=NAME enable muxer NAME
  102. --disable-muxers disable all muxers
  103. --disable-demuxer=NAME disable demuxer NAME
  104. --enable-demuxer=NAME enable demuxer NAME
  105. --disable-demuxers disable all demuxers
  106. --enable-parser=NAME enable parser NAME
  107. --disable-parser=NAME disable parser NAME
  108. --disable-parsers disable all parsers
  109. --enable-bsf=NAME enable bitstream filter NAME
  110. --disable-bsf=NAME disable bitstream filter NAME
  111. --disable-bsfs disable all bitstream filters
  112. --enable-protocol=NAME enable protocol NAME
  113. --disable-protocol=NAME disable protocol NAME
  114. --disable-protocols disable all protocols
  115. --enable-indev=NAME enable input device NAME
  116. --disable-indev=NAME disable input device NAME
  117. --disable-indevs disable input devices
  118. --enable-outdev=NAME enable output device NAME
  119. --disable-outdev=NAME disable output device NAME
  120. --disable-outdevs disable output devices
  121. --disable-devices disable all devices
  122. --enable-filter=NAME enable filter NAME
  123. --disable-filter=NAME disable filter NAME
  124. --disable-filters disable all filters
  125. External library support:
  126. --enable-avisynth enable reading of AviSynth script files [no]
  127. --disable-bzlib disable bzlib [autodetect]
  128. --enable-chromaprint enable audio fingerprinting with chromaprint [no]
  129. --enable-fontconfig enable fontconfig, useful for drawtext filter [no]
  130. --enable-frei0r enable frei0r video filtering [no]
  131. --enable-gcrypt enable gcrypt, needed for rtmp(t)e support
  132. if openssl, librtmp or gmp is not used [no]
  133. --enable-gmp enable gmp, needed for rtmp(t)e support
  134. if openssl or librtmp is not used [no]
  135. --enable-gnutls enable gnutls, needed for https support
  136. if openssl is not used [no]
  137. --disable-iconv disable iconv [autodetect]
  138. --enable-ladspa enable LADSPA audio filtering [no]
  139. --enable-libass enable libass subtitles rendering,
  140. needed for subtitles and ass filter [no]
  141. --enable-libbluray enable BluRay reading using libbluray [no]
  142. --enable-libbs2b enable bs2b DSP library [no]
  143. --enable-libcaca enable textual display using libcaca [no]
  144. --enable-libcelt enable CELT decoding via libcelt [no]
  145. --enable-libcdio enable audio CD grabbing with libcdio [no]
  146. --enable-libdc1394 enable IIDC-1394 grabbing using libdc1394
  147. and libraw1394 [no]
  148. --enable-libdcadec enable DCA decoding via libdcadec [no]
  149. --enable-libfaac enable AAC encoding via libfaac [no]
  150. --enable-libfdk-aac enable AAC de/encoding via libfdk-aac [no]
  151. --enable-libflite enable flite (voice synthesis) support via libflite [no]
  152. --enable-libfreetype enable libfreetype, needed for drawtext filter [no]
  153. --enable-libfribidi enable libfribidi, improves drawtext filter [no]
  154. --enable-libgme enable Game Music Emu via libgme [no]
  155. --enable-libgsm enable GSM de/encoding via libgsm [no]
  156. --enable-libiec61883 enable iec61883 via libiec61883 [no]
  157. --enable-libilbc enable iLBC de/encoding via libilbc [no]
  158. --enable-libkvazaar enable HEVC encoding via libkvazaar [no]
  159. --enable-libmfx enable HW acceleration through libmfx
  160. --enable-libmodplug enable ModPlug via libmodplug [no]
  161. --enable-libmp3lame enable MP3 encoding via libmp3lame [no]
  162. --enable-libnut enable NUT (de)muxing via libnut,
  163. native (de)muxer exists [no]
  164. --enable-libopencore-amrnb enable AMR-NB de/encoding via libopencore-amrnb [no]
  165. --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no]
  166. --enable-libopencv enable video filtering via libopencv [no]
  167. --enable-libopenh264 enable H.264 encoding via OpenH264 [no]
  168. --enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no]
  169. --enable-libopus enable Opus de/encoding via libopus [no]
  170. --enable-libpulse enable Pulseaudio input via libpulse [no]
  171. --enable-librubberband enable rubberband needed for rubberband filter [no]
  172. --enable-librtmp enable RTMP[E] support via librtmp [no]
  173. --enable-libschroedinger enable Dirac de/encoding via libschroedinger [no]
  174. --enable-libshine enable fixed-point MP3 encoding via libshine [no]
  175. --enable-libsmbclient enable Samba protocol via libsmbclient [no]
  176. --enable-libsnappy enable Snappy compression, needed for hap encoding [no]
  177. --enable-libsoxr enable Include libsoxr resampling [no]
  178. --enable-libspeex enable Speex de/encoding via libspeex [no]
  179. --enable-libssh enable SFTP protocol via libssh [no]
  180. --enable-libtesseract enable Tesseract, needed for ocr filter [no]
  181. --enable-libtheora enable Theora encoding via libtheora [no]
  182. --enable-libtwolame enable MP2 encoding via libtwolame [no]
  183. --enable-libutvideo enable Ut Video encoding and decoding via libutvideo [no]
  184. --enable-libv4l2 enable libv4l2/v4l-utils [no]
  185. --enable-libvidstab enable video stabilization using vid.stab [no]
  186. --enable-libvo-amrwbenc enable AMR-WB encoding via libvo-amrwbenc [no]
  187. --enable-libvorbis enable Vorbis en/decoding via libvorbis,
  188. native implementation exists [no]
  189. --enable-libvpx enable VP8 and VP9 de/encoding via libvpx [no]
  190. --enable-libwavpack enable wavpack encoding via libwavpack [no]
  191. --enable-libwebp enable WebP encoding via libwebp [no]
  192. --enable-libx264 enable H.264 encoding via x264 [no]
  193. --enable-libx265 enable HEVC encoding via x265 [no]
  194. --enable-libxavs enable AVS encoding via xavs [no]
  195. --enable-libxcb enable X11 grabbing using XCB [autodetect]
  196. --enable-libxcb-shm enable X11 grabbing shm communication [autodetect]
  197. --enable-libxcb-xfixes enable X11 grabbing mouse rendering [autodetect]
  198. --enable-libxcb-shape enable X11 grabbing shape rendering [autodetect]
  199. --enable-libxvid enable Xvid encoding via xvidcore,
  200. native MPEG-4/Xvid encoder exists [no]
  201. --enable-libzimg enable z.lib, needed for zscale filter [no]
  202. --enable-libzmq enable message passing via libzmq [no]
  203. --enable-libzvbi enable teletext support via libzvbi [no]
  204. --disable-lzma disable lzma [autodetect]
  205. --enable-decklink enable Blackmagic DeckLink I/O support [no]
  206. --enable-mmal enable decoding via MMAL [no]
  207. --enable-netcdf enable NetCDF, needed for sofalizer filter [no]
  208. --enable-nvenc enable NVIDIA NVENC support [no]
  209. --enable-openal enable OpenAL 1.1 capture support [no]
  210. --enable-opencl enable OpenCL code
  211. --enable-opengl enable OpenGL rendering [no]
  212. --enable-openssl enable openssl, needed for https support
  213. if gnutls is not used [no]
  214. --disable-schannel disable SChannel SSP, needed for TLS support on
  215. Windows if openssl and gnutls are not used [autodetect]
  216. --disable-sdl disable sdl [autodetect]
  217. --disable-securetransport disable Secure Transport, needed for TLS support
  218. on OSX if openssl and gnutls are not used [autodetect]
  219. --enable-x11grab enable X11 grabbing (legacy) [no]
  220. --disable-xlib disable xlib [autodetect]
  221. --disable-zlib disable zlib [autodetect]
  222. Toolchain options:
  223. --arch=ARCH select architecture []
  224. --cpu=CPU select the minimum required CPU (affects
  225. instruction selection, may crash on older CPUs)
  226. --cross-prefix=PREFIX use PREFIX for compilation tools []
  227. --progs-suffix=SUFFIX program name suffix []
  228. --enable-cross-compile assume a cross-compiler is used
  229. --sysroot=PATH root of cross-build tree
  230. --sysinclude=PATH location of cross-build system headers
  231. --target-os=OS compiler targets OS []
  232. --target-exec=CMD command to run executables on target
  233. --target-path=DIR path to view of build directory on target
  234. --target-samples=DIR path to samples directory on target
  235. --tempprefix=PATH force fixed dir/prefix instead of mktemp for checks
  236. --toolchain=NAME set tool defaults according to NAME
  237. --nm=NM use nm tool NM [nm -g]
  238. --ar=AR use archive tool AR [ar]
  239. --as=AS use assembler AS []
  240. --windres=WINDRES use windows resource compiler WINDRES [windres]
  241. --yasmexe=EXE use yasm-compatible assembler EXE [yasm]
  242. --cc=CC use C compiler CC [gcc]
  243. --cxx=CXX use C compiler CXX [g++]
  244. --objcc=OCC use ObjC compiler OCC [gcc]
  245. --dep-cc=DEPCC use dependency generator DEPCC [gcc]
  246. --ld=LD use linker LD []
  247. --pkg-config=PKGCONFIG use pkg-config tool PKGCONFIG [pkg-config]
  248. --pkg-config-flags=FLAGS pass additional flags to pkgconf []
  249. --ranlib=RANLIB use ranlib RANLIB [ranlib]
  250. --doxygen=DOXYGEN use DOXYGEN to generate API doc [doxygen]
  251. --host-cc=HOSTCC use host C compiler HOSTCC
  252. --host-cflags=HCFLAGS use HCFLAGS when compiling for host
  253. --host-cppflags=HCPPFLAGS use HCPPFLAGS when compiling for host
  254. --host-ld=HOSTLD use host linker HOSTLD
  255. --host-ldflags=HLDFLAGS use HLDFLAGS when linking for host
  256. --host-libs=HLIBS use libs HLIBS when linking for host
  257. --host-os=OS compiler host OS []
  258. --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS []
  259. --extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS []
  260. --extra-objcflags=FLAGS add FLAGS to OBJCFLAGS []
  261. --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS []
  262. --extra-ldexeflags=ELDFLAGS add ELDFLAGS to LDEXEFLAGS []
  263. --extra-ldlibflags=ELDFLAGS add ELDFLAGS to LDLIBFLAGS []
  264. --extra-libs=ELIBS add ELIBS []
  265. --extra-version=STRING version string suffix []
  266. --optflags=OPTFLAGS override optimization-related compiler flags
  267. --build-suffix=SUFFIX library name suffix []
  268. --enable-pic build position-independent code
  269. --enable-thumb compile for Thumb instruction set
  270. --enable-lto use link-time optimization
  271. --env="ENV=override" override the environment variables
  272. Advanced options (experts only):
  273. --malloc-prefix=PREFIX prefix malloc and related names with PREFIX
  274. --custom-allocator=NAME use a supported custom allocator
  275. --disable-symver disable symbol versioning
  276. --enable-hardcoded-tables use hardcoded tables instead of runtime generation
  277. --disable-safe-bitstream-reader
  278. disable buffer boundary checking in bitreaders
  279. (faster, but may crash)
  280. --enable-memalign-hack emulate memalign, interferes with memory debuggers
  281. --sws-max-filter-size=N the max filter size swscale uses [256]
  282. Optimization options (experts only):
  283. --disable-asm disable all assembly optimizations
  284. --disable-altivec disable AltiVec optimizations
  285. --disable-vsx disable VSX optimizations
  286. --disable-power8 disable POWER8 optimizations
  287. --disable-amd3dnow disable 3DNow! optimizations
  288. --disable-amd3dnowext disable 3DNow! extended optimizations
  289. --disable-mmx disable MMX optimizations
  290. --disable-mmxext disable MMXEXT optimizations
  291. --disable-sse disable SSE optimizations
  292. --disable-sse2 disable SSE2 optimizations
  293. --disable-sse3 disable SSE3 optimizations
  294. --disable-ssse3 disable SSSE3 optimizations
  295. --disable-sse4 disable SSE4 optimizations
  296. --disable-sse42 disable SSE4.2 optimizations
  297. --disable-avx disable AVX optimizations
  298. --disable-xop disable XOP optimizations
  299. --disable-fma3 disable FMA3 optimizations
  300. --disable-fma4 disable FMA4 optimizations
  301. --disable-avx2 disable AVX2 optimizations
  302. --disable-aesni disable AESNI optimizations
  303. --disable-armv5te disable armv5te optimizations
  304. --disable-armv6 disable armv6 optimizations
  305. --disable-armv6t2 disable armv6t2 optimizations
  306. --disable-vfp disable VFP optimizations
  307. --disable-neon disable NEON optimizations
  308. --disable-inline-asm disable use of inline assembly
  309. --disable-yasm disable use of nasm/yasm assembly
  310. --disable-mipsdsp disable MIPS DSP ASE R1 optimizations
  311. --disable-mipsdspr2 disable MIPS DSP ASE R2 optimizations
  312. --disable-msa disable MSA optimizations
  313. --disable-mipsfpu disable floating point MIPS optimizations
  314. --disable-mmi disable Loongson SIMD optimizations
  315. --disable-fast-unaligned consider unaligned accesses slow
  316. Developer options (useful when working on FFmpeg itself):
  317. --disable-debug disable debugging symbols
  318. --enable-debug=LEVEL set the debug level []
  319. --disable-optimizations disable compiler optimizations
  320. --enable-extra-warnings enable more compiler warnings
  321. --disable-stripping disable stripping of executables and shared libraries
  322. --assert-level=level 0(default), 1 or 2, amount of assertion testing,
  323. 2 causes a slowdown at runtime.
  324. --enable-memory-poisoning fill heap uninitialized allocated space with arbitrary data
  325. --valgrind=VALGRIND run "make fate" tests through valgrind to detect memory
  326. leaks and errors, using the specified valgrind binary.
  327. Cannot be combined with --target-exec
  328. --enable-ftrapv Trap arithmetic overflows
  329. --samples=PATH location of test samples for FATE, if not set use
  330. $FATE_SAMPLES at make invocation time.
  331. --enable-neon-clobber-test check NEON registers for clobbering (should be
  332. used only for debugging purposes)
  333. --enable-xmm-clobber-test check XMM registers for clobbering (Win64-only;
  334. should be used only for debugging purposes)
  335. --enable-random randomly enable/disable components
  336. --disable-random
  337. --enable-random=LIST randomly enable/disable specific components or
  338. --disable-random=LIST component groups. LIST is a comma-separated list
  339. of NAME[:PROB] entries where NAME is a component
  340. (group) and PROB the probability associated with
  341. NAME (default 0.5).
  342. --random-seed=VALUE seed value for --enable/disable-random
  343. --disable-valgrind-backtrace do not print a backtrace under Valgrind
  344. (only applies to --disable-optimizations builds)
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注