滤镜:audiolevelgraph
插件信息
title: 音频电平可视化滤镜
media types:
Video
description: 一个音频可视化滤镜,在图像上绘制音频电平表。
version: 3
creator:
copyright: Meltytech, LLC
license: LGPLv2.1
参数
type
title: 图形类型
description:
用于显示电平的图形类型。
type: string
readonly: no
required: no
default: bar
widget: combo
values:
- segment
- bar
bgcolor
title: 背景颜色
description:
应用于整个帧的背景颜色。默认颜色为透明。
颜色值是 RGB 加上 alpha 通道的十六进制表示,形式为 0xrrggbbaa。
颜色也可以用单词表示:white、black、red、green 或 blue。
你也可以使用 HTML 风格的颜色值 #rrggbb 或 #aarrggbb。type: color
readonly: no
required: no
animation: yes
widget: color
color.*
title: 前景色
description:
波形的颜色。
可以使用递增的后缀指定多种颜色,使波形以渐变方式绘制。color.1 是波形的顶部。
随后的颜色会形成朝底部的渐变。
默认情况下,该滤镜定义了一种颜色:
color.1=0xffffffff"
这会产生一个白色波形。
要创建渐变,请定义更多颜色:
color.2=green color.3=0x77777777
颜色值是 RGB 加上 alpha 通道的十六进制表示,形式为 0xrrggbbaa。
颜色也可以用单词表示:white、black、red、green 或 blue。
你也可以使用 HTML 风格的颜色值 #rrggbb 或 #aarrggbb。type: color
readonly: no
required: no
animation: yes
widget: color
thickness
title: 线条粗细
description:
条形或分段的粗细。
type: integer
readonly: no
required: no
animation: yes
minimum: 0
maximum: 20
default: 0
unit: pixels
widget: spinner
angle
title: 角度
description:
应用于波形的旋转角度。
type: float
readonly: no
required: no
animation: yes
minimum: 0
maximum: 360
default: 0
widget: spinner
rect
title: 矩形
description:
定义绘制波形所在的矩形。
格式为:"X Y W H"。
除非带有后缀 '%',否则 X、Y、W、H 被视为以像素为单位。type: rect
readonly: no
required: no
animation: yes
default: 0 0 100% 100%
mirror
title: 镜像
description:
以矩形中心为轴对频谱做镜像。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
reverse
title: 反向
description:
从右声道开始绘制各点。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
gorient
title: 渐变方向
description:
颜色渐变的方向。
type: string
readonly: no
required: no
default: vertical
widget: combo
values:
- vertical
- horizontal
channels
title: 声道
description:
要显示的声道数量。
type: integer
readonly: no
required: no
animation: yes
default: 2
segments
title: 分段
description:
当图形类型为 "segment" 时所要绘制的分段数量。
type: integer
readonly: no
required: no
animation: yes
minimum: 2
maximum: 100
default: 10
segment_gap
title: 分段间隔
description:
各分段之间以像素为单位的间隔。
type: integer
readonly: no
required: no
animation: yes
minimum: 0
maximum: 100
default: 10
unit: pixels