Class H264Profile
(experimental) H.264 profile.
Namespace: Amazon.CDK.AWS.MediaLive.Alpha
Assembly: Amazon.CDK.AWS.MediaLive.Alpha.dll
Syntax (csharp)
public class H264Profile : DeputyBase
Syntax (vb)
Public Class H264Profile Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
// H.264
var h264 = EncodeConfiguration.Video(new VideoEncodeProps {
Name = "h264_720p",
Codec = VideoCodecSettings.H264(new H264SettingsProps {
RateControl = H264RateControl.Cbr(new CbrRateControlProps { Bitrate = Bitrate.Mbps(3) }),
Framerate = Framerate.FPS_30,
Profile = H264Profile.HIGH
}),
Width = 1280,
Height = 720
});
// H.265
var h265 = EncodeConfiguration.Video(new VideoEncodeProps {
Name = "h265_1080p",
Codec = VideoCodecSettings.H265(new H265SettingsProps {
RateControl = H265RateControl.Qvbr(new QvbrRateControlProps {
MaxBitrate = Bitrate.Mbps(5),
QvbrQualityLevel = 7
}),
Framerate = Framerate.FPS_30,
Profile = H265Profile.MAIN,
Tier = H265Tier.HIGH
}),
Width = 1920,
Height = 1080
});
Synopsis
Properties
| BASELINE | (experimental) Baseline profile. |
| HIGH | (experimental) High profile. |
| HIGH_10BIT | (experimental) High 10-bit profile. |
| HIGH_422 | (experimental) High 4:2:2 profile. |
| HIGH_422_10BIT | (experimental) High 4:2:2 10-bit profile. |
| MAIN | (experimental) Main profile. |
| Value | (experimental) The underlying string value passed to CloudFormation. |
Methods
| Of(string) | (experimental) A value not yet modelled by AWS CDK. |
Properties
BASELINE
(experimental) Baseline profile.
public static H264Profile BASELINE { get; }
Property Value
Remarks
Stability: Experimental
HIGH
(experimental) High profile.
public static H264Profile HIGH { get; }
Property Value
Remarks
Stability: Experimental
HIGH_10BIT
(experimental) High 10-bit profile.
public static H264Profile HIGH_10BIT { get; }
Property Value
Remarks
Stability: Experimental
HIGH_422
(experimental) High 4:2:2 profile.
public static H264Profile HIGH_422 { get; }
Property Value
Remarks
Stability: Experimental
HIGH_422_10BIT
(experimental) High 4:2:2 10-bit profile.
public static H264Profile HIGH_422_10BIT { get; }
Property Value
Remarks
Stability: Experimental
MAIN
(experimental) Main profile.
public static H264Profile MAIN { get; }
Property Value
Remarks
Stability: Experimental
Value
(experimental) The underlying string value passed to CloudFormation.
public virtual string Value { get; }
Property Value
Remarks
Stability: Experimental
Methods
Of(string)
(experimental) A value not yet modelled by AWS CDK.
public static H264Profile Of(string value)
Parameters
- value string
Returns
Remarks
Stability: Experimental