Struct aws_sdk_mediaconvert::types::AutomatedAbrSettings
source · #[non_exhaustive]pub struct AutomatedAbrSettings {
pub max_abr_bitrate: Option<i32>,
pub max_renditions: Option<i32>,
pub min_abr_bitrate: Option<i32>,
pub rules: Option<Vec<AutomatedAbrRule>>,
}
Expand description
Use automated ABR to have MediaConvert set up the renditions in your ABR package for you automatically, based on characteristics of your input video. This feature optimizes video quality while minimizing the overall size of your ABR package.
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_abr_bitrate: Option<i32>
Specify the maximum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 8,000,000 (8 mb/s) by default. The average bitrate of your highest-quality rendition will be equal to or below this value, depending on the quality, complexity, and resolution of your content. Note that the instantaneous maximum bitrate may vary above the value that you specify.
max_renditions: Option<i32>
Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set this to Auto in the console, which is equivalent to excluding it from your JSON job specification, MediaConvert defaults to a limit of 15.
min_abr_bitrate: Option<i32>
Specify the minimum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 600,000 (600 kb/s) by default. The average bitrate of your lowest-quality rendition will be near this value. Note that the instantaneous minimum bitrate may vary below the value that you specify.
rules: Option<Vec<AutomatedAbrRule>>
Optional. Use Automated ABR rules to specify restrictions for the rendition sizes MediaConvert will create in your ABR stack. You can use these rules if your ABR workflow has specific rendition size requirements, but you still want MediaConvert to optimize for video quality and overall file size.
Implementations§
source§impl AutomatedAbrSettings
impl AutomatedAbrSettings
sourcepub fn max_abr_bitrate(&self) -> Option<i32>
pub fn max_abr_bitrate(&self) -> Option<i32>
Specify the maximum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 8,000,000 (8 mb/s) by default. The average bitrate of your highest-quality rendition will be equal to or below this value, depending on the quality, complexity, and resolution of your content. Note that the instantaneous maximum bitrate may vary above the value that you specify.
sourcepub fn max_renditions(&self) -> Option<i32>
pub fn max_renditions(&self) -> Option<i32>
Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set this to Auto in the console, which is equivalent to excluding it from your JSON job specification, MediaConvert defaults to a limit of 15.
sourcepub fn min_abr_bitrate(&self) -> Option<i32>
pub fn min_abr_bitrate(&self) -> Option<i32>
Specify the minimum average bitrate for MediaConvert to use in your automated ABR stack. If you don’t specify a value, MediaConvert uses 600,000 (600 kb/s) by default. The average bitrate of your lowest-quality rendition will be near this value. Note that the instantaneous minimum bitrate may vary below the value that you specify.
sourcepub fn rules(&self) -> &[AutomatedAbrRule]
pub fn rules(&self) -> &[AutomatedAbrRule]
Optional. Use Automated ABR rules to specify restrictions for the rendition sizes MediaConvert will create in your ABR stack. You can use these rules if your ABR workflow has specific rendition size requirements, but you still want MediaConvert to optimize for video quality and overall file size.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rules.is_none()
.
source§impl AutomatedAbrSettings
impl AutomatedAbrSettings
sourcepub fn builder() -> AutomatedAbrSettingsBuilder
pub fn builder() -> AutomatedAbrSettingsBuilder
Creates a new builder-style object to manufacture AutomatedAbrSettings
.
Trait Implementations§
source§impl Clone for AutomatedAbrSettings
impl Clone for AutomatedAbrSettings
source§fn clone(&self) -> AutomatedAbrSettings
fn clone(&self) -> AutomatedAbrSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutomatedAbrSettings
impl Debug for AutomatedAbrSettings
source§impl PartialEq for AutomatedAbrSettings
impl PartialEq for AutomatedAbrSettings
source§fn eq(&self, other: &AutomatedAbrSettings) -> bool
fn eq(&self, other: &AutomatedAbrSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomatedAbrSettings
Auto Trait Implementations§
impl Freeze for AutomatedAbrSettings
impl RefUnwindSafe for AutomatedAbrSettings
impl Send for AutomatedAbrSettings
impl Sync for AutomatedAbrSettings
impl Unpin for AutomatedAbrSettings
impl UnwindSafe for AutomatedAbrSettings
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