Skip to content
v2.278.0

DvbSubSourceSettingsProperty Struct ​

Information about the DVB Sub captions to extract from the input.

The parent of this entity is CaptionSelectorSettings.

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 dvbSubSourceSettingsProperty: medialive.CfnChannel.DvbSubSourceSettingsProperty = {
  ocrLanguage: 'ocrLanguage',
  pid: 123,
};
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

dvb_sub_source_settings_property = medialive.CfnChannel.DvbSubSourceSettingsProperty(
    ocr_language="ocrLanguage",
    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.*;

DvbSubSourceSettingsProperty dvbSubSourceSettingsProperty = DvbSubSourceSettingsProperty.builder()
        .ocrLanguage("ocrLanguage")
        .pid(123)
        .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 dvbSubSourceSettingsProperty = new DvbSubSourceSettingsProperty {
    OcrLanguage = "ocrLanguage",
    Pid = 123
};
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"

dvbSubSourceSettingsProperty := &DvbSubSourceSettingsProperty{
	OcrLanguage: jsii.String("ocrLanguage"),
	Pid: jsii.Number(123),
}

Properties ​

ocrLanguageoptionalstringocr_languageoptionalstrocrLanguageoptionalStringOcrLanguageoptionalstringOcrLanguageoptional*string #
If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.
pidoptionalnumberpidoptionalint | floatpidoptionalNumberPidoptionaldoublePidoptional*float64 #
When using DVB-Sub with burn-in or SMPTE-TT, use this PID for the source content.

It is unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.