Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
H264Profile Class
H.264 profile.
Example
ts
// 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
BASELINEH264ProfilebaselineH264ProfileBASELINEH264ProfileBASELINEH264ProfileBASELINEH264Profilestatic#Baseline profile.
High profile.
HIGH_10BITH264Profilehigh_10_bitH264ProfileHIGH_10BITH264ProfileHIGH_10BITH264ProfileHIGH_10BITH264Profilestatic#High 10-bit profile.
HIGH_422H264Profilehigh_422H264ProfileHIGH_422H264ProfileHIGH_422H264ProfileHIGH_422H264Profilestatic#High 4:2:2 profile.
HIGH_422_10BITH264Profilehigh_422_10_bitH264ProfileHIGH_422_10BITH264ProfileHIGH_422_10BITH264ProfileHIGH_422_10BITH264Profilestatic#High 4:2:2 10-bit profile.
Main profile.
The underlying string value passed to CloudFormation.
Methods
of(value: string): H264Profile // chainable@staticmethod def of(value: str) -> H264Profilepublic static H264Profile of(String value)public static H264Profile Of(string value)func Of(Value *string) H264Profilestatic#A value not yet modelled by AWS CDK.