Filter: subtitle

Plugin Information

title: Subtitle
media types: Video
description: Overlay subtitles onto the video
version: 1
creator:
copyright: Meltytech, LLC
license: LGPLv2.1

Parameters

resource

title: Resource
description: The path to a text file that contains SRT subtitles
type: string
readonly: no
required: no

text

title: Text
description: A string that containes a complete SRT document. This parameter is ignored if resource is set.
type: string
readonly: no
required: no

feed

title: Text
description: A string that identifies the feed in the MLT Frame to overlay. This parameter is ignored if resource or text is set.
type: string
readonly: no
required: no
default: 0

geometry

title: Geometry
description: A set of X/Y coordinates by which to adjust the text.
type: rect
readonly: no
required: no
default: 20%/80%:60%x20%:100

family

title: Font family
description: The typeface of the font.
type: string
readonly: no
required: no
default: Sans
widget: combo

size

title: Font size
description: The size in pixels of the font.
type: integer
readonly: no
required: no
default: 48
widget: spinner

style

title: Font style
description: The style of the font.
type: string
readonly: no
required: no
default: normal
widget: combo
values:

  • normal
  • italic

weight

title: Font weight
description: The weight of the font.
type: integer
readonly: no
required: no
minimum: 100
maximum: 1000
default: 400
widget: spinner

fgcolour

title: Foreground color
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.
type: string
readonly: no
required: no
default: 255
widget: color

bgcolour

title: Background color
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.
type: string
readonly: no
required: no
default: 32
widget: color

olcolour

title: Outline color
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.
type: string
readonly: no
required: no
widget: color

outline

title: Outline Width
description: The width of the outline in pixels.
type: string
readonly: no
required: no
minimum: 0
default: 0
widget: spinner

pad

title: Padding
description: The number of pixels to pad the background rectangle beyond edges of text.
type: integer
readonly: no
required: no
default: 0
widget: spinner

halign

title: Horizontal alignment
description: Set the horizontal alignment within the geometry rectangle.
type: string
readonly: no
required: no
default: left
widget: combo
values:

  • left
  • centre
  • right

valign

title: Vertical alignment
description: Set the vertical alignment within the geometry rectangle.
type: string
readonly: no
required: no
default: top
widget: combo
values:

  • top
  • middle
  • bottom

opacity

title: Opacity
description: Opacity of all elements - text, outline, and background
type: float
readonly: no
required: no
minimum: 0
maximum: 1.0
default: 1.0
widget: slider

Search

Subscribe

Subscribe to News via RSS.

Recent Posts

About

MLT enables you to author, manage, and run multitrack audio/video compositions.
See our Hall of Fame
Copyright © 2008-2025 by Meltytech, LLC.

Social Links