Struct aws_sdk_mediaconvert::types::H264QvbrSettings
source · #[non_exhaustive]pub struct H264QvbrSettings {
pub max_average_bitrate: Option<i32>,
pub qvbr_quality_level: Option<i32>,
pub qvbr_quality_level_fine_tune: Option<f64>,
}
Expand description
Settings for quality-defined variable bitrate encoding with the H.264 codec. Use these settings only when you set QVBR for Rate control mode.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_average_bitrate: Option<i32>
Use this setting only when Rate control mode is QVBR and Quality tuning level is Multi-pass HQ. For Max average bitrate values suited to the complexity of your input video, the service limits the average bitrate of the video part of this output to the value that you choose. That is, the total size of the video element is less than or equal to the value you set multiplied by the number of seconds of encoded output.
qvbr_quality_level: Option<i32>
Use this setting only when you set Rate control mode to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.
qvbr_quality_level_fine_tune: Option<f64>
Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33.
Implementations§
source§impl H264QvbrSettings
impl H264QvbrSettings
sourcepub fn max_average_bitrate(&self) -> Option<i32>
pub fn max_average_bitrate(&self) -> Option<i32>
Use this setting only when Rate control mode is QVBR and Quality tuning level is Multi-pass HQ. For Max average bitrate values suited to the complexity of your input video, the service limits the average bitrate of the video part of this output to the value that you choose. That is, the total size of the video element is less than or equal to the value you set multiplied by the number of seconds of encoded output.
sourcepub fn qvbr_quality_level(&self) -> Option<i32>
pub fn qvbr_quality_level(&self) -> Option<i32>
Use this setting only when you set Rate control mode to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.
sourcepub fn qvbr_quality_level_fine_tune(&self) -> Option<f64>
pub fn qvbr_quality_level_fine_tune(&self) -> Option<f64>
Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33.
source§impl H264QvbrSettings
impl H264QvbrSettings
sourcepub fn builder() -> H264QvbrSettingsBuilder
pub fn builder() -> H264QvbrSettingsBuilder
Creates a new builder-style object to manufacture H264QvbrSettings
.
Trait Implementations§
source§impl Clone for H264QvbrSettings
impl Clone for H264QvbrSettings
source§fn clone(&self) -> H264QvbrSettings
fn clone(&self) -> H264QvbrSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for H264QvbrSettings
impl Debug for H264QvbrSettings
source§impl PartialEq for H264QvbrSettings
impl PartialEq for H264QvbrSettings
source§fn eq(&self, other: &H264QvbrSettings) -> bool
fn eq(&self, other: &H264QvbrSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for H264QvbrSettings
Auto Trait Implementations§
impl Freeze for H264QvbrSettings
impl RefUnwindSafe for H264QvbrSettings
impl Send for H264QvbrSettings
impl Sync for H264QvbrSettings
impl Unpin for H264QvbrSettings
impl UnwindSafe for H264QvbrSettings
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more