QvbrRateControlProps
- class aws_cdk.aws_medialive_alpha.QvbrRateControlProps(*, max_bitrate, qvbr_quality_level=None)
Bases:
object(experimental) Properties for QVBR rate control.
- 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
- 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
- max_bitrate
(experimental) The maximum bitrate.
- Stability:
experimental
- qvbr_quality_level
(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