MediaPackageV2OutputGroupBaseProps
- class aws_cdk.aws_medialive_alpha.MediaPackageV2OutputGroupBaseProps(*, name, outputs, additional_destinations=None, caption_language_mappings=None, id3_behavior=None, klv_behavior=None, nielsen_id3_behavior=None, scte35_type=None, segment=None, timed_metadata_id3_frame=None, timed_metadata_id3_period=None, timed_metadata_passthrough=None)
Bases:
object(experimental) Common properties shared by the MediaPackage V2 output group variants.
- Parameters:
name (
str) – (experimental) The name of this output group. Used as the destination reference ID. Underscores are normalised to hyphens internally.outputs (
Sequence[Union[MediaPackageV2OutputDefinition,Dict[str,Any]]]) – (experimental) The outputs for this output group. MediaPackage V2 uses CMAF ingest which requires one track per output. Create a separate output for each encode (e.g. one for HD video, one for SD video, one for audio). Do NOT put multiple encodes in a single output.additional_destinations (
Optional[Sequence[MediaPackageV2Destination]]) – (experimental) Configure additional destinations to fan out the output to extra MediaPackage V2 channels, for example for cross-region delivery or backup packaging. These correspond to Destination 3/4 in the AWS console. Each additional destination is a single, explicit entry (channel + endpoint), independent of the channel class. Default: - no additional destinationscaption_language_mappings (
Optional[Sequence[Union[CaptionLanguageMapping,Dict[str,Any]]]]) – (experimental) Caption language mappings for the MediaPackage V2 output. Default: - no caption language mappingsid3_behavior (
Optional[Id3Behavior]) – (experimental) The ID3 behavior. Default: Id3Behavior.DISABLEDklv_behavior (
Optional[KlvBehavior]) – (experimental) The KLV behavior. Default: KlvBehavior.NO_PASSTHROUGHnielsen_id3_behavior (
Optional[NielsenId3Behavior]) – (experimental) The Nielsen ID3 behavior. Default: NielsenId3Behavior.NO_PASSTHROUGHscte35_type (
Optional[Scte35Type]) – (experimental) The SCTE-35 type. Default: Scte35Type.SCTE_35_WITHOUT_SEGMENTATIONsegment (
Optional[Segment]) – (experimental) The length of each media segment. Default: - Segment.seconds(1)timed_metadata_id3_frame (
Optional[TimedMetadataId3Frame]) – (experimental) The timed metadata ID3 frame. Default: TimedMetadataId3Frame.NONEtimed_metadata_id3_period (
Optional[Duration]) – (experimental) The timed metadata interval. Default: Duration.seconds(10)timed_metadata_passthrough (
Optional[TimedMetadataPassthrough]) – (experimental) Whether timed metadata is passed through. Default: TimedMetadataPassthrough.DISABLED
- See:
- 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 import aws_cdk as cdk # encode_configuration: medialive_alpha.EncodeConfiguration # id3_behavior: medialive_alpha.Id3Behavior # klv_behavior: medialive_alpha.KlvBehavior # media_package_v2_destination: medialive_alpha.MediaPackageV2Destination # media_package_v2_hls_setting: medialive_alpha.MediaPackageV2HlsSetting # nielsen_id3_behavior: medialive_alpha.NielsenId3Behavior # scte35_type: medialive_alpha.Scte35Type # segment: medialive_alpha.Segment # timed_metadata_id3_frame: medialive_alpha.TimedMetadataId3Frame # timed_metadata_passthrough: medialive_alpha.TimedMetadataPassthrough media_package_v2_output_group_base_props = medialive_alpha.MediaPackageV2OutputGroupBaseProps( name="name", outputs=[medialive_alpha.MediaPackageV2OutputDefinition( encode=encode_configuration, output_name="outputName", # the properties below are optional audio_group_id="audioGroupId", audio_rendition_sets="audioRenditionSets", captions=[encode_configuration], hls_auto_select=media_package_v2_hls_setting, hls_default=media_package_v2_hls_setting )], # the properties below are optional additional_destinations=[media_package_v2_destination], caption_language_mappings=[medialive_alpha.CaptionLanguageMapping( caption_channel=123, language_code="languageCode", language_description="languageDescription" )], id3_behavior=id3_behavior, klv_behavior=klv_behavior, nielsen_id3_behavior=nielsen_id3_behavior, scte35_type=scte35_type, segment=segment, timed_metadata_id3_frame=timed_metadata_id3_frame, timed_metadata_id3_period=cdk.Duration.minutes(30), timed_metadata_passthrough=timed_metadata_passthrough )
Attributes
- additional_destinations
(experimental) Configure additional destinations to fan out the output to extra MediaPackage V2 channels, for example for cross-region delivery or backup packaging.
These correspond to Destination 3/4 in the AWS console. Each additional destination is a single, explicit entry (channel + endpoint), independent of the channel class.
- Default:
no additional destinations
- See:
- Stability:
experimental
- caption_language_mappings
(experimental) Caption language mappings for the MediaPackage V2 output.
- Default:
no caption language mappings
- Stability:
experimental
- id3_behavior
(experimental) The ID3 behavior.
- Default:
Id3Behavior.DISABLED
- Stability:
experimental
- klv_behavior
(experimental) The KLV behavior.
- Default:
KlvBehavior.NO_PASSTHROUGH
- Stability:
experimental
- name
(experimental) The name of this output group.
Used as the destination reference ID. Underscores are normalised to hyphens internally.
- Stability:
experimental
- nielsen_id3_behavior
(experimental) The Nielsen ID3 behavior.
- Default:
NielsenId3Behavior.NO_PASSTHROUGH
- Stability:
experimental
- outputs
(experimental) The outputs for this output group.
MediaPackage V2 uses CMAF ingest which requires one track per output. Create a separate output for each encode (e.g. one for HD video, one for SD video, one for audio). Do NOT put multiple encodes in a single output.
- Stability:
experimental
- scte35_type
(experimental) The SCTE-35 type.
- Default:
Scte35Type.SCTE_35_WITHOUT_SEGMENTATION
- Stability:
experimental
- segment
(experimental) The length of each media segment.
- Default:
Segment.seconds(1)
- Stability:
experimental
- timed_metadata_id3_frame
(experimental) The timed metadata ID3 frame.
- Default:
TimedMetadataId3Frame.NONE
- Stability:
experimental
- timed_metadata_id3_period
(experimental) The timed metadata interval.
- Default:
Duration.seconds(10)
- Stability:
experimental
- timed_metadata_passthrough
(experimental) Whether timed metadata is passed through.
- Default:
TimedMetadataPassthrough.DISABLED
- Stability:
experimental