interface VideoSelectorSettings
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.VideoSelectorSettings |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#VideoSelectorSettings |
Java | software.amazon.awscdk.services.medialive.alpha.VideoSelectorSettings |
Python | aws_cdk.aws_medialive_alpha.VideoSelectorSettings |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป VideoSelectorSettings |
Video selector settings for an input.
Example
declare const stack: Stack;
declare const input: medialive.IInput;
declare const bucket: s3.IBucket;
declare const video: medialive.EncodeConfiguration;
new medialive.Channel(stack, 'Channel', {
inputs: [{
input,
audioSelectors: [
medialive.AudioSelector.byLanguage('eng', 'eng', medialive.AudioLanguageSelectionPolicy.STRICT),
],
captionSelectors: [
medialive.CaptionSelector.embedded('embedded'),
],
videoSelector: {
colorSpace: medialive.VideoColorSpace.HDR10,
colorSpaceUsage: medialive.VideoColorSpaceUsage.FORCE,
selectBy: medialive.VideoSelection.byProgramId(1),
},
}],
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [{ encodes: [video], outputName: 'hls_out' }],
}),
],
});
Properties
| Name | Type | Description |
|---|---|---|
| color | Video | The color space of the input video. |
| color | Video | How colorSpace is applied when it is not FOLLOW. |
| hdr10? | Hdr10 | HDR10 color space metadata for the input. |
| select | Video | Selects the specific video to extract from the input (by PID or by program). |
colorSpace?
Type:
Video
(optional, default: service default)
The color space of the input video.
colorSpaceUsage?
Type:
Video
(optional, default: MediaLive service default)
How colorSpace is applied when it is not FOLLOW.
hdr10?
Type:
Hdr10
(optional, default: none)
HDR10 color space metadata for the input.
selectBy?
Type:
Video
(optional, default: MediaLive selects the video automatically)
Selects the specific video to extract from the input (by PID or by program).

.NET
Go
Java
Python
TypeScript (