plugins
滤镜 Filter
滤镜:lightshow

滤镜:lightshow

插件信息

title: 灯光秀
media types: Video
description: 一个音频可视化滤镜,按音频频谱幅度按比例为图像上色。
version: 3
creator:
copyright: Meltytech, LLC
license: LGPLv2.1

参数

frequency_low

title: 低频
description: 用于影响图像运动的频率范围下限。
type: integer
readonly: no
required: no
default: 20
unit: Hz

frequency_high

title: 高频
description: 用于影响图像运动的频率范围上限。
type: integer
readonly: no
required: no
default: 20000
unit: Hz

threshold

title: 电平阈值
description: 在频率范围内必须出现的最小声音幅度,达到它才会使图像运动。
type: float
readonly: no
required: no
minimum: -100
maximum: 0
default: -30
unit: dB

osc

title: 振荡
description: 振荡可用于在长时间有声音时使图像来回运动。值为 0 表示不振荡。
type: float
readonly: no
required: no
minimum: 0
default: 5
unit: Hz

color.*

title: 灯光颜色
description:

灯光的颜色。

可以使用递增的后缀指定多种颜色,使波形以圆形渐变方式绘制。color.1 是圆的内部。
随后的颜色会形成朝外部的渐变。

默认情况下,该滤镜定义了一种颜色:

    color.1=0xffffffff"

这会使图像变亮。

要创建渐变,请定义更多颜色:

    color.2=green color.3=0x77777777 color.4=0x00000000

颜色值是 RGB 加上 alpha 通道的十六进制表示,形式为 0xrrggbbaa。
颜色也可以用单词表示:white、black、red、green 或 blue。
你也可以使用 HTML 风格的颜色值 #rrggbb 或 #aarrggbb。

type: color
readonly: no
required: no
widget: color

rect

title: 矩形
description:

定义绘制颜色所在的矩形。
格式为:"X Y W H"。
除非带有后缀 '%',否则 X、Y、W、H 被视为以像素为单位。

type: rect
readonly: no
required: no
animation: yes
default: 0 0 100% 100%

window_size

title: 窗口大小
description: FFT 将对其执行运算的样本数。如果 window_size 小于一帧中的样本数,多余的样本将被忽略。如果 window_size 大于一帧中的样本数,则会从先前各帧缓冲样本以填满窗口。缓冲以滑动窗口方式进行,因此始终变换的是最新的样本。
type: integer
readonly: no
required: no
default: 2048