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

CaptionSelector

import type { CaptionSelector } from "https://aws-api.deno.dev/v0.4/services/mediaconvert.ts?docs=full";

Use captions selectors to specify the captions data from your input that you use in your outputs. You can use up to 20 captions selectors per input.

interface CaptionSelector {
CustomLanguageCode?: string | null;
LanguageCode?: LanguageCode | null;
SourceSettings?: CaptionSourceSettings | null;
}

§Properties

§
CustomLanguageCode?: string | null
[src]

The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.

§
LanguageCode?: LanguageCode | null
[src]

The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in or SMPTE-TT, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.

§
SourceSettings?: CaptionSourceSettings | null
[src]

If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.