Struct rusoto_mediaconvert::AudioDescription
source · [−]pub struct AudioDescription {
pub audio_channel_tagging_settings: Option<AudioChannelTaggingSettings>,
pub audio_normalization_settings: Option<AudioNormalizationSettings>,
pub audio_source_name: Option<String>,
pub audio_type: Option<i64>,
pub audio_type_control: Option<String>,
pub codec_settings: Option<AudioCodecSettings>,
pub custom_language_code: Option<String>,
pub language_code: Option<String>,
pub language_code_control: Option<String>,
pub remix_settings: Option<RemixSettings>,
pub stream_name: Option<String>,
}
Expand description
Settings related to one audio tab on the MediaConvert console. In your job JSON, an instance of AudioDescription is equivalent to one audio tab in the console. Usually, one audio tab corresponds to one output audio track. Depending on how you set up your input audio selectors and whether you use audio selector groups, one audio tab can correspond to a group of output audio tracks.
Fields
audio_channel_tagging_settings: Option<AudioChannelTaggingSettings>
When you mimic a multi-channel audio layout with multiple mono-channel tracks, you can tag each channel layout manually. For example, you would tag the tracks that contain your left, right, and center audio with Left (L), Right (R), and Center (C), respectively. When you don't specify a value, MediaConvert labels your track as Center (C) by default. To use audio layout tagging, your output must be in a QuickTime (.mov) container; your audio codec must be AAC, WAV, or AIFF; and you must set up your audio track to have only one channel.
audio_normalization_settings: Option<AudioNormalizationSettings>
Advanced audio normalization settings. Ignore these settings unless you need to comply with a loudness standard.
audio_source_name: Option<String>
Specifies which audio data to use from each input. In the simplest case, specify an "Audio Selector":#inputs-audioselector by name based on its order within each input. For example if you specify "Audio Selector 3", then the third audio selector will be used from each input. If an input does not have an "Audio Selector 3", then the audio selector marked as "default" in that input will be used. If there is no audio selector marked as "default", silence will be inserted for the duration of that input. Alternatively, an "Audio Selector Group":#inputs-audioselectorgroup name may be specified, with similar default/silence behavior. If no audiosource_name is specified, then "Audio Selector 1" will be chosen automatically.
audio_type: Option<i64>
Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually Impaired Commentary, 4-255 = Reserved.
audio_type_control: Option<String>
When set to FOLLOWINPUT, if the input contains an ISO 639 audiotype, then that value is passed through to the output. If the input contains no ISO 639 audiotype, the value in Audio Type is included in the output. Otherwise the value in Audio Type is included in the output. Note that this field and audioType are both ignored if audioDescriptionBroadcasterMix is set to BROADCASTERMIXED_AD.
codec_settings: Option<AudioCodecSettings>
Settings related to audio encoding. The settings in this group vary depending on the value that you choose for your audio codec.
custom_language_code: Option<String>
Specify the language for this audio output track. The service puts this language code into your output audio track when you set Language code control (AudioLanguageCodeControl) to Use configured (USECONFIGURED). The service also uses your specified custom language code when you set Language code control (AudioLanguageCodeControl) to Follow input (FOLLOWINPUT), but your input file doesn't specify a language code. For all outputs, you can use an ISO 639-2 or ISO 639-3 code. For streaming outputs, you can also use any other code in the full RFC-5646 specification. Streaming outputs are those that are in one of the following output groups: CMAF, DASH ISO, Apple HLS, or Microsoft Smooth Streaming.
language_code: Option<String>
Indicates the language of the audio output track. The ISO 639 language specified in the 'Language Code' drop down will be used when 'Follow Input Language Code' is not selected or when 'Follow Input Language Code' is selected but there is no ISO 639 language code specified by the input.
language_code_control: Option<String>
Specify which source for language code takes precedence for this audio track. When you choose Follow input (FOLLOWINPUT), the service uses the language code from the input track if it's present. If there's no languge code on the input track, the service uses the code that you specify in the setting Language code (languageCode or customLanguageCode). When you choose Use configured (USECONFIGURED), the service uses the language code that you specify.
remix_settings: Option<RemixSettings>
Advanced audio remixing settings.
stream_name: Option<String>
Specify a label for this output audio stream. For example, "English", "Director commentary", or "track_2". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting.
Trait Implementations
sourceimpl Clone for AudioDescription
impl Clone for AudioDescription
sourcefn clone(&self) -> AudioDescription
fn clone(&self) -> AudioDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AudioDescription
impl Debug for AudioDescription
sourceimpl Default for AudioDescription
impl Default for AudioDescription
sourcefn default() -> AudioDescription
fn default() -> AudioDescription
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AudioDescription
impl<'de> Deserialize<'de> for AudioDescription
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<AudioDescription> for AudioDescription
impl PartialEq<AudioDescription> for AudioDescription
sourcefn eq(&self, other: &AudioDescription) -> bool
fn eq(&self, other: &AudioDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AudioDescription) -> bool
fn ne(&self, other: &AudioDescription) -> bool
This method tests for !=
.
sourceimpl Serialize for AudioDescription
impl Serialize for AudioDescription
impl StructuralPartialEq for AudioDescription
Auto Trait Implementations
impl RefUnwindSafe for AudioDescription
impl Send for AudioDescription
impl Sync for AudioDescription
impl Unpin for AudioDescription
impl UnwindSafe for AudioDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more