H265Profile

class aws_cdk.aws_medialive_alpha.H265Profile(*args: Any, **kwargs)

Bases: object

(experimental) H.265 profile.

Stability:

experimental

ExampleMetadata:

infused

Example:

# H.264
h264 = medialive.EncodeConfiguration.video(
    name="h264_720p",
    codec=medialive.VideoCodecSettings.h264(
        rate_control=medialive.H264RateControl.cbr(bitrate=Bitrate.mbps(3)),
        framerate=medialive.Framerate.FPS_30,
        profile=medialive.H264Profile.HIGH
    ),
    width=1280,
    height=720
)

# H.265
h265 = medialive.EncodeConfiguration.video(
    name="h265_1080p",
    codec=medialive.VideoCodecSettings.h265(
        rate_control=medialive.H265RateControl.qvbr(
            max_bitrate=Bitrate.mbps(5),
            qvbr_quality_level=7
        ),
        framerate=medialive.Framerate.FPS_30,
        profile=medialive.H265Profile.MAIN,
        tier=medialive.H265Tier.HIGH
    ),
    width=1920,
    height=1080
)

Attributes

MAIN = <aws_cdk.aws_medialive_alpha.H265Profile object>
MAIN_10_BIT = <aws_cdk.aws_medialive_alpha.H265Profile object>
value

(experimental) The underlying string value passed to CloudFormation.

Stability:

experimental

Static Methods

classmethod of(value)

(experimental) A value not yet modelled by AWS CDK.

Parameters:

value (str)

Stability:

experimental

Return type:

H265Profile