Struct aws_sdk_mediaconvert::types::builders::Ac3SettingsBuilder
source · #[non_exhaustive]pub struct Ac3SettingsBuilder { /* private fields */ }
Expand description
A builder for Ac3Settings
.
Implementations§
source§impl Ac3SettingsBuilder
impl Ac3SettingsBuilder
sourcepub fn bitrate(self, input: i32) -> Self
pub fn bitrate(self, input: i32) -> Self
Specify the average bitrate in bits per second. The bitrate that you specify must be a multiple of 8000 within the allowed minimum and maximum values. Leave blank to use the default bitrate for the coding mode you select according ETSI TS 102 366. Valid bitrates for coding mode 1/0: Default: 96000. Minimum: 64000. Maximum: 128000. Valid bitrates for coding mode 1/1: Default: 192000. Minimum: 128000. Maximum: 384000. Valid bitrates for coding mode 2/0: Default: 192000. Minimum: 128000. Maximum: 384000. Valid bitrates for coding mode 3/2 with FLE: Default: 384000. Minimum: 384000. Maximum: 640000.
sourcepub fn set_bitrate(self, input: Option<i32>) -> Self
pub fn set_bitrate(self, input: Option<i32>) -> Self
Specify the average bitrate in bits per second. The bitrate that you specify must be a multiple of 8000 within the allowed minimum and maximum values. Leave blank to use the default bitrate for the coding mode you select according ETSI TS 102 366. Valid bitrates for coding mode 1/0: Default: 96000. Minimum: 64000. Maximum: 128000. Valid bitrates for coding mode 1/1: Default: 192000. Minimum: 128000. Maximum: 384000. Valid bitrates for coding mode 2/0: Default: 192000. Minimum: 128000. Maximum: 384000. Valid bitrates for coding mode 3/2 with FLE: Default: 384000. Minimum: 384000. Maximum: 640000.
sourcepub fn get_bitrate(&self) -> &Option<i32>
pub fn get_bitrate(&self) -> &Option<i32>
Specify the average bitrate in bits per second. The bitrate that you specify must be a multiple of 8000 within the allowed minimum and maximum values. Leave blank to use the default bitrate for the coding mode you select according ETSI TS 102 366. Valid bitrates for coding mode 1/0: Default: 96000. Minimum: 64000. Maximum: 128000. Valid bitrates for coding mode 1/1: Default: 192000. Minimum: 128000. Maximum: 384000. Valid bitrates for coding mode 2/0: Default: 192000. Minimum: 128000. Maximum: 384000. Valid bitrates for coding mode 3/2 with FLE: Default: 384000. Minimum: 384000. Maximum: 640000.
sourcepub fn bitstream_mode(self, input: Ac3BitstreamMode) -> Self
pub fn bitstream_mode(self, input: Ac3BitstreamMode) -> Self
Specify the bitstream mode for the AC-3 stream that the encoder emits. For more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex E).
sourcepub fn set_bitstream_mode(self, input: Option<Ac3BitstreamMode>) -> Self
pub fn set_bitstream_mode(self, input: Option<Ac3BitstreamMode>) -> Self
Specify the bitstream mode for the AC-3 stream that the encoder emits. For more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex E).
sourcepub fn get_bitstream_mode(&self) -> &Option<Ac3BitstreamMode>
pub fn get_bitstream_mode(&self) -> &Option<Ac3BitstreamMode>
Specify the bitstream mode for the AC-3 stream that the encoder emits. For more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex E).
sourcepub fn coding_mode(self, input: Ac3CodingMode) -> Self
pub fn coding_mode(self, input: Ac3CodingMode) -> Self
Dolby Digital coding mode. Determines number of channels.
sourcepub fn set_coding_mode(self, input: Option<Ac3CodingMode>) -> Self
pub fn set_coding_mode(self, input: Option<Ac3CodingMode>) -> Self
Dolby Digital coding mode. Determines number of channels.
sourcepub fn get_coding_mode(&self) -> &Option<Ac3CodingMode>
pub fn get_coding_mode(&self) -> &Option<Ac3CodingMode>
Dolby Digital coding mode. Determines number of channels.
sourcepub fn dialnorm(self, input: i32) -> Self
pub fn dialnorm(self, input: i32) -> Self
Sets the dialnorm for the output. If blank and input audio is Dolby Digital, dialnorm will be passed through.
sourcepub fn set_dialnorm(self, input: Option<i32>) -> Self
pub fn set_dialnorm(self, input: Option<i32>) -> Self
Sets the dialnorm for the output. If blank and input audio is Dolby Digital, dialnorm will be passed through.
sourcepub fn get_dialnorm(&self) -> &Option<i32>
pub fn get_dialnorm(&self) -> &Option<i32>
Sets the dialnorm for the output. If blank and input audio is Dolby Digital, dialnorm will be passed through.
sourcepub fn dynamic_range_compression_line(
self,
input: Ac3DynamicRangeCompressionLine
) -> Self
pub fn dynamic_range_compression_line( self, input: Ac3DynamicRangeCompressionLine ) -> Self
Choose the Dolby Digital dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby Digital stream for the line operating mode. Related setting: When you use this setting, MediaConvert ignores any value you provide for Dynamic range compression profile. For information about the Dolby Digital DRC operating modes and profiles, see the Dynamic Range Control chapter of the Dolby Metadata Guide at https://developer.dolby.com/globalassets/professional/documents/dolby-metadata-guide.pdf.
sourcepub fn set_dynamic_range_compression_line(
self,
input: Option<Ac3DynamicRangeCompressionLine>
) -> Self
pub fn set_dynamic_range_compression_line( self, input: Option<Ac3DynamicRangeCompressionLine> ) -> Self
Choose the Dolby Digital dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby Digital stream for the line operating mode. Related setting: When you use this setting, MediaConvert ignores any value you provide for Dynamic range compression profile. For information about the Dolby Digital DRC operating modes and profiles, see the Dynamic Range Control chapter of the Dolby Metadata Guide at https://developer.dolby.com/globalassets/professional/documents/dolby-metadata-guide.pdf.
sourcepub fn get_dynamic_range_compression_line(
&self
) -> &Option<Ac3DynamicRangeCompressionLine>
pub fn get_dynamic_range_compression_line( &self ) -> &Option<Ac3DynamicRangeCompressionLine>
Choose the Dolby Digital dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby Digital stream for the line operating mode. Related setting: When you use this setting, MediaConvert ignores any value you provide for Dynamic range compression profile. For information about the Dolby Digital DRC operating modes and profiles, see the Dynamic Range Control chapter of the Dolby Metadata Guide at https://developer.dolby.com/globalassets/professional/documents/dolby-metadata-guide.pdf.
sourcepub fn dynamic_range_compression_profile(
self,
input: Ac3DynamicRangeCompressionProfile
) -> Self
pub fn dynamic_range_compression_profile( self, input: Ac3DynamicRangeCompressionProfile ) -> Self
When you want to add Dolby dynamic range compression (DRC) signaling to your output stream, we recommend that you use the mode-specific settings instead of Dynamic range compression profile. The mode-specific settings are Dynamic range compression profile, line mode and Dynamic range compression profile, RF mode. Note that when you specify values for all three settings, MediaConvert ignores the value of this setting in favor of the mode-specific settings. If you do use this setting instead of the mode-specific settings, choose None to leave out DRC signaling. Keep the default Film standard to set the profile to Dolby’s film standard profile for all operating modes.
sourcepub fn set_dynamic_range_compression_profile(
self,
input: Option<Ac3DynamicRangeCompressionProfile>
) -> Self
pub fn set_dynamic_range_compression_profile( self, input: Option<Ac3DynamicRangeCompressionProfile> ) -> Self
When you want to add Dolby dynamic range compression (DRC) signaling to your output stream, we recommend that you use the mode-specific settings instead of Dynamic range compression profile. The mode-specific settings are Dynamic range compression profile, line mode and Dynamic range compression profile, RF mode. Note that when you specify values for all three settings, MediaConvert ignores the value of this setting in favor of the mode-specific settings. If you do use this setting instead of the mode-specific settings, choose None to leave out DRC signaling. Keep the default Film standard to set the profile to Dolby’s film standard profile for all operating modes.
sourcepub fn get_dynamic_range_compression_profile(
&self
) -> &Option<Ac3DynamicRangeCompressionProfile>
pub fn get_dynamic_range_compression_profile( &self ) -> &Option<Ac3DynamicRangeCompressionProfile>
When you want to add Dolby dynamic range compression (DRC) signaling to your output stream, we recommend that you use the mode-specific settings instead of Dynamic range compression profile. The mode-specific settings are Dynamic range compression profile, line mode and Dynamic range compression profile, RF mode. Note that when you specify values for all three settings, MediaConvert ignores the value of this setting in favor of the mode-specific settings. If you do use this setting instead of the mode-specific settings, choose None to leave out DRC signaling. Keep the default Film standard to set the profile to Dolby’s film standard profile for all operating modes.
sourcepub fn dynamic_range_compression_rf(
self,
input: Ac3DynamicRangeCompressionRf
) -> Self
pub fn dynamic_range_compression_rf( self, input: Ac3DynamicRangeCompressionRf ) -> Self
Choose the Dolby Digital dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby Digital stream for the RF operating mode. Related setting: When you use this setting, MediaConvert ignores any value you provide for Dynamic range compression profile. For information about the Dolby Digital DRC operating modes and profiles, see the Dynamic Range Control chapter of the Dolby Metadata Guide at https://developer.dolby.com/globalassets/professional/documents/dolby-metadata-guide.pdf.
sourcepub fn set_dynamic_range_compression_rf(
self,
input: Option<Ac3DynamicRangeCompressionRf>
) -> Self
pub fn set_dynamic_range_compression_rf( self, input: Option<Ac3DynamicRangeCompressionRf> ) -> Self
Choose the Dolby Digital dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby Digital stream for the RF operating mode. Related setting: When you use this setting, MediaConvert ignores any value you provide for Dynamic range compression profile. For information about the Dolby Digital DRC operating modes and profiles, see the Dynamic Range Control chapter of the Dolby Metadata Guide at https://developer.dolby.com/globalassets/professional/documents/dolby-metadata-guide.pdf.
sourcepub fn get_dynamic_range_compression_rf(
&self
) -> &Option<Ac3DynamicRangeCompressionRf>
pub fn get_dynamic_range_compression_rf( &self ) -> &Option<Ac3DynamicRangeCompressionRf>
Choose the Dolby Digital dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby Digital stream for the RF operating mode. Related setting: When you use this setting, MediaConvert ignores any value you provide for Dynamic range compression profile. For information about the Dolby Digital DRC operating modes and profiles, see the Dynamic Range Control chapter of the Dolby Metadata Guide at https://developer.dolby.com/globalassets/professional/documents/dolby-metadata-guide.pdf.
sourcepub fn lfe_filter(self, input: Ac3LfeFilter) -> Self
pub fn lfe_filter(self, input: Ac3LfeFilter) -> Self
Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.
sourcepub fn set_lfe_filter(self, input: Option<Ac3LfeFilter>) -> Self
pub fn set_lfe_filter(self, input: Option<Ac3LfeFilter>) -> Self
Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.
sourcepub fn get_lfe_filter(&self) -> &Option<Ac3LfeFilter>
pub fn get_lfe_filter(&self) -> &Option<Ac3LfeFilter>
Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.
sourcepub fn metadata_control(self, input: Ac3MetadataControl) -> Self
pub fn metadata_control(self, input: Ac3MetadataControl) -> Self
When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
sourcepub fn set_metadata_control(self, input: Option<Ac3MetadataControl>) -> Self
pub fn set_metadata_control(self, input: Option<Ac3MetadataControl>) -> Self
When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
sourcepub fn get_metadata_control(&self) -> &Option<Ac3MetadataControl>
pub fn get_metadata_control(&self) -> &Option<Ac3MetadataControl>
When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
sourcepub fn sample_rate(self, input: i32) -> Self
pub fn sample_rate(self, input: i32) -> Self
This value is always 48000. It represents the sample rate in Hz.
sourcepub fn set_sample_rate(self, input: Option<i32>) -> Self
pub fn set_sample_rate(self, input: Option<i32>) -> Self
This value is always 48000. It represents the sample rate in Hz.
sourcepub fn get_sample_rate(&self) -> &Option<i32>
pub fn get_sample_rate(&self) -> &Option<i32>
This value is always 48000. It represents the sample rate in Hz.
sourcepub fn build(self) -> Ac3Settings
pub fn build(self) -> Ac3Settings
Consumes the builder and constructs a Ac3Settings
.
Trait Implementations§
source§impl Clone for Ac3SettingsBuilder
impl Clone for Ac3SettingsBuilder
source§fn clone(&self) -> Ac3SettingsBuilder
fn clone(&self) -> Ac3SettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Ac3SettingsBuilder
impl Debug for Ac3SettingsBuilder
source§impl Default for Ac3SettingsBuilder
impl Default for Ac3SettingsBuilder
source§fn default() -> Ac3SettingsBuilder
fn default() -> Ac3SettingsBuilder
source§impl PartialEq for Ac3SettingsBuilder
impl PartialEq for Ac3SettingsBuilder
source§fn eq(&self, other: &Ac3SettingsBuilder) -> bool
fn eq(&self, other: &Ac3SettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Ac3SettingsBuilder
Auto Trait Implementations§
impl Freeze for Ac3SettingsBuilder
impl RefUnwindSafe for Ac3SettingsBuilder
impl Send for Ac3SettingsBuilder
impl Sync for Ac3SettingsBuilder
impl Unpin for Ac3SettingsBuilder
impl UnwindSafe for Ac3SettingsBuilder
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