class H264Profile
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.H264Profile |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#H264Profile |
Java | software.amazon.awscdk.services.medialive.alpha.H264Profile |
Python | aws_cdk.aws_medialive_alpha.H264Profile |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป H264Profile |
H.264 profile.
Example
// H.264
const h264 = medialive.EncodeConfiguration.video({
name: 'h264_720p',
codec: medialive.VideoCodecSettings.h264({
rateControl: medialive.H264RateControl.cbr({ bitrate: Bitrate.mbps(3) }),
framerate: medialive.Framerate.FPS_30,
profile: medialive.H264Profile.HIGH,
}),
width: 1280,
height: 720,
});
// H.265
const h265 = medialive.EncodeConfiguration.video({
name: 'h265_1080p',
codec: medialive.VideoCodecSettings.h265({
rateControl: medialive.H265RateControl.qvbr({
maxBitrate: Bitrate.mbps(5),
qvbrQualityLevel: 7,
}),
framerate: medialive.Framerate.FPS_30,
profile: medialive.H265Profile.MAIN,
tier: medialive.H265Tier.HIGH,
}),
width: 1920,
height: 1080,
});
Properties
| Name | Type | Description |
|---|---|---|
| value | string | The underlying string value passed to CloudFormation. |
| static BASELINE | H264 | Baseline profile. |
| static HIGH | H264 | High profile. |
| static HIGH_10 | H264 | High 10-bit profile. |
| static HIGH_422 | H264 | High 4:2:2 profile. |
| static HIGH_422_10 | H264 | High 4:2:2 10-bit profile. |
| static MAIN | H264 | Main profile. |
value
Type:
string
The underlying string value passed to CloudFormation.
static BASELINE
Type:
H264
Baseline profile.
static HIGH
Type:
H264
High profile.
static HIGH_10BIT
Type:
H264
High 10-bit profile.
static HIGH_422
Type:
H264
High 4:2:2 profile.
static HIGH_422_10BIT
Type:
H264
High 4:2:2 10-bit profile.
static MAIN
Type:
H264
Main profile.
Methods
| Name | Description |
|---|---|
| static of(value) | A value not yet modelled by AWS CDK. |
static of(value)
public static of(value: string): H264Profile
Parameters
- value
string
Returns
A value not yet modelled by AWS CDK.

.NET
Go
Java
Python
TypeScript (