【FFmpeg】ffmpeg 命令查询二 ( 比特流过滤器 | 可用协议 | 过滤器 | 像素格式 | 标准声道布局 | 音频采样格式 | 颜色名称 )(四)

命令行输出 :


D:\ffmpeg>ffmpeg -layouts
ffmpeg version n4.4-19-g8d172d9409 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10-win32 (GCC) 20210408
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-shared --disable-static --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Individual channels:
NAME           DESCRIPTION
FL             front left
FR             front right
FC             front center
LFE            low frequency
BL             back left
BR             back right
FLC            front left-of-center
FRC            front right-of-center
BC             back center
SL             side left
SR             side right
TC             top center
TFL            top front left
TFC            top front center
TFR            top front right
TBL            top back left
TBC            top back center
TBR            top back right
DL             downmix left
DR             downmix right
WL             wide left
WR             wide right
SDL            surround direct left
SDR            surround direct right
LFE2           low frequency 2
TSL            top side left
TSR            top side right
BFC            bottom front center
BFL            bottom front left
BFR            bottom front right
Standard channel layouts:
NAME           DECOMPOSITION
mono           FC
stereo         FL+FR
2.1            FL+FR+LFE
3.0            FL+FR+FC
3.0(back)      FL+FR+BC
4.0            FL+FR+FC+BC
quad           FL+FR+BL+BR
quad(side)     FL+FR+SL+SR
3.1            FL+FR+FC+LFE
5.0            FL+FR+FC+BL+BR
5.0(side)      FL+FR+FC+SL+SR
4.1            FL+FR+FC+LFE+BC
5.1            FL+FR+FC+LFE+BL+BR
5.1(side)      FL+FR+FC+LFE+SL+SR
6.0            FL+FR+FC+BC+SL+SR
6.0(front)     FL+FR+FLC+FRC+SL+SR
hexagonal      FL+FR+FC+BL+BR+BC
6.1            FL+FR+FC+LFE+BC+SL+SR
6.1(back)      FL+FR+FC+LFE+BL+BR+BC
6.1(front)     FL+FR+LFE+FLC+FRC+SL+SR
7.0            FL+FR+FC+BL+BR+SL+SR
7.0(front)     FL+FR+FC+FLC+FRC+SL+SR
7.1            FL+FR+FC+LFE+BL+BR+SL+SR
7.1(wide)      FL+FR+FC+LFE+BL+BR+FLC+FRC
7.1(wide-side) FL+FR+FC+LFE+FLC+FRC+SL+SR
octagonal      FL+FR+FC+BL+BR+BC+SL+SR
hexadecagonal  FL+FR+FC+BL+BR+BC+SL+SR+TFL+TFC+TFR+TBL+TBC+TBR+WL+WR
downmix        DL+DR
22.2           FL+FR+FC+LFE+BL+BR+FLC+FRC+BC+SL+SR+TC+TFL+TFC+TFR+TBL+TBC+TBR+LFE2+TSL+TSR+BFC+BFL+BFR
D:\ffmpeg>




前置左声道 :


FL             front left



前置右声道 :


FR             front right



前置中间声道 :


FC             front center



低音炮 :


LFE            low frequency



立体声 = 前置左声道 + 前置右声道


stereo         FL+FR



单声道 = 前置中间声道


mono           FC





六、显示可用的音频采样格式


帮助文档对应内容 :


-sample_fmts        show available audio sample formats // 显示可用的音频采样格式



显示可用的音频采样格式命令 :


ffmpeg -sample_fmts



执行过程 :

【FFmpeg】ffmpeg 命令查询二 ( 比特流过滤器 | 可用协议 | 过滤器 | 像素格式 | 标准声道布局 | 音频采样格式 | 颜色名称 )(四)



命令行输出 :


D:\ffmpeg>ffmpeg -sample_fmts
ffmpeg version n4.4-19-g8d172d9409 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10-win32 (GCC) 20210408
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-shared --disable-static --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
name   depth
u8        8
s16      16
s32      32
flt      32
dbl      64
u8p       8
s16p     16
s32p     32
fltp     32
dblp     64
s64      64
s64p     64
D:\ffmpeg>


每个音频采样为 16 位 ; 注意 s16 与 s16p 是不同的 ;


s16      16
s16p     16





七、显示可用的颜色名称


帮助文档对应内容 :


-colors             show available color names // 显示可用的颜色名称



显示可用的颜色名称命令 :


ffmpeg -colors



执行过程 :

【FFmpeg】ffmpeg 命令查询二 ( 比特流过滤器 | 可用协议 | 过滤器 | 像素格式 | 标准声道布局 | 音频采样格式 | 颜色名称 )(四)



命令行输出 :


D:\ffmpeg>ffmpeg -colors
ffmpeg version n4.4-19-g8d172d9409 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10-win32 (GCC) 20210408
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-shared --disable-static --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
name                             #RRGGBB
AliceBlue                        #f0f8ff
AntiqueWhite                     #faebd7
Aqua                             #00ffff
Aquamarine                       #7fffd4
Azure                            #f0ffff
Beige                            #f5f5dc
Bisque                           #ffe4c4
Black                            #000000
BlanchedAlmond                   #ffebcd
Blue                             #0000ff
BlueViolet                       #8a2be2
Brown                            #a52a2a
BurlyWood                        #deb887
CadetBlue                        #5f9ea0
Chartreuse                       #7fff00
Chocolate                        #d2691e
Coral                            #ff7f50
CornflowerBlue                   #6495ed
Cornsilk                         #fff8dc
Crimson                          #dc143c
Cyan                             #00ffff
DarkBlue                         #00008b
DarkCyan                         #008b8b
DarkGoldenRod                    #b8860b
DarkGray                         #a9a9a9
DarkGreen                        #006400
DarkKhaki                        #bdb76b
DarkMagenta                      #8b008b
DarkOliveGreen                   #556b2f
Darkorange                       #ff8c00
DarkOrchid                       #9932cc
DarkRed                          #8b0000
DarkSalmon                       #e9967a
DarkSeaGreen                     #8fbc8f
DarkSlateBlue                    #483d8b
DarkSlateGray                    #2f4f4f
DarkTurquoise                    #00ced1
DarkViolet                       #9400d3
DeepPink                         #ff1493
DeepSkyBlue                      #00bfff
DimGray                          #696969
DodgerBlue                       #1e90ff
FireBrick                        #b22222
FloralWhite                      #fffaf0
ForestGreen                      #228b22
Fuchsia                          #ff00ff
Gainsboro                        #dcdcdc
GhostWhite                       #f8f8ff
Gold                             #ffd700
GoldenRod                        #daa520
Gray                             #808080
Green                            #008000
GreenYellow                      #adff2f
HoneyDew                         #f0fff0
HotPink                          #ff69b4
IndianRed                        #cd5c5c
Indigo                           #4b0082
Ivory                            #fffff0
Khaki                            #f0e68c
Lavender                         #e6e6fa
LavenderBlush                    #fff0f5
LawnGreen                        #7cfc00
LemonChiffon                     #fffacd
LightBlue                        #add8e6
LightCoral                       #f08080
LightCyan                        #e0ffff
LightGoldenRodYellow             #fafad2
LightGreen                       #90ee90
LightGrey                        #d3d3d3
LightPink                        #ffb6c1
LightSalmon                      #ffa07a
LightSeaGreen                    #20b2aa
LightSkyBlue                     #87cefa
LightSlateGray                   #778899
LightSteelBlue                   #b0c4de
LightYellow                      #ffffe0
Lime                             #00ff00
LimeGreen                        #32cd32
Linen                            #faf0e6
Magenta                          #ff00ff
Maroon                           #800000
MediumAquaMarine                 #66cdaa
MediumBlue                       #0000cd
MediumOrchid                     #ba55d3
MediumPurple                     #9370d8
MediumSeaGreen                   #3cb371
MediumSlateBlue                  #7b68ee
MediumSpringGreen                #00fa9a
MediumTurquoise                  #48d1cc
MediumVioletRed                  #c71585
MidnightBlue                     #191970
MintCream                        #f5fffa
MistyRose                        #ffe4e1
Moccasin                         #ffe4b5
NavajoWhite                      #ffdead
Navy                             #000080
OldLace                          #fdf5e6
Olive                            #808000
OliveDrab                        #6b8e23
Orange                           #ffa500
OrangeRed                        #ff4500
Orchid                           #da70d6
PaleGoldenRod                    #eee8aa
PaleGreen                        #98fb98
PaleTurquoise                    #afeeee
PaleVioletRed                    #d87093
PapayaWhip                       #ffefd5
PeachPuff                        #ffdab9
Peru                             #cd853f
Pink                             #ffc0cb
Plum                             #dda0dd
PowderBlue                       #b0e0e6
Purple                           #800080
Red                              #ff0000
RosyBrown                        #bc8f8f
RoyalBlue                        #4169e1
SaddleBrown                      #8b4513
Salmon                           #fa8072
SandyBrown                       #f4a460
SeaGreen                         #2e8b57
SeaShell                         #fff5ee
Sienna                           #a0522d
Silver                           #c0c0c0
SkyBlue                          #87ceeb
SlateBlue                        #6a5acd
SlateGray                        #708090
Snow                             #fffafa
SpringGreen                      #00ff7f
SteelBlue                        #4682b4
Tan                              #d2b48c
Teal                             #008080
Thistle                          #d8bfd8
Tomato                           #ff6347
Turquoise                        #40e0d0
Violet                           #ee82ee
Wheat                            #f5deb3
White                            #ffffff
WhiteSmoke                       #f5f5f5
Yellow                           #ffff00
YellowGreen                      #9acd32
D:\ffmpeg>




前者是别名 , 后面是 RGB 颜色值 , 这 3 33 个分量 , 每个分量占 1 11 字节 , 橙色 的颜色值为 # f f a 500 \rm \#ffa500#ffa500 ;


Orange                           #ffa500



上一篇:EBS Form弹性域开发和实现时的概念


下一篇:错误日志中去除重复的日志