Skip to content
v2.274.0

CaptionSelectorProperty Struct ​

Information about one caption to extract from the input.

The parent of this entity is InputSettings.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const captionSelectorProperty: medialive.CfnChannel.CaptionSelectorProperty = {
  languageCode: 'languageCode',
  name: 'name',
  selectorSettings: {
    ancillarySourceSettings: {
      sourceAncillaryChannelNumber: 123,
    },
    aribSourceSettings: { },
    dvbSubSourceSettings: {
      ocrLanguage: 'ocrLanguage',
      pid: 123,
    },
    embeddedSourceSettings: {
      convert608To708: 'convert608To708',
      scte20Detection: 'scte20Detection',
      source608ChannelNumber: 123,
      source608TrackNumber: 123,
    },
    scte20SourceSettings: {
      convert608To708: 'convert608To708',
      source608ChannelNumber: 123,
    },
    scte27SourceSettings: {
      ocrLanguage: 'ocrLanguage',
      pid: 123,
    },
    smartSubtitleSourceSettings: {
      captionSynchronizationMode: 'captionSynchronizationMode',
      inferenceFeedOutput: 'inferenceFeedOutput',
    },
    teletextSourceSettings: {
      outputRectangle: {
        height: 123,
        leftOffset: 123,
        topOffset: 123,
        width: 123,
      },
      pageNumber: 'pageNumber',
    },
  },
};

Properties ​

languageCodestringlanguage_codestrlanguageCodeStringLanguageCodestringLanguageCode*string#
When specified, this field indicates the three-letter language code of the captions track to extract from the source.
namestringnamestrnameStringNamestringName*string#
The name identifier for a captions selector.

This name is used to associate this captions selector with one or more captions descriptions. Names must be unique within a channel.

selectorSettingsIResolvable | CfnChannel.CaptionSelectorSettingsPropertyselector_settingstyping.Union[IResolvable, CaptionSelectorSettingsProperty]selectorSettingsIResolvableSelectorSettingsIResolvableSelectorSettingsinterface{}#
Information about the specific audio to extract from the input.