Skip to content
v2.277.0

CaptionSelectorSettingsProperty Struct ​

Captions Selector Settings.

The parent of this entity is CaptionSelector.

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 captionSelectorSettingsProperty: medialive.CfnChannel.CaptionSelectorSettingsProperty = {
  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',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

caption_selector_settings_property = medialive.CfnChannel.CaptionSelectorSettingsProperty(
    ancillary_source_settings=medialive.CfnChannel.AncillarySourceSettingsProperty(
        source_ancillary_channel_number=123
    ),
    arib_source_settings=medialive.CfnChannel.AribSourceSettingsProperty(),
    dvb_sub_source_settings=medialive.CfnChannel.DvbSubSourceSettingsProperty(
        ocr_language="ocrLanguage",
        pid=123
    ),
    embedded_source_settings=medialive.CfnChannel.EmbeddedSourceSettingsProperty(
        convert608_to708="convert608To708",
        scte20_detection="scte20Detection",
        source608_channel_number=123,
        source608_track_number=123
    ),
    scte20_source_settings=medialive.CfnChannel.Scte20SourceSettingsProperty(
        convert608_to708="convert608To708",
        source608_channel_number=123
    ),
    scte27_source_settings=medialive.CfnChannel.Scte27SourceSettingsProperty(
        ocr_language="ocrLanguage",
        pid=123
    ),
    smart_subtitle_source_settings=medialive.CfnChannel.SmartSubtitleSourceSettingsProperty(
        caption_synchronization_mode="captionSynchronizationMode",
        inference_feed_output="inferenceFeedOutput"
    ),
    teletext_source_settings=medialive.CfnChannel.TeletextSourceSettingsProperty(
        output_rectangle=medialive.CfnChannel.CaptionRectangleProperty(
            height=123,
            left_offset=123,
            top_offset=123,
            width=123
        ),
        page_number="pageNumber"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;

CaptionSelectorSettingsProperty captionSelectorSettingsProperty = CaptionSelectorSettingsProperty.builder()
        .ancillarySourceSettings(AncillarySourceSettingsProperty.builder()
                .sourceAncillaryChannelNumber(123)
                .build())
        .aribSourceSettings(AribSourceSettingsProperty.builder().build())
        .dvbSubSourceSettings(DvbSubSourceSettingsProperty.builder()
                .ocrLanguage("ocrLanguage")
                .pid(123)
                .build())
        .embeddedSourceSettings(EmbeddedSourceSettingsProperty.builder()
                .convert608To708("convert608To708")
                .scte20Detection("scte20Detection")
                .source608ChannelNumber(123)
                .source608TrackNumber(123)
                .build())
        .scte20SourceSettings(Scte20SourceSettingsProperty.builder()
                .convert608To708("convert608To708")
                .source608ChannelNumber(123)
                .build())
        .scte27SourceSettings(Scte27SourceSettingsProperty.builder()
                .ocrLanguage("ocrLanguage")
                .pid(123)
                .build())
        .smartSubtitleSourceSettings(SmartSubtitleSourceSettingsProperty.builder()
                .captionSynchronizationMode("captionSynchronizationMode")
                .inferenceFeedOutput("inferenceFeedOutput")
                .build())
        .teletextSourceSettings(TeletextSourceSettingsProperty.builder()
                .outputRectangle(CaptionRectangleProperty.builder()
                        .height(123)
                        .leftOffset(123)
                        .topOffset(123)
                        .width(123)
                        .build())
                .pageNumber("pageNumber")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var captionSelectorSettingsProperty = new CaptionSelectorSettingsProperty {
    AncillarySourceSettings = new AncillarySourceSettingsProperty {
        SourceAncillaryChannelNumber = 123
    },
    AribSourceSettings = new AribSourceSettingsProperty { },
    DvbSubSourceSettings = new DvbSubSourceSettingsProperty {
        OcrLanguage = "ocrLanguage",
        Pid = 123
    },
    EmbeddedSourceSettings = new EmbeddedSourceSettingsProperty {
        Convert608To708 = "convert608To708",
        Scte20Detection = "scte20Detection",
        Source608ChannelNumber = 123,
        Source608TrackNumber = 123
    },
    Scte20SourceSettings = new Scte20SourceSettingsProperty {
        Convert608To708 = "convert608To708",
        Source608ChannelNumber = 123
    },
    Scte27SourceSettings = new Scte27SourceSettingsProperty {
        OcrLanguage = "ocrLanguage",
        Pid = 123
    },
    SmartSubtitleSourceSettings = new SmartSubtitleSourceSettingsProperty {
        CaptionSynchronizationMode = "captionSynchronizationMode",
        InferenceFeedOutput = "inferenceFeedOutput"
    },
    TeletextSourceSettings = new TeletextSourceSettingsProperty {
        OutputRectangle = new CaptionRectangleProperty {
            Height = 123,
            LeftOffset = 123,
            TopOffset = 123,
            Width = 123
        },
        PageNumber = "pageNumber"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

captionSelectorSettingsProperty := &CaptionSelectorSettingsProperty{
	AncillarySourceSettings: &AncillarySourceSettingsProperty{
		SourceAncillaryChannelNumber: jsii.Number(123),
	},
	AribSourceSettings: &AribSourceSettingsProperty{
	},
	DvbSubSourceSettings: &DvbSubSourceSettingsProperty{
		OcrLanguage: jsii.String("ocrLanguage"),
		Pid: jsii.Number(123),
	},
	EmbeddedSourceSettings: &EmbeddedSourceSettingsProperty{
		Convert608To708: jsii.String("convert608To708"),
		Scte20Detection: jsii.String("scte20Detection"),
		Source608ChannelNumber: jsii.Number(123),
		Source608TrackNumber: jsii.Number(123),
	},
	Scte20SourceSettings: &Scte20SourceSettingsProperty{
		Convert608To708: jsii.String("convert608To708"),
		Source608ChannelNumber: jsii.Number(123),
	},
	Scte27SourceSettings: &Scte27SourceSettingsProperty{
		OcrLanguage: jsii.String("ocrLanguage"),
		Pid: jsii.Number(123),
	},
	SmartSubtitleSourceSettings: &SmartSubtitleSourceSettingsProperty{
		CaptionSynchronizationMode: jsii.String("captionSynchronizationMode"),
		InferenceFeedOutput: jsii.String("inferenceFeedOutput"),
	},
	TeletextSourceSettings: &TeletextSourceSettingsProperty{
		OutputRectangle: &CaptionRectangleProperty{
			Height: jsii.Number(123),
			LeftOffset: jsii.Number(123),
			TopOffset: jsii.Number(123),
			Width: jsii.Number(123),
		},
		PageNumber: jsii.String("pageNumber"),
	},
}

Properties ​

ancillarySourceSettingsoptionalIResolvable | CfnChannel.AncillarySourceSettingsPropertyancillary_source_settingsoptionaltyping.Union[IResolvable, AncillarySourceSettingsProperty]ancillarySourceSettingsoptionalIResolvableAncillarySourceSettingsoptionalIResolvableAncillarySourceSettingsoptionalinterface{}#
Information about the ancillary captions to extract from the input.
aribSourceSettingsoptionalIResolvable | CfnChannel.AribSourceSettingsPropertyarib_source_settingsoptionaltyping.Union[IResolvable, AribSourceSettingsProperty]aribSourceSettingsoptionalIResolvableAribSourceSettingsoptionalIResolvableAribSourceSettingsoptionalinterface{}#
Information about the ARIB captions to extract from the input.
dvbSubSourceSettingsoptionalIResolvable | CfnChannel.DvbSubSourceSettingsPropertydvb_sub_source_settingsoptionaltyping.Union[IResolvable, DvbSubSourceSettingsProperty]dvbSubSourceSettingsoptionalIResolvableDvbSubSourceSettingsoptionalIResolvableDvbSubSourceSettingsoptionalinterface{}#
Information about the DVB Sub captions to extract from the input.
embeddedSourceSettingsoptionalIResolvable | CfnChannel.EmbeddedSourceSettingsPropertyembedded_source_settingsoptionaltyping.Union[IResolvable, EmbeddedSourceSettingsProperty]embeddedSourceSettingsoptionalIResolvableEmbeddedSourceSettingsoptionalIResolvableEmbeddedSourceSettingsoptionalinterface{}#
Information about the embedded captions to extract from the input.
scte20SourceSettingsoptionalIResolvable | CfnChannel.Scte20SourceSettingsPropertyscte20_source_settingsoptionaltyping.Union[IResolvable, Scte20SourceSettingsProperty]scte20SourceSettingsoptionalIResolvableScte20SourceSettingsoptionalIResolvableScte20SourceSettingsoptionalinterface{}#
Information about the SCTE-20 captions to extract from the input.
scte27SourceSettingsoptionalIResolvable | CfnChannel.Scte27SourceSettingsPropertyscte27_source_settingsoptionaltyping.Union[IResolvable, Scte27SourceSettingsProperty]scte27SourceSettingsoptionalIResolvableScte27SourceSettingsoptionalIResolvableScte27SourceSettingsoptionalinterface{}#
Information about the SCTE-27 captions to extract from the input.
smartSubtitleSourceSettingsoptionalIResolvable | CfnChannel.SmartSubtitleSourceSettingsPropertysmart_subtitle_source_settingsoptionaltyping.Union[IResolvable, SmartSubtitleSourceSettingsProperty]smartSubtitleSourceSettingsoptionalIResolvableSmartSubtitleSourceSettingsoptionalIResolvableSmartSubtitleSourceSettingsoptionalinterface{}#
teletextSourceSettingsoptionalIResolvable | CfnChannel.TeletextSourceSettingsPropertyteletext_source_settingsoptionaltyping.Union[IResolvable, TeletextSourceSettingsProperty]teletextSourceSettingsoptionalIResolvableTeletextSourceSettingsoptionalIResolvableTeletextSourceSettingsoptionalinterface{}#
Information about the Teletext captions to extract from the input.