SmartSubtitleSourceOptions
- class aws_cdk.aws_medialive_alpha.SmartSubtitleSourceOptions(*, caption_synchronization_mode=None, inference_feed_output=None)
Bases:
object(experimental) Options for a smart subtitle caption source (AI-generated subtitles via Elemental Inference).
- Parameters:
caption_synchronization_mode (
Optional[CaptionSynchronizationMode]) – (experimental) Controls whether MediaLive delays video to synchronize captions with audio and video output. Default: - service defaultinference_feed_output (
Optional[str]) – (experimental) The name of the Elemental Inference feed output that provides the subtitles. Default: - 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 # caption_synchronization_mode: medialive_alpha.CaptionSynchronizationMode smart_subtitle_source_options = medialive_alpha.SmartSubtitleSourceOptions( caption_synchronization_mode=caption_synchronization_mode, inference_feed_output="inferenceFeedOutput" )
Attributes
- caption_synchronization_mode
(experimental) Controls whether MediaLive delays video to synchronize captions with audio and video output.
- Default:
service default
- Stability:
experimental
- inference_feed_output
(experimental) The name of the Elemental Inference feed output that provides the subtitles.
- Default:
service default
- Stability:
experimental