Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DvbSubDestinationSettings

import type { DvbSubDestinationSettings } from "https://aws-api.deno.dev/v0.3/services/medialive.ts?docs=full";

Dvb Sub Destination Settings

interface DvbSubDestinationSettings {
Alignment?: DvbSubDestinationAlignment | null;
BackgroundColor?: DvbSubDestinationBackgroundColor | null;
BackgroundOpacity?: number | null;
Font?: InputLocation | null;
FontColor?: DvbSubDestinationFontColor | null;
FontOpacity?: number | null;
FontResolution?: number | null;
FontSize?: string | null;
OutlineColor?: DvbSubDestinationOutlineColor | null;
OutlineSize?: number | null;
ShadowColor?: DvbSubDestinationShadowColor | null;
ShadowOpacity?: number | null;
ShadowXOffset?: number | null;
ShadowYOffset?: number | null;
TeletextGridControl?: DvbSubDestinationTeletextGridControl | null;
XPosition?: number | null;
YPosition?: number | null;
}

§Properties

§

If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates. Selecting "smart" justification will left-justify live subtitles and center-justify pre-recorded subtitles. This option is not valid for source captions that are STL or 608/embedded. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.

§
BackgroundColor?: DvbSubDestinationBackgroundColor | null
[src]

Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must match.

§
BackgroundOpacity?: number | null
[src]

Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.

§
Font?: InputLocation | null
[src]

External font file used for caption burn-in. File extension must be 'ttf' or 'tte'. Although the user can select output fonts for many different types of input captions, embedded, STL and teletext sources use a strict grid system. Using external fonts with these caption sources could cause unexpected display of proportional fonts. All burn-in and DVB-Sub font settings must match.

§

Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.

§
FontOpacity?: number | null
[src]

Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub font settings must match.

§
FontResolution?: number | null
[src]

Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must match.

§
FontSize?: string | null
[src]

When set to auto fontSize will scale depending on the size of the output. Giving a positive integer will specify the exact font size in points. All burn-in and DVB-Sub font settings must match.

§

Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.

§
OutlineSize?: number | null
[src]

Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.

§

Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.

§
ShadowOpacity?: number | null
[src]

Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.

§
ShadowXOffset?: number | null
[src]

Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.

§
ShadowYOffset?: number | null
[src]

Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.

§
TeletextGridControl?: DvbSubDestinationTeletextGridControl | null
[src]

Controls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs.

§
XPosition?: number | null
[src]

Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit xPosition is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.

§
YPosition?: number | null
[src]

Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit yPosition is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.