Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
EmbeddedCaptionSourceOptions Struct
Options for an embedded (CEA-608/708) caption source.
| Stability | Experimental |
|---|---|
| Source | lib/caption-selector.ts |
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;
declare const scte20Detection: medialive_alpha.Scte20Detection;
const embeddedCaptionSourceOptions: medialive_alpha.EmbeddedCaptionSourceOptions = {
convert608To708: convert608To708,
scte20Detection: scte20Detection,
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_detection: medialive_alpha.Scte20Detection
embedded_caption_source_options = medialive_alpha.EmbeddedCaptionSourceOptions(
convert608_to708=convert608_to708,
scte20_detection=scte20_detection,
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;
Scte20Detection scte20Detection;
EmbeddedCaptionSourceOptions embeddedCaptionSourceOptions = EmbeddedCaptionSourceOptions.builder()
.convert608To708(convert608To708)
.scte20Detection(scte20Detection)
.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;
Scte20Detection scte20Detection;
var embeddedCaptionSourceOptions = new EmbeddedCaptionSourceOptions {
Convert608To708 = convert608To708,
Scte20Detection = scte20Detection,
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
var scte20Detection Scte20Detection
embeddedCaptionSourceOptions := &EmbeddedCaptionSourceOptions{
Convert608To708: convert608To708,
Scte20Detection: scte20Detection,
Source608ChannelNumber: jsii.Number(123),
}
Properties
convert608To708optionalConvert608To708convert608_to708optionalConvert608To708convert608To708optionalConvert608To708Convert608To708optionalConvert608To708Convert608To708optionalConvert608To708 = Convert608To708.DISABLED #Whether to upconvert 608 captions to 708.
scte20DetectionoptionalScte20Detectionscte20_detectionoptionalScte20Detectionscte20DetectionoptionalScte20DetectionScte20DetectionoptionalScte20DetectionScte20DetectionoptionalScte20Detection = Scte20Detection.OFF #SCTE-20 detection mode.
source608ChannelNumberoptionalnumbersource608_channel_numberoptionalint | floatsource608ChannelNumberoptionalNumberSource608ChannelNumberoptionaldoubleSource608ChannelNumberoptional*float64 #The 608/708 channel number within the video track to extract captions from.
Default: MediaLive service default