滤镜:qtext
- 目录
插件信息
title: QText
media types:
Video
description: 将文本叠加到视频上
version: 8
creator:
copyright: Meltytech, LLC
license: LGPLv2.1
参数
argument
title: 文本
description:
要叠加的文本。
type: string
readonly: no
required: yes
default: text
widget: text
geometry
title: 几何位置
description:
一组 X/Y 坐标,用于调整文本位置。
type: rect
readonly: no
required: no
animation: yes
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
unit: pixels
widget: spinner
style
title: 字体样式
description:
字体的样式,例如依字体族不同可以是 "italic" 或 "narrow"
type: string
readonly: no
required: no
default: normal
widget: combo
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: color
readonly: no
required: no
animation: yes
default: 255
widget: color
bgcolour
title: 背景色
description:
颜色值是 RGB 加 alpha 通道的十六进制表示,形式为 0xrrggbbaa。颜色也可以是这些单词:white、black、red、green 或 blue。还可以使用 HTML 风格的颜色值 #rrggbb 或 #aarrggbb。
type: color
readonly: no
required: no
animation: yes
default: 32
widget: color
olcolour
title: 描边颜色
description:
颜色值是 RGB 加 alpha 通道的十六进制表示,形式为 0xrrggbbaa。颜色也可以是这些单词:white、black、red、green 或 blue。还可以使用 HTML 风格的颜色值 #rrggbb 或 #aarrggbb。
type: color
readonly: no
required: no
animation: yes
widget: color
outline
title: 描边宽度
description:
描边的宽度,以像素计。
type: string
readonly: no
required: no
minimum: 0
maximum: 3
default: 0
unit: pixels
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
unit: pixels
widget: spinner
halign
title: 水平对齐
description:
设置在几何矩形内的水平对齐方式。
type: string
readonly: no
required: no
default: left
widget: combo
values:
- l
- left
- c
- center
- centre
- r
- right
valign
title: 垂直对齐
description:
设置在几何矩形内的垂直对齐方式。
type: string
readonly: no
required: no
default: top
widget: combo
values:
- t
- top
- m
- middle
- b
- bottom
html
title: HTML 字符串
description:
从包含 HTML 4 子集的字符串渲染富文本。与此唯一可以配合使用的其他属性是 geometry 和 bgcolour。geometry 的宽和高定义页面或块的大小,而其 X 和 Y 坐标决定其位置。该属性的优先级高于 argument;若设置了该属性,argument 会被忽略。
type: string
readonly: no
required: no
resource
title: HTML 文件
description:
从包含 HTML 4 子集的文件渲染富文本。与此唯一可以配合使用的其他属性是 geometry 和 bgcolour。geometry 的宽和高定义页面或块的大小,而其 X 和 Y 坐标决定其位置。该属性的优先级高于 argument 和 html;若设置了该属性,argument 和 html 都会被忽略。
type: string
readonly: no
required: no
_hide
title: 隐藏
description:
设置此属性不会被序列化(与 "disable" 不同)。当设置为真(1)时,该滤镜不进行渲染。这允许编辑工具在编辑过程中提供自己的渲染,而在工具界面之外仍让该滤镜进行渲染。
type: boolean
readonly: no
required: no
default: 0
overflow-y
title: 垂直溢出
description:
此选项仅在使用 html 或 resource 属性时适用。它控制文本是被裁剪到 geometry 属性指定的范围,还是允许溢出。未设置时,会根据几何高度是否大于等于 profile 高度自动决定。默认值为未设置/自动。
type: boolean
readonly: no
required: no
pixel_ratio
title: 像素比
description:
此选项仅在使用 html 或 resource 属性时适用。它为渲染添加一个缩放因子。这可用于让 MLT 的输出与用户界面相匹配。注意:该属性仅在 Windows 上使用,因为迄今发现它是唯一一个相对设备像素比具有不同渲染行为的平台。
type: float
readonly: no
required: no
minimum: 1.0
default: 1.0
opacity
title: 不透明度
description:
所有元素的不透明度 - 文本、描边和背景
type: float
readonly: no
required: no
minimum: 0
maximum: 1.0
default: 1.0
widget: slider
typewriter
title: 打字机效果
description:
启用打字机效果,使文本随时间逐步出现。
type: boolean
readonly: no
required: no
minimum: 0
maximum: 1
default: 0
widget: checkbox
typewriter.step_length
title: 打字机步进长度
description:
每个字符、单词或行出现之间的帧数。
type: integer
readonly: no
required: no
minimum: 1
default: 25
widget: spinner
typewriter.step_sigma
title: 打字机步进变化
description:
时间上的随机变化(以帧为单位的标准差)。
type: integer
readonly: no
required: no
minimum: 0
default: 0
widget: spinner
typewriter.random_seed
title: 打字机随机种子
description:
用于时间随机变化的随机数生成种子值。
type: integer
readonly: no
required: no
minimum: 0
default: 0
widget: spinner
typewriter.macro_type
title: 打字机动画模式
description:
打字机动画的粒度。
type: integer
readonly: no
required: no
default: 1
widget: combo
values:
- 1
- 2
- 3
typewriter.cursor
title: 打字机光标
description:
在打字机动画期间显示闪烁光标。0 = 无光标,1 = 打字过程中显示光标,2 = 光标始终可见。
type: integer
readonly: no
required: no
minimum: 0
maximum: 2
default: 1
widget: combo
typewriter.cursor_blink_rate
title: 光标闪烁频率
description:
光标闪烁一个周期(亮 + 暗)所需的帧数。
type: integer
readonly: no
required: no
minimum: 0
default: 25
unit: frames
widget: spinner
typewriter.cursor_char
title: 光标字符
description:
用于闪烁光标的字符。
type: string
readonly: no
required: no
default:
widget: text