[][src]Struct rusoto_mediaconvert::AudioSelector

pub struct AudioSelector {
    pub custom_language_code: Option<String>,
    pub default_selection: Option<String>,
    pub external_audio_file_input: Option<String>,
    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>>,
}

Selector for Audio

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.

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

impl Clone for AudioSelector[src]

impl Debug for AudioSelector[src]

impl Default for AudioSelector[src]

impl<'de> Deserialize<'de> for AudioSelector[src]

impl PartialEq<AudioSelector> for AudioSelector[src]

impl Serialize for AudioSelector[src]

impl StructuralPartialEq for AudioSelector[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.