Skip to content
v2.277.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

Scte20CaptionSourceOptions Struct ​

Options for an SCTE-20 caption source.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';

declare const convert608To708: medialive_alpha.Convert608To708;
const scte20CaptionSourceOptions: medialive_alpha.Scte20CaptionSourceOptions = {
  convert608To708: convert608To708,
  source608ChannelNumber: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

# convert608_to708: medialive_alpha.Convert608To708

scte20_caption_source_options = medialive_alpha.Scte20CaptionSourceOptions(
    convert608_to708=convert608_to708,
    source608_channel_number=123
)
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.alpha.*;

Convert608To708 convert608To708;

Scte20CaptionSourceOptions scte20CaptionSourceOptions = Scte20CaptionSourceOptions.builder()
        .convert608To708(convert608To708)
        .source608ChannelNumber(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

Convert608To708 convert608To708;

var scte20CaptionSourceOptions = new Scte20CaptionSourceOptions {
    Convert608To708 = convert608To708,
    Source608ChannelNumber = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

var convert608To708 Convert608To708

scte20CaptionSourceOptions := &Scte20CaptionSourceOptions{
	Convert608To708: convert608To708,
	Source608ChannelNumber: jsii.Number(123),
}

Properties ​

convert608To708optionalConvert608To708convert608_to708optionalConvert608To708convert608To708optionalConvert608To708Convert608To708optionalConvert608To708Convert608To708optionalConvert608To708= Convert608To708.DISABLED#
Whether to upconvert 608 captions to 708.
source608ChannelNumberoptionalnumbersource608_channel_numberoptionalint | floatsource608ChannelNumberoptionalNumberSource608ChannelNumberoptionaldoubleSource608ChannelNumberoptional*float64#
The 608/708 channel number within the video track to extract captions from.

Default: MediaLive service default