6 copyright: Brian Matherly
7 creator: Brian Matherly
13 A title generator that uses the Qt framework to render text.
15 qtext accepts a file name with at ".txt" extension. If the filename begins
16 with "+" the qtext producer interprets the filename as text. This is a
17 shortcut to embed titles in melt commands. For MLT XML, it is recommended that
18 you embed the title text in the "text" property value.
20 qtext has builtin scaling. It will rescale the originally rendered title to
21 whatever the consumer requests. Therefore, it will lose its aspect ratio if
22 so requested, and it is up to the consumer to request a proper width and
23 height that maintains the image aspect.
26 - identifier: argument
30 A text file containing text to be rendered.
31 The text file contents initialize the value of the "text" parameter.
41 A text string to be rendered.
46 - identifier: fgcolour
47 title: Foreground color
50 A color value is a hexadecimal representation of RGB plus alpha channel
51 as 0xrrggbbaa. Colors can also be the words: white, black, red, green,
52 or blue. You can also use a HTML-style color values #rrggbb or #aarrggbb.
57 - identifier: bgcolour
58 title: Background color
61 A color value is a hexadecimal representation of RGB plus alpha channel
62 as 0xrrggbbaa. Colors can also be the words: white, black, red, green,
63 or blue. You can also use a HTML-style color values #rrggbb or #aarrggbb.
68 - identifier: olcolour
72 A color value is a hexadecimal representation of RGB plus alpha channel
73 as 0xrrggbbaa. Colors can also be the words: white, black, red, green,
74 or blue. You can also use a HTML-style color values #rrggbb or #aarrggbb.
83 The width of the outline in pixels.
92 title: Paragraph alignment
105 The number of pixels to pad the background rectangle beyond edges of text.
125 The size in pixels of the font.
135 The style of the font.
147 description: The weight of the font.
155 - identifier: encoding
159 The text encoding type of the "text" parameter.
165 - identifier: force_aspect_ratio
166 title: Sample aspect ratio
168 description: Optionally override a (mis)detected aspect ratio
171 - identifier: meta.media.width
174 description: The original, unscaled width of the rendered image.
177 - identifier: meta.media.height
180 description: The original, unscaled height of the rendered image.
186 description: The last requested scaled image width.
192 description: The last requested scaled image height.