H265RateControl
- class aws_cdk.aws_medialive_alpha.H265RateControl(*args: Any, **kwargs)
Bases:
object(experimental) H.265 rate control. Use the static factory methods to create.
- 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 )
Static Methods
- classmethod cbr(*, bitrate)
(experimental) Constant bitrate.
- Parameters:
bitrate (
Bitrate) – (experimental) The constant bitrate.- Stability:
experimental
- Return type:
- classmethod qvbr(*, max_bitrate, qvbr_quality_level=None)
(experimental) Quality-defined variable bitrate.
- Parameters:
max_bitrate (
Bitrate) – (experimental) The maximum bitrate.qvbr_quality_level (
Union[int,float,None]) – (experimental) The QVBR quality level (1-10). Leave unset to let MediaLive infer the target quality from the output resolution and max bitrate. Default: - MediaLive infers the quality level from the resolution and max bitrate
- Stability:
experimental
- Return type:
- classmethod vbr(*, bitrate, max_bitrate)
(experimental) Variable bitrate.
- Parameters:
- Stability:
experimental
- Return type: