interface MediaPackageV2OutputGroupBaseProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.MediaPackageV2OutputGroupBaseProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#MediaPackageV2OutputGroupBaseProps |
Java | software.amazon.awscdk.services.medialive.alpha.MediaPackageV2OutputGroupBaseProps |
Python | aws_cdk.aws_medialive_alpha.MediaPackageV2OutputGroupBaseProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป MediaPackageV2OutputGroupBaseProps |
Common properties shared by the MediaPackage V2 output group variants.
Example
// 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';
import * as cdk from 'aws-cdk-lib';
declare const encodeConfiguration: medialive_alpha.EncodeConfiguration;
declare const id3Behavior: medialive_alpha.Id3Behavior;
declare const klvBehavior: medialive_alpha.KlvBehavior;
declare const mediaPackageV2Destination: medialive_alpha.MediaPackageV2Destination;
declare const mediaPackageV2HlsSetting: medialive_alpha.MediaPackageV2HlsSetting;
declare const nielsenId3Behavior: medialive_alpha.NielsenId3Behavior;
declare const scte35Type: medialive_alpha.Scte35Type;
declare const segment: medialive_alpha.Segment;
declare const timedMetadataId3Frame: medialive_alpha.TimedMetadataId3Frame;
declare const timedMetadataPassthrough: medialive_alpha.TimedMetadataPassthrough;
const mediaPackageV2OutputGroupBaseProps: medialive_alpha.MediaPackageV2OutputGroupBaseProps = {
name: 'name',
outputs: [{
encode: encodeConfiguration,
outputName: 'outputName',
// the properties below are optional
audioGroupId: 'audioGroupId',
audioRenditionSets: 'audioRenditionSets',
captions: [encodeConfiguration],
hlsAutoSelect: mediaPackageV2HlsSetting,
hlsDefault: mediaPackageV2HlsSetting,
}],
// the properties below are optional
additionalDestinations: [mediaPackageV2Destination],
captionLanguageMappings: [{
captionChannel: 123,
languageCode: 'languageCode',
languageDescription: 'languageDescription',
}],
id3Behavior: id3Behavior,
klvBehavior: klvBehavior,
nielsenId3Behavior: nielsenId3Behavior,
scte35Type: scte35Type,
segment: segment,
timedMetadataId3Frame: timedMetadataId3Frame,
timedMetadataId3Period: cdk.Duration.minutes(30),
timedMetadataPassthrough: timedMetadataPassthrough,
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of this output group. |
| outputs | Media[] | The outputs for this output group. |
| additional | Media[] | Configure additional destinations to fan out the output to extra MediaPackage V2 channels, for example for cross-region delivery or backup packaging. |
| caption | Caption[] | Caption language mappings for the MediaPackage V2 output. |
| id3 | Id3 | The ID3 behavior. |
| klv | Klv | The KLV behavior. |
| nielsen | Nielsen | The Nielsen ID3 behavior. |
| scte35 | Scte35 | The SCTE-35 type. |
| segment? | Segment | The length of each media segment. |
| timed | Timed | The timed metadata ID3 frame. |
| timed | Duration | The timed metadata interval. |
| timed | Timed | Whether timed metadata is passed through. |
name
Type:
string
The name of this output group.
Used as the destination reference ID. Underscores are normalised to hyphens internally.
outputs
Type:
Media[]
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.
additionalDestinations?
Type:
Media[]
(optional, default: no additional destinations)
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.
captionLanguageMappings?
Type:
Caption[]
(optional, default: no caption language mappings)
Caption language mappings for the MediaPackage V2 output.
id3Behavior?
Type:
Id3
(optional, default: Id3Behavior.DISABLED)
The ID3 behavior.
klvBehavior?
Type:
Klv
(optional, default: KlvBehavior.NO_PASSTHROUGH)
The KLV behavior.
nielsenId3Behavior?
Type:
Nielsen
(optional, default: NielsenId3Behavior.NO_PASSTHROUGH)
The Nielsen ID3 behavior.
scte35Type?
Type:
Scte35
(optional, default: Scte35Type.SCTE_35_WITHOUT_SEGMENTATION)
The SCTE-35 type.
segment?
Type:
Segment
(optional, default: Segment.seconds(1))
The length of each media segment.
timedMetadataId3Frame?
Type:
Timed
(optional, default: TimedMetadataId3Frame.NONE)
The timed metadata ID3 frame.
timedMetadataId3Period?
Type:
Duration
(optional, default: Duration.seconds(10))
The timed metadata interval.
timedMetadataPassthrough?
Type:
Timed
(optional, default: TimedMetadataPassthrough.DISABLED)
Whether timed metadata is passed through.

.NET
Go
Java
Python
TypeScript (