Scte27CaptionSourceOptions
- class aws_cdk.aws_medialive_alpha.Scte27CaptionSourceOptions(*, ocr_language=None, pid=None)
Bases:
object(experimental) Options for an SCTE-27 caption source.
- Parameters:
ocr_language (
Optional[OcrLanguage]) – (experimental) The OCR language to use when converting this image-based source to text. Default: - MediaLive service defaultpid (
Union[int,float,None]) – (experimental) The PID to extract captions from. See the MediaLive docs for how PID andlanguageCodeinteract. Default: - MediaLive service default
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# 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 scte27_caption_source_options = medialive_alpha.Scte27CaptionSourceOptions( ocr_language=ocr_language, pid=123 )
Attributes
- ocr_language
(experimental) The OCR language to use when converting this image-based source to text.
- Default:
MediaLive service default
- Stability:
experimental
- pid
(experimental) The PID to extract captions from.
See the MediaLive docs for how PID and
languageCodeinteract.- Default:
MediaLive service default
- Stability:
experimental