/usr/share/mlt/qt/producer_qtext.yml is in libmlt-data 6.4.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | schema_version: 0.1
type: producer
identifier: qtext
title: QT Titler
version: 1
copyright: Brian Matherly
creator: Brian Matherly
license: LGPLv2.1
language: en
tags:
- Video
description: >
A title generator that uses the Qt framework to render text.
notes: >
qtext accepts a file name with at ".txt" extension. If the filename begins
with "+" the qtext producer interprets the filename as text. This is a
shortcut to embed titles in melt commands. For MLT XML, it is recommended that
you embed the title text in the "text" property value.
qtext has builtin scaling. It will rescale the originally rendered title to
whatever the consumer requests. Therefore, it will lose its aspect ratio if
so requested, and it is up to the consumer to request a proper width and
height that maintains the image aspect.
parameters:
- identifier: argument
title: File
type: string
description: |
A text file containing text to be rendered.
The text file contents initialize the value of the "text" parameter.
readonly: no
required: no
mutable: no
widget: fileopen
- identifier: text
title: Text
type: string
description: |
A text string to be rendered.
readonly: no
mutable: yes
widget: textbox
- identifier: fgcolour
title: Foreground color
type: string
description: >
A color value is a hexadecimal representation of RGB plus alpha channel
as 0xrrggbbaa. Colors can also be the words: white, black, red, green,
or blue. You can also use a HTML-style color values #rrggbb or #aarrggbb.
readonly: no
mutable: yes
widget: color
- identifier: bgcolour
title: Background color
type: string
description: >
A color value is a hexadecimal representation of RGB plus alpha channel
as 0xrrggbbaa. Colors can also be the words: white, black, red, green,
or blue. You can also use a HTML-style color values #rrggbb or #aarrggbb.
readonly: no
mutable: yes
widget: color
- identifier: olcolour
title: Outline color
type: string
description: >
A color value is a hexadecimal representation of RGB plus alpha channel
as 0xrrggbbaa. Colors can also be the words: white, black, red, green,
or blue. You can also use a HTML-style color values #rrggbb or #aarrggbb.
readonly: no
mutable: yes
widget: color
- identifier: outline
title: Outline Width
type: string
description: >
The width of the outline in pixels.
readonly: no
default: 0
minimum: 0
maximum: 3
mutable: yes
widget: spinner
- identifier: align
title: Paragraph alignment
type: string
description: >
left, center, right
readonly: no
default: left
mutable: yes
widget: combo
- identifier: pad
title: Padding
type: integer
description: >
The number of pixels to pad the background rectangle beyond edges of text.
readonly: no
default: 0
mutable: yes
widget: spinner
- identifier: family
title: Font family
type: string
description: >
The font typeface.
default: Sans
readonly: no
mutable: yes
widget: combo
- identifier: size
title: Font size
type: integer
description: >
The size in pixels of the font.
default: 48
readonly: no
mutable: yes
widget: spinner
- identifier: style
title: Font style
type: string
description: >
The style of the font.
values:
- normal
- italic
default: normal
readonly: no
mutable: yes
widget: combo
- identifier: weight
title: Font weight
type: integer
description: The weight of the font.
minimum: 100
maximum: 1000
default: 400
readonly: no
mutable: yes
widget: spinner
- identifier: encoding
title: Encoding
type: string
description: >
The text encoding type of the "text" parameter.
default: UTF-8
readonly: no
mutable: yes
widget: combo
- identifier: force_aspect_ratio
title: Sample aspect ratio
type: float
description: Optionally override a (mis)detected aspect ratio
mutable: yes
- identifier: meta.media.width
title: Real width
type: integer
description: The original, unscaled width of the rendered image.
readonly: yes
- identifier: meta.media.height
title: Real height
type: integer
description: The original, unscaled height of the rendered image.
readonly: yes
- identifier: width
title: Width
type: integer
description: The last requested scaled image width.
readonly: yes
- identifier: height
title: Height
type: integer
description: The last requested scaled image height.
readonly: yes
|