FFMPEG編譯參數解析
1 Standard options: 基本選項參數
2 --help 顯示此幫助信息|print this message
3 --log[=FILE|yes|no] 記錄測試並輸出到config.err文件|log tests and output to FILE [config.err]
4 --prefix=PREFIX 安裝程序到指定目錄(默認/usr/local)|install in PREFIX [/usr/local]
5 --libdir=DIR 安裝庫到指定目錄(默認prefix/lib)|install libs in DIR [PREFIX/lib]
6 --shlibdir=DIR 指定共享庫路徑(默認prefix/lib)|install shared libs in DIR [PREFIX/lib]
7 --incdir=DIR 指定includes路徑(默認prefix/include/ffmpeg)|install includes in DIR[PREFIX/include/ffmpeg]
8 --mandir=DIR 指定man page路徑(默認prefix/man)install man page in DIR [PREFIX/man]
9 --enable-mp3lame 啟用mp3編碼libmp3lame(默認關閉)enable MP3 encoding via libmp3lame[default=no]
10 --enable-libogg 啟用ogg支持libogg(默認關閉)enable Ogg support via libogg [default=no]
11 --enable-vorbis 啟用Vorbis支持libvorbis(默認關閉)enable Vorbis support via libvorbis [default=no]
12 --enable-faad 啟用faad支持libfaad(默認關閉)enable FAAD support via libfaad [default=no]
13 --enable-faadbin 啟用faad運行時連結支持(默認關閉)build FAAD support with runtime linking[default=no]
14 --enable-faac 啟用faac支持libfaac(默認關閉)enable FAAC support via libfaac [default=no]
15 --enable-libgsm 啟用GSM支持libgsm(默認關閉)enable GSM support via libgsm [default=no]
16 --enable-xvid 啟用xvid支持xvidcore(默認關閉)enable XviD support via xvidcore [default=no]
17 --enable-x264 啟用H.264編碼(默認關閉)enable H.264 encoding via x264 [default=no]
18 --enable-mingw32 啟用MinGW本地/交叉win環境編譯|enable MinGW native/cross Windows compile
19 --enable-mingwce 啟用MinGW本地/交叉winCE環境編譯enable MinGW native/cross WinCE compile
20 --enable-a52 啟用A52支持(默認關閉)enable GPLed A52 support [default=no]
21 --enable-a52bin 啟用運行時打開liba52.so.0(默認關閉)open liba52.so.0 at runtime [default=no]
22 --enable-dts 啟用DTS支持(默認關閉)enable GPLed DTS support [default=no]
23 --enable-pp 啟用後加工支持(默認關閉)enable GPLed postprocessing support [default=no]
24 --enable-static 構建靜態庫(默認啟用)build static libraries [default=yes]
25 --disable-static 禁止構建靜態庫(默認關閉)do not build static libraries [default=no]
26 --enable-shared 構建共享庫(默認關閉)build shared libraries [default=no]
27 --disable-shared 禁止構建共享庫(默認啟用)do not build shared libraries [default=yes]
28 --enable-amr_nb 啟用amr_nb float音頻編解碼器|enable amr_nb float audio codec
29 --enable-amr_nb-fixed 啟用fixed amr_nb codec | use fixed point for amr-nb codec
30 --enable-amr_wb 啟用amr_wb float音頻編解碼器|enable amr_wb float audio codec
31 --enable-amr_if2 啟用amr_wb IF2音頻編解碼器|enable amr_wb IF2 audio codec
32 --enable-sunmlib 啟用Sun medialib(默認關閉) | use Sun medialib [default=no]
33 --enable-pthreads 啟用pthreads(多線程)(默認關閉)use pthreads [default=no]
34 --enable-dc1394 啟用libdc1394、libraw1394抓取IIDC-1394(默認關閉)enable IIDC-1394 grabbing using libdc1394 and libraw1394 [default=no]
35 --enable-swscaler 啟用計數器支持?(默認關閉)software scaler support [default=no]
36 --enable-avisynth 允許讀取AVISynth腳本本件(默認關閉)allow reading AVISynth script files [default=no]
37 --enable-gpl 允許使用GPL(默認關閉)allow use of GPL code, the resulting libav* and ffmpeg will be under GPL [default=no]
38 Advanced options (experts only): 高級選項參數(供專業人員使用)
39 --source-path=PATH 源碼的路徑(當前為/root/flv/ffmpeg)| path to source code [/root/flv/ffmpeg]
40 --cross-prefix=PREFIX 為編譯工具指定路徑 | use PREFIX for compilation tools []
41 --cross-compile 假定使用了交叉編譯 | assume a cross-compiler is used
42 --cc=CC 指定使用何種C編譯器(默認gcc)use C compiler CC [gcc]
43 --make=MAKE 使用特定的make | use specified make [make]
44 --extra-cflags=ECFLAGS 添加ECFLAGS到CFLAGS | add ECFLAGS to CFLAGS []
45 --extra-ldflags=ELDFLAGS 添加ELDFLAGS到LDFLAGS(默認-Wl,--as-needed)| add ELDFLAGS to LDFLAGS [ -Wl,--as-needed]
46 --extra-libs=ELIBS 添加ELIBS | add ELIBS []
47 --build-suffix=SUFFIX 為專用程序添加尾碼 | suffix for application specific build []
48 --arch=ARCH 選擇機器架構(默認x86)select architecture [x86]
49 --cpu=CPU 選用最低的cpu(影響指令的選擇,可以在老CPU上出錯) | selects the minimum cpu required (affects instruction selection, may crash on older CPUs)
50 --powerpc-perf-enable 啟用PPC上面的性能報告(需要啟用PMC)enable performance report on PPC (requires enabling PMC)
52 --disable-mmx 禁用MMX | disable MMX usage
53 --disable-armv5te 禁用armv5te | disable armv5te usage
54 --disable-iwmmxt 禁用iwmmxt | disable iwmmxt usage
55 --disable-altivec 禁用AltiVec | disable AltiVec usage
56 --disable-audio-oss 禁用OSS音頻支持(默認啟用)disable OSS audio support [default=no]
57 --disable-audio-beos 禁用BeOS音頻支持(默認啟用)disable BeOS audio support [default=no]
58 --disable-v4l 禁用video4linux提取(默認啟用)disable video4linux grabbing [default=no]
59 --disable-v4l2 禁用video4linux2提取(默認啟用)disable video4linux2 grabbing [default=no]
60 --disable-bktr 禁用bktr視頻提取(默認啟用)disable bktr video grabbing [default=no]
61 --disable-dv1394 禁用DV1394提取(默認啟用)disable DV1394 grabbing [default=no]
62 --disable-network 禁用網絡支持(默認支持)disable network support [default=no]
63 --disable-ipv6 禁用ipv6支持(默認支持)disable ipv6 support [default=no]
64 --disable-zlib 禁用zlib(默認支持)disable zlib [default=no]
65 --disable-simple_idct 禁用simple IDCT常式(默認啟用)disable simple IDCT routines [default=no]
66 --disable-vhook 禁用video hooking支持 | disable video hooking support
67 --enable-gprof enable profiling with gprof [no]
68 --disable-debug 禁用調試符號 | disable debugging symbols
69 --disable-opts 禁用編譯器最佳化 | disable compiler optimizations
70 --disable-mpegaudio-hp 啟用更快的解碼MPEG音頻(但精確度較低)(默認禁用)faster (but less accurate) MPEG audio decoding [default=no]
71 --disable-protocols 禁用 I/O 協議支持(默認啟用)disable I/O protocols support [default=no]
72 --disable-ffserver 禁用生成ffserver | disable ffserver build
73 --disable-ffplay 禁用生成ffplay | disable ffplay build
74 --enable-small 啟用優化文件尺寸大小(犧牲速度)optimize for size instead of speed
75 --enable-memalign-hack 啟用模擬內存排列,由內存調試器干涉? | emulate memalign, interferes with memory debuggers
76 --disable-strip 禁用剝離可執行程序和共享庫 | disable stripping of executables and shared libraries
77 --disable-encoder=NAME 禁用XX編碼器 | disables encoder NAME
78 --enable-encoder=NAME 啟用XX編碼器 | enables encoder NAME
79 --disable-decoder=NAME 禁用XX解碼器 | disables decoder NAME
80 --enable-decoder=NAME 啟用XX解碼器 | enables decoder NAME
81 --disable-encoders 禁用所有編碼器 | disables all encoders
82 --disable-decoders 禁用所有解碼器 | disables all decoders
83 --disable-muxer=NAME 禁用XX混音器 | disables muxer NAME
84 --enable-muxer=NAME 啟用XX混音器 | enables muxer NAME
85 --disable-muxers 禁用所有混音器 | disables all muxers
86 --disable-demuxer=NAME 禁用XX解軌器 | disables demuxer NAME
87 --enable-demuxer=NAME 啟用XX解軌器 | enables demuxer NAME
88 --disable-demuxers 禁用所有解軌器 | disables all demuxers
89 --enable-parser=NAME 啟用XX剖析器 | enables parser NAME
90 --disable-parser=NAME 禁用XX剖析器 | disables parser NAME
91 --disable-parsers 禁用所有剖析器 | disables all parsers
留言列表