class Aws::MediaConvert::Types::AudioCodecSettings
Settings related to audio encoding. The settings in this group vary depending on the value that you choose for your audio codec.
@note When making an API call, you may pass AudioCodecSettings
data as a hash: { aac_settings: { audio_description_broadcaster_mix: "BROADCASTER_MIXED_AD", # accepts BROADCASTER_MIXED_AD, NORMAL bitrate: 1, codec_profile: "LC", # accepts LC, HEV1, HEV2 coding_mode: "AD_RECEIVER_MIX", # accepts AD_RECEIVER_MIX, CODING_MODE_1_0, CODING_MODE_1_1, CODING_MODE_2_0, CODING_MODE_5_1 rate_control_mode: "CBR", # accepts CBR, VBR raw_format: "LATM_LOAS", # accepts LATM_LOAS, NONE sample_rate: 1, specification: "MPEG2", # accepts MPEG2, MPEG4 vbr_quality: "LOW", # accepts LOW, MEDIUM_LOW, MEDIUM_HIGH, HIGH }, ac_3_settings: { bitrate: 1, bitstream_mode: "COMPLETE_MAIN", # accepts COMPLETE_MAIN, COMMENTARY, DIALOGUE, EMERGENCY, HEARING_IMPAIRED, MUSIC_AND_EFFECTS, VISUALLY_IMPAIRED, VOICE_OVER coding_mode: "CODING_MODE_1_0", # accepts CODING_MODE_1_0, CODING_MODE_1_1, CODING_MODE_2_0, CODING_MODE_3_2_LFE dialnorm: 1, dynamic_range_compression_line: "FILM_STANDARD", # accepts FILM_STANDARD, FILM_LIGHT, MUSIC_STANDARD, MUSIC_LIGHT, SPEECH, NONE dynamic_range_compression_profile: "FILM_STANDARD", # accepts FILM_STANDARD, NONE dynamic_range_compression_rf: "FILM_STANDARD", # accepts FILM_STANDARD, FILM_LIGHT, MUSIC_STANDARD, MUSIC_LIGHT, SPEECH, NONE lfe_filter: "ENABLED", # accepts ENABLED, DISABLED metadata_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED sample_rate: 1, }, aiff_settings: { bit_depth: 1, channels: 1, sample_rate: 1, }, codec: "AAC", # accepts AAC, MP2, MP3, WAV, AIFF, AC3, EAC3, EAC3_ATMOS, VORBIS, OPUS, PASSTHROUGH eac_3_atmos_settings: { bitrate: 1, bitstream_mode: "COMPLETE_MAIN", # accepts COMPLETE_MAIN coding_mode: "CODING_MODE_AUTO", # accepts CODING_MODE_AUTO, CODING_MODE_5_1_4, CODING_MODE_7_1_4, CODING_MODE_9_1_6 dialogue_intelligence: "ENABLED", # accepts ENABLED, DISABLED downmix_control: "SPECIFIED", # accepts SPECIFIED, INITIALIZE_FROM_SOURCE dynamic_range_compression_line: "NONE", # accepts NONE, FILM_STANDARD, FILM_LIGHT, MUSIC_STANDARD, MUSIC_LIGHT, SPEECH dynamic_range_compression_rf: "NONE", # accepts NONE, FILM_STANDARD, FILM_LIGHT, MUSIC_STANDARD, MUSIC_LIGHT, SPEECH dynamic_range_control: "SPECIFIED", # accepts SPECIFIED, INITIALIZE_FROM_SOURCE lo_ro_center_mix_level: 1.0, lo_ro_surround_mix_level: 1.0, lt_rt_center_mix_level: 1.0, lt_rt_surround_mix_level: 1.0, metering_mode: "LEQ_A", # accepts LEQ_A, ITU_BS_1770_1, ITU_BS_1770_2, ITU_BS_1770_3, ITU_BS_1770_4 sample_rate: 1, speech_threshold: 1, stereo_downmix: "NOT_INDICATED", # accepts NOT_INDICATED, STEREO, SURROUND, DPL2 surround_ex_mode: "NOT_INDICATED", # accepts NOT_INDICATED, ENABLED, DISABLED }, eac_3_settings: { attenuation_control: "ATTENUATE_3_DB", # accepts ATTENUATE_3_DB, NONE bitrate: 1, bitstream_mode: "COMPLETE_MAIN", # accepts COMPLETE_MAIN, COMMENTARY, EMERGENCY, HEARING_IMPAIRED, VISUALLY_IMPAIRED coding_mode: "CODING_MODE_1_0", # accepts CODING_MODE_1_0, CODING_MODE_2_0, CODING_MODE_3_2 dc_filter: "ENABLED", # accepts ENABLED, DISABLED dialnorm: 1, dynamic_range_compression_line: "NONE", # accepts NONE, FILM_STANDARD, FILM_LIGHT, MUSIC_STANDARD, MUSIC_LIGHT, SPEECH dynamic_range_compression_rf: "NONE", # accepts NONE, FILM_STANDARD, FILM_LIGHT, MUSIC_STANDARD, MUSIC_LIGHT, SPEECH lfe_control: "LFE", # accepts LFE, NO_LFE lfe_filter: "ENABLED", # accepts ENABLED, DISABLED lo_ro_center_mix_level: 1.0, lo_ro_surround_mix_level: 1.0, lt_rt_center_mix_level: 1.0, lt_rt_surround_mix_level: 1.0, metadata_control: "FOLLOW_INPUT", # accepts FOLLOW_INPUT, USE_CONFIGURED passthrough_control: "WHEN_POSSIBLE", # accepts WHEN_POSSIBLE, NO_PASSTHROUGH phase_control: "SHIFT_90_DEGREES", # accepts SHIFT_90_DEGREES, NO_SHIFT sample_rate: 1, stereo_downmix: "NOT_INDICATED", # accepts NOT_INDICATED, LO_RO, LT_RT, DPL2 surround_ex_mode: "NOT_INDICATED", # accepts NOT_INDICATED, ENABLED, DISABLED surround_mode: "NOT_INDICATED", # accepts NOT_INDICATED, ENABLED, DISABLED }, mp_2_settings: { bitrate: 1, channels: 1, sample_rate: 1, }, mp_3_settings: { bitrate: 1, channels: 1, rate_control_mode: "CBR", # accepts CBR, VBR sample_rate: 1, vbr_quality: 1, }, opus_settings: { bitrate: 1, channels: 1, sample_rate: 1, }, vorbis_settings: { channels: 1, sample_rate: 1, vbr_quality: 1, }, wav_settings: { bit_depth: 1, channels: 1, format: "RIFF", # accepts RIFF, RF64 sample_rate: 1, }, }
@!attribute [rw] aac_settings
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. @return [Types::AacSettings]
@!attribute [rw] ac_3_settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AC3. @return [Types::Ac3Settings]
@!attribute [rw] aiff_settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF. @return [Types::AiffSettings]
@!attribute [rw] codec
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 @return [String]
@!attribute [rw] eac_3_atmos_settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3\_ATMOS. @return [Types::Eac3AtmosSettings]
@!attribute [rw] eac_3_settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3. @return [Types::Eac3Settings]
@!attribute [rw] mp_2_settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2. @return [Types::Mp2Settings]
@!attribute [rw] mp_3_settings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3. @return [Types::Mp3Settings]
@!attribute [rw] opus_settings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS. @return [Types::OpusSettings]
@!attribute [rw] vorbis_settings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis. @return [Types::VorbisSettings]
@!attribute [rw] wav_settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV. @return [Types::WavSettings]
@see docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioCodecSettings AWS API Documentation
Constants
- SENSITIVE