Struct rusoto_mediaconvert::AudioSelector
source · [−]pub struct AudioSelector {
pub custom_language_code: Option<String>,
pub default_selection: Option<String>,
pub external_audio_file_input: Option<String>,
pub hls_rendition_group_settings: Option<HlsRenditionGroupSettings>,
pub language_code: Option<String>,
pub offset: Option<i64>,
pub pids: Option<Vec<i64>>,
pub program_selection: Option<i64>,
pub remix_settings: Option<RemixSettings>,
pub selector_type: Option<String>,
pub tracks: Option<Vec<i64>>,
}
Expand description
Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your outputs. You can use multiple Audio selectors per input.
Fields
custom_language_code: Option<String>
Selects a specific language code from within an audio source, using the ISO 639-2 or ISO 639-3 three-letter language code
default_selection: Option<String>
Enable this setting on one audio selector to set it as the default for the job. The service uses this default for outputs where it can't find the specified input audio. If you don't set a default, those outputs have no audio.
external_audio_file_input: Option<String>
Specifies audio data from an external file source.
hls_rendition_group_settings: Option<HlsRenditionGroupSettings>
Settings specific to audio sources in an HLS alternate rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique audio track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the properties provided, the job fails. If no properties in hlsRenditionGroupSettings are specified, the default audio track within the video segment is chosen. If there is no audio within video segment, the alternative audio with DEFAULT=YES is chosen instead.
language_code: Option<String>
Selects a specific language code from within an audio source.
offset: Option<i64>
Specifies a time delta in milliseconds to offset the audio from the input video.
pids: Option<Vec<i64>>
Selects a specific PID from within an audio source (e.g. 257 selects PID 0x101).
program_selection: Option<i64>
Use this setting for input streams that contain Dolby E, to have the service extract specific program data from the track. To select multiple programs, create multiple selectors with the same Track and different Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the program number from the dropdown list. If you are sending a JSON file, provide the program ID, which is part of the audio metadata. If your input file has incorrect metadata, you can choose All channels instead of a program number to have the service ignore the program IDs and include all the programs in the track.
remix_settings: Option<RemixSettings>
Use these settings to reorder the audio channels of one input to match those of another input. This allows you to combine the two files into a single output, one after the other.
selector_type: Option<String>
Specifies the type of the audio selector.
tracks: Option<Vec<i64>>
Identify a track from the input audio to include in this selector by entering the track index number. To include several tracks in a single audio selector, specify multiple tracks as follows. Using the console, enter a comma-separated list. For examle, type "1,2,3" to include tracks 1 through 3. Specifying directly in your JSON job file, provide the track numbers in an array. For example, "tracks": [1,2,3].
Trait Implementations
sourceimpl Clone for AudioSelector
impl Clone for AudioSelector
sourcefn clone(&self) -> AudioSelector
fn clone(&self) -> AudioSelector
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 AudioSelector
impl Debug for AudioSelector
sourceimpl Default for AudioSelector
impl Default for AudioSelector
sourcefn default() -> AudioSelector
fn default() -> AudioSelector
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AudioSelector
impl<'de> Deserialize<'de> for AudioSelector
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<AudioSelector> for AudioSelector
impl PartialEq<AudioSelector> for AudioSelector
sourcefn eq(&self, other: &AudioSelector) -> bool
fn eq(&self, other: &AudioSelector) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AudioSelector) -> bool
fn ne(&self, other: &AudioSelector) -> bool
This method tests for !=
.
sourceimpl Serialize for AudioSelector
impl Serialize for AudioSelector
impl StructuralPartialEq for AudioSelector
Auto Trait Implementations
impl RefUnwindSafe for AudioSelector
impl Send for AudioSelector
impl Sync for AudioSelector
impl Unpin for AudioSelector
impl UnwindSafe for AudioSelector
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