#[non_exhaustive]pub struct H264QvbrSettingsBuilder { /* private fields */ }
Expand description
A builder for H264QvbrSettings
.
Implementations§
source§impl H264QvbrSettingsBuilder
impl H264QvbrSettingsBuilder
sourcepub fn max_average_bitrate(self, input: i32) -> Self
pub fn max_average_bitrate(self, input: i32) -> Self
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 set_max_average_bitrate(self, input: Option<i32>) -> Self
pub fn set_max_average_bitrate(self, input: Option<i32>) -> Self
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 get_max_average_bitrate(&self) -> &Option<i32>
pub fn get_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, input: i32) -> Self
pub fn qvbr_quality_level(self, input: i32) -> Self
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 set_qvbr_quality_level(self, input: Option<i32>) -> Self
pub fn set_qvbr_quality_level(self, input: Option<i32>) -> Self
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 get_qvbr_quality_level(&self) -> &Option<i32>
pub fn get_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, input: f64) -> Self
pub fn qvbr_quality_level_fine_tune(self, input: f64) -> Self
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.
sourcepub fn set_qvbr_quality_level_fine_tune(self, input: Option<f64>) -> Self
pub fn set_qvbr_quality_level_fine_tune(self, input: Option<f64>) -> Self
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.
sourcepub fn get_qvbr_quality_level_fine_tune(&self) -> &Option<f64>
pub fn get_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.
sourcepub fn build(self) -> H264QvbrSettings
pub fn build(self) -> H264QvbrSettings
Consumes the builder and constructs a H264QvbrSettings
.
Trait Implementations§
source§impl Clone for H264QvbrSettingsBuilder
impl Clone for H264QvbrSettingsBuilder
source§fn clone(&self) -> H264QvbrSettingsBuilder
fn clone(&self) -> H264QvbrSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for H264QvbrSettingsBuilder
impl Debug for H264QvbrSettingsBuilder
source§impl Default for H264QvbrSettingsBuilder
impl Default for H264QvbrSettingsBuilder
source§fn default() -> H264QvbrSettingsBuilder
fn default() -> H264QvbrSettingsBuilder
source§impl PartialEq for H264QvbrSettingsBuilder
impl PartialEq for H264QvbrSettingsBuilder
source§fn eq(&self, other: &H264QvbrSettingsBuilder) -> bool
fn eq(&self, other: &H264QvbrSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for H264QvbrSettingsBuilder
Auto Trait Implementations§
impl Freeze for H264QvbrSettingsBuilder
impl RefUnwindSafe for H264QvbrSettingsBuilder
impl Send for H264QvbrSettingsBuilder
impl Sync for H264QvbrSettingsBuilder
impl Unpin for H264QvbrSettingsBuilder
impl UnwindSafe for H264QvbrSettingsBuilder
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