You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaConvert::Types::AudioCodecSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::AudioCodecSettings
- Defined in:
- (unknown)
Overview
When passing AudioCodecSettings as input to an Aws::Client method, you can use a vanilla 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_profile: "FILM_STANDARD", # accepts FILM_STANDARD, 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_9_1_6", # accepts CODING_MODE_9_1_6
dialogue_intelligence: "ENABLED", # accepts ENABLED, DISABLED
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
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,
},
}
Audio codec settings (CodecSettings) under (AudioDescriptions) contains the group of settings related to audio encoding. The settings in this group vary depending on the value that you choose for Audio codec (Codec). For each codec enum that you choose, define the corresponding settings object. The following lists the codec enum, settings object pairs. * AAC, AacSettings * MP2, Mp2Settings * MP3, Mp3Settings * WAV, WavSettings * AIFF, AiffSettings * AC3, Ac3Settings * EAC3, Eac3Settings * EAC3_ATMOS, Eac3AtmosSettings * VORBIS, VorbisSettings * OPUS, OpusSettings
Returned by:
Instance Attribute Summary collapse
-
#aac_settings ⇒ Types::AacSettings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AAC.
-
#ac_3_settings ⇒ Types::Ac3Settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AC3.
-
#aiff_settings ⇒ Types::AiffSettings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF.
-
#codec ⇒ String
Type of Audio codec.
-
#eac_3_atmos_settings ⇒ Types::Eac3AtmosSettings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3_ATMOS.
-
#eac_3_settings ⇒ Types::Eac3Settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3.
-
#mp_2_settings ⇒ Types::Mp2Settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2.
-
#mp_3_settings ⇒ Types::Mp3Settings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.
-
#opus_settings ⇒ Types::OpusSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.
-
#vorbis_settings ⇒ Types::VorbisSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.
-
#wav_settings ⇒ Types::WavSettings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV.
Instance Attribute Details
#aac_settings ⇒ Types::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 ⇒ Types::Ac3Settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AC3.
#aiff_settings ⇒ Types::AiffSettings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AIFF.
#codec ⇒ String
Type of Audio codec.
Possible values:
- AAC
- MP2
- MP3
- WAV
- AIFF
- AC3
- EAC3
- EAC3_ATMOS
- VORBIS
- OPUS
- PASSTHROUGH
#eac_3_atmos_settings ⇒ Types::Eac3AtmosSettings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3_ATMOS.
#eac_3_settings ⇒ Types::Eac3Settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3.
#mp_2_settings ⇒ Types::Mp2Settings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value MP2.
#mp_3_settings ⇒ Types::Mp3Settings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.
#opus_settings ⇒ Types::OpusSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.
#vorbis_settings ⇒ Types::VorbisSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.
#wav_settings ⇒ Types::WavSettings
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value WAV.