Skip to content
v2.278.0

Experimental

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

DvbSubCaptionSourceOptions Struct ​

Options for a DVB-Sub 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 ocrLanguage: medialive_alpha.OcrLanguage;
const dvbSubCaptionSourceOptions: medialive_alpha.DvbSubCaptionSourceOptions = {
  ocrLanguage: ocrLanguage,
  pid: 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

# ocr_language: medialive_alpha.OcrLanguage

dvb_sub_caption_source_options = medialive_alpha.DvbSubCaptionSourceOptions(
    ocr_language=ocr_language,
    pid=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.*;

OcrLanguage ocrLanguage;

DvbSubCaptionSourceOptions dvbSubCaptionSourceOptions = DvbSubCaptionSourceOptions.builder()
        .ocrLanguage(ocrLanguage)
        .pid(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;

OcrLanguage ocrLanguage;

var dvbSubCaptionSourceOptions = new DvbSubCaptionSourceOptions {
    OcrLanguage = ocrLanguage,
    Pid = 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 ocrLanguage OcrLanguage

dvbSubCaptionSourceOptions := &DvbSubCaptionSourceOptions{
	OcrLanguage: ocrLanguage,
	Pid: jsii.Number(123),
}

Properties ​

ocrLanguageoptionalOcrLanguageocr_languageoptionalOcrLanguageocrLanguageoptionalOcrLanguageOcrLanguageoptionalOcrLanguageOcrLanguageoptionalOcrLanguage #
The OCR language to use when converting this image-based source to text.

Default: MediaLive service default

pidoptionalnumberpidoptionalint | floatpidoptionalNumberPidoptionaldoublePidoptional*float64 #
The PID of the source content.

Default: MediaLive service default

Unused for DVB-Sub passthrough.