滤镜:timer
- 目录
插件信息
title: 计时器
media types:
Video
description: 在视频上叠加一个计时器。计时器可以向上计数或向下计数。
version: 5
creator:
copyright: Meltytech, LLC
license: LGPLv2.1
参数
format
title: 格式
description:
叠加的计时器文本的时间格式。
type: string
readonly: no
required: no
default: SS.SS
widget: combo
values:
- {"HH"=>"MM:SS"}
- {"HH"=>"MM:SS.S"}
- {"MM"=>"SS"}
- {"MM"=>"SS.SS"}
- {"MM"=>"SS.SSS"}
- SS
- SS.S
- SS.SS
- SS.SSS
start
title: 起始
description:
计时器开始向上或向下计数的时间。从滤镜开始直到起始时间到达之前,文本会冻结在 00:00:00.000。必须使用 HH:MM:SS.SSS 格式
type: string
readonly: no
required: no
default: 00:00:00.000
widget: text
duration
title: 时长
description:
起始时间到达后计时器可经过的最大时长。当该时长过后,文本会冻结在时长值上。必须使用 HH:MM:SS.SSS 格式
type: string
readonly: no
required: no
default: 00:00:10.000
widget: text
offset
title: 偏移
description:
要加到计时器值上的偏移量。当方向为 "down" 时,计时器将向下计数到 "offset" 而不是 00:00:00.000。当方向为 up 时,计时器从 "offset" 开始向上计数。必须使用 HH:MM:SS.SSS 格式
type: string
readonly: no
required: no
default: 00:00:00.000
widget: text
speed
title: 速度
description:
时钟速度倍率。例如,speed 10.0 会让计时器每播放 1 秒走 10 秒。它缩放 Duration(时长),但不影响 Start(起始)或 Offset(偏移)。例如:start 5s、duration 30s、offset 7s 且 speed 10.0 时,计时器将在播放时间 00:00:05.000 以值 00:00:07 开始,每秒播放计数 10 秒,并在播放时间 00:00:08.000 以值 00:00:37 停止。
type: float
readonly: no
required: no
default: 1.0
direction
title: 方向
description:
计数器应从 00:00:00.000 向上计数,还是从时长值向下计数。
type: string
readonly: no
required: no
default: up
widget: combo
values:
- up
- down
geometry
title: 几何位置
description:
一组 X/Y 坐标,用于调整文本位置。
type: rect
readonly: no
required: no
default: 0%/0%:100%x100%:100
family
title: 字体族
description:
字体类型。
type: string
readonly: no
required: no
default: Sans
widget: combo
size
title: 字号
description:
字体大小,以像素计。
type: integer
readonly: no
required: no
default: 48
widget: spinner
style
title: 字体样式
description:
字体的样式。
type: string
readonly: no
required: no
default: normal
widget: combo
values:
- normal
- italic
weight
title: 字体粗细
description:
字体的粗细(weight)。
type: integer
readonly: no
required: no
minimum: 100
maximum: 1000
default: 400
widget: spinner
fgcolour
title: 前景色
description:
颜色值是 RGB 加 alpha 通道的十六进制表示,形式为 0xrrggbbaa。颜色也可以是这些单词:white、black、red、green 或 blue。还可以使用 HTML 风格的颜色值 #rrggbb 或 #aarrggbb。
type: string
readonly: no
required: no
default: 255
widget: color
bgcolour
title: 背景色
description:
颜色值是 RGB 加 alpha 通道的十六进制表示,形式为 0xrrggbbaa。颜色也可以是这些单词:white、black、red、green 或 blue。还可以使用 HTML 风格的颜色值 #rrggbb 或 #aarrggbb。
type: string
readonly: no
required: no
default: 32
widget: color
olcolour
title: 描边颜色
description:
颜色值是 RGB 加 alpha 通道的十六进制表示,形式为 0xrrggbbaa。颜色也可以是这些单词:white、black、red、green 或 blue。还可以使用 HTML 风格的颜色值 #rrggbb 或 #aarrggbb。
type: string
readonly: no
required: no
widget: color
outline
title: 描边宽度
description:
描边的宽度,以像素计。
type: string
readonly: no
required: no
minimum: 0
maximum: 3
default: 0
widget: spinner
underline
title: 下划线
description:
为文本应用下划线装饰。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
strikethrough
title: 删除线
description:
为文本应用删除线装饰。
type: boolean
readonly: no
required: no
default: 0
widget: checkbox
pad
title: 内边距
description:
背景矩形在文本边缘之外扩展的像素数。
type: integer
readonly: no
required: no
default: 0
widget: spinner
halign
title: 水平对齐
description:
设置在几何矩形内的水平对齐方式。
type: string
readonly: no
required: no
default: left
widget: combo
values:
- left
- centre
- right
valign
title: 垂直对齐
description:
设置在几何矩形内的垂直对齐方式。
type: string
readonly: no
required: no
default: top
widget: combo
values:
- top
- middle
- bottom
opacity
title: 不透明度
description:
所有元素的不透明度 - 文本、描边和背景
type: float
readonly: no
required: no
minimum: 0
maximum: 1.0
default: 1.0
widget: slider