滤镜:subtitle
- 目录
插件信息
title: 字幕
media types:
Video
description: 将字幕叠加到视频上
version: 5
creator:
copyright: Meltytech, LLC
license: LGPLv2.1
参数
resource
title: 资源
description:
包含 SRT 字幕的文本文件路径
type: string
readonly: no
required: no
text
title: 文本
description:
包含完整 SRT 文档的字符串。如果设置了 resource,此参数将被忽略。
type: string
readonly: no
required: no
feed
title: 文本
description:
标识要叠加到 MLT 帧(Frame)中的哪个馈送(feed)的字符串。如果设置了 resource 或 text,此参数将被忽略。
type: string
readonly: no
required: no
default: 0
geometry
title: 几何位置
description:
一组 X/Y 坐标,用于调整文本位置。
type: rect
readonly: no
required: no
default: 20%/80%:60%x20%: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
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
typewriter
title: 打字机效果
description:
启用打字机效果,使文本随时间逐步出现。仅在 qtext 滤镜可用时支持。
type: boolean
readonly: no
required: no
minimum: 0
maximum: 1
default: 0
widget: checkbox
typewriter.step_length
title: 打字机步进长度
description:
每个字符、单词或行出现之间的帧数。仅在 qtext 滤镜可用时支持。
type: integer
readonly: no
required: no
minimum: 1
default: 25
widget: spinner
typewriter.step_sigma
title: 打字机步进变化
description:
时间上的随机变化(以帧为单位的标准差)。仅在 qtext 滤镜可用时支持。
type: integer
readonly: no
required: no
minimum: 0
default: 0
widget: spinner
typewriter.random_seed
title: 打字机随机种子
description:
用于时间随机变化的随机数生成种子值。仅在 qtext 滤镜可用时支持。
type: integer
readonly: no
required: no
minimum: 0
default: 0
widget: spinner
typewriter.macro_type
title: 打字机动画模式
description:
打字机动画的粒度。仅在 qtext 滤镜可用时支持。
type: integer
readonly: no
required: no
default: 1
widget: combo
values:
- 1
- 2
- 3
typewriter.cursor
title: 打字机光标
description:
在打字机动画期间显示闪烁光标。0 = 无光标,1 = 打字过程中显示光标,2 = 光标始终可见。仅在 qtext 滤镜可用时支持。
type: integer
readonly: no
required: no
minimum: 0
maximum: 2
default: 1
widget: combo
typewriter.cursor_blink_rate
title: 光标闪烁频率
description:
光标闪烁一个周期(亮 + 暗)所需的帧数。仅在 qtext 滤镜可用时支持。
type: integer
readonly: no
required: no
minimum: 0
default: 25
unit: frames
widget: spinner
typewriter.cursor_char
title: 光标字符
description:
用于闪烁光标的字符。仅在 qtext 滤镜可用时支持。
type: string
readonly: no
required: no
default:
widget: text