interface MediaPackageV2OutputGroupProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.MediaPackageV2OutputGroupProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#MediaPackageV2OutputGroupProps |
Java | software.amazon.awscdk.services.medialive.alpha.MediaPackageV2OutputGroupProps |
Python | aws_cdk.aws_medialive_alpha.MediaPackageV2OutputGroupProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป MediaPackageV2OutputGroupProps |
Implements
Media
Properties for a MediaPackage V2 output group.
Reference a single MediaPackage V2 channel; MediaLive wires each channel pipeline to a
MediaPackage ingest endpoint automatically (one for SINGLE_PIPELINE, both for STANDARD). For
per-pipeline control โ for example sending pipeline 0 to a specific endpoint of a channel in
another region โ use OutputGroupConfiguration.mediaPackageV2PerPipeline() instead.
Example
declare const primaryChannel: mediapackagev2.IChannel;
declare const video: medialive.EncodeConfiguration;
declare const audio: medialive.EncodeConfiguration;
// Import a channel from another region โ the region travels with the channel
const backupChannel = mediapackagev2.Channel.fromChannelAttributes(this, 'BackupChannel', {
channelName: 'backup-channel',
channelGroupName: 'backup-group',
region: 'us-west-2',
});
medialive.OutputGroupConfiguration.mediaPackageV2({
name: 'emp',
channel: primaryChannel,
additionalDestinations: [
// Cross-region: the destination picks up us-west-2 from the imported channel
medialive.MediaPackageV2Destination.channel(backupChannel, medialive.MediaPackageV2EndpointId.ENDPOINT_1),
],
outputs: [
{ encode: video, outputName: 'video' },
{ encode: audio, outputName: 'audio' },
],
});
Properties
| Name | Type | Description |
|---|---|---|
| channel | IChannel | The MediaPackage V2 channel to deliver to. |
| 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. |
channel
Type:
IChannel
The MediaPackage V2 channel to deliver to.
MediaLive maps the channel pipelines to the channel's ingest endpoints automatically based on the channel class.
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 (