logo
pub struct AudioCodecSettings {
    pub aac_settings: Option<AacSettings>,
    pub ac_3_settings: Option<Ac3Settings>,
    pub aiff_settings: Option<AiffSettings>,
    pub codec: Option<String>,
    pub eac_3_atmos_settings: Option<Eac3AtmosSettings>,
    pub eac_3_settings: Option<Eac3Settings>,
    pub mp_2_settings: Option<Mp2Settings>,
    pub mp_3_settings: Option<Mp3Settings>,
    pub opus_settings: Option<OpusSettings>,
    pub vorbis_settings: Option<VorbisSettings>,
    pub wav_settings: Option<WavSettings>,
}
Expand description

Settings related to audio encoding. The settings in this group vary depending on the value that you choose for your audio codec.

Fields

aac_settings: Option<AacSettings>

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode (rateControlMode) to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality (vbrQuality). In CBR mode, you use the setting Bitrate (bitrate). Defaults and valid values depend on the rate control mode.

ac_3_settings: Option<Ac3Settings>

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AC3.

aiff_settings: Option<AiffSettings>

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF.

codec: Option<String>

Choose the audio codec for this output. Note that the option Dolby Digital passthrough (PASSTHROUGH) applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#reference-codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference-codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output

eac_3_atmos_settings: Option<Eac3AtmosSettings>

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3_ATMOS.

eac_3_settings: Option<Eac3Settings>

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3.

mp_2_settings: Option<Mp2Settings>

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2.

mp_3_settings: Option<Mp3Settings>

Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.

opus_settings: Option<OpusSettings>

Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.

vorbis_settings: Option<VorbisSettings>

Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.

wav_settings: Option<WavSettings>

Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more