You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaConvert::Types::Eac3Settings
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::Eac3Settings
- Defined in:
- (unknown)
Overview
When passing Eac3Settings as input to an Aws::Client method, you can use a vanilla Hash:
{
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
}
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value EAC3.
Returned by:
Instance Attribute Summary collapse
-
#attenuation_control ⇒ String
If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels.
-
#bitrate ⇒ Integer
Specify the average bitrate in bits per second.
-
#bitstream_mode ⇒ String
Specify the bitstream mode for the E-AC-3 stream that the encoder emits.
-
#coding_mode ⇒ String
Dolby Digital Plus coding mode.
-
#dc_filter ⇒ String
Activates a DC highpass filter for all input channels.
-
#dialnorm ⇒ Integer
Sets the dialnorm for the output.
-
#dynamic_range_compression_line ⇒ String
Specify the absolute peak level for a signal with dynamic range compression.
-
#dynamic_range_compression_rf ⇒ String
Specify how the service limits the audio dynamic range when compressing the audio.
-
#lfe_control ⇒ String
When encoding 3/2 audio, controls whether the LFE channel is enabled
Possible values:
- LFE
- NO_LFE
-
#lfe_filter ⇒ String
Applies a 120Hz lowpass filter to the LFE channel prior to encoding.
-
#lo_ro_center_mix_level ⇒ Float
Specify a value for the following Dolby Digital Plus setting: Left only/Right only center mix (Lo/Ro center).
-
#lo_ro_surround_mix_level ⇒ Float
Specify a value for the following Dolby Digital Plus setting: Left only/Right only (Lo/Ro surround).
-
#lt_rt_center_mix_level ⇒ Float
Specify a value for the following Dolby Digital Plus setting: Left total/Right total center mix (Lt/Rt center).
-
#lt_rt_surround_mix_level ⇒ Float
Specify a value for the following Dolby Digital Plus setting: Left total/Right total surround mix (Lt/Rt surround).
-
#metadata_control ⇒ String
When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data.
-
#passthrough_control ⇒ String
When set to WHEN_POSSIBLE, input DD+ audio will be passed through if it is present on the input.
-
#phase_control ⇒ String
Controls the amount of phase-shift applied to the surround channels.
-
#sample_rate ⇒ Integer
This value is always 48000.
-
#stereo_downmix ⇒ String
Choose how the service does stereo downmixing.
-
#surround_ex_mode ⇒ String
When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.
-
#surround_mode ⇒ String
When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.
Instance Attribute Details
#attenuation_control ⇒ String
If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.
Possible values:
- ATTENUATE_3_DB
- NONE
#bitrate ⇒ Integer
Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode.
#bitstream_mode ⇒ String
Specify the bitstream mode for the E-AC-3 stream that the encoder emits. For more information about the EAC3 bitstream mode, see ATSC A/52-2012 (Annex E).
Possible values:
- COMPLETE_MAIN
- COMMENTARY
- EMERGENCY
- HEARING_IMPAIRED
- VISUALLY_IMPAIRED
#coding_mode ⇒ String
Dolby Digital Plus coding mode. Determines number of channels.
Possible values:
- CODING_MODE_1_0
- CODING_MODE_2_0
- CODING_MODE_3_2
#dc_filter ⇒ String
Activates a DC highpass filter for all input channels.
Possible values:
- ENABLED
- DISABLED
#dialnorm ⇒ Integer
Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through.
#dynamic_range_compression_line ⇒ String
Specify the absolute peak level for a signal with dynamic range compression.
Possible values:
- NONE
- FILM_STANDARD
- FILM_LIGHT
- MUSIC_STANDARD
- MUSIC_LIGHT
- SPEECH
#dynamic_range_compression_rf ⇒ String
Specify how the service limits the audio dynamic range when compressing the audio.
Possible values:
- NONE
- FILM_STANDARD
- FILM_LIGHT
- MUSIC_STANDARD
- MUSIC_LIGHT
- SPEECH
#lfe_control ⇒ String
When encoding 3/2 audio, controls whether the LFE channel is enabled
Possible values:
- LFE
- NO_LFE
#lfe_filter ⇒ String
Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.
Possible values:
- ENABLED
- DISABLED
#lo_ro_center_mix_level ⇒ Float
Specify a value for the following Dolby Digital Plus setting: Left only/Right only center mix (Lo/Ro center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only center (loRoCenterMixLevel).
#lo_ro_surround_mix_level ⇒ Float
Specify a value for the following Dolby Digital Plus setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only surround (loRoSurroundMixLevel).
#lt_rt_center_mix_level ⇒ Float
Specify a value for the following Dolby Digital Plus setting: Left total/Right total center mix (Lt/Rt center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total center (ltRtCenterMixLevel).
#lt_rt_surround_mix_level ⇒ Float
Specify a value for the following Dolby Digital Plus setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total surround (ltRtSurroundMixLevel).
#metadata_control ⇒ String
When set to FOLLOW_INPUT, encoder metadata will be sourced from the DD, DD+, or DolbyE decoder that supplied this audio data. If audio was not supplied from one of these streams, then the static metadata settings will be used.
Possible values:
- FOLLOW_INPUT
- USE_CONFIGURED
#passthrough_control ⇒ String
When set to WHEN_POSSIBLE, input DD+ audio will be passed through if it is present on the input. this detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.
Possible values:
- WHEN_POSSIBLE
- NO_PASSTHROUGH
#phase_control ⇒ String
Controls the amount of phase-shift applied to the surround channels. Only used for 3/2 coding mode.
Possible values:
- SHIFT_90_DEGREES
- NO_SHIFT
#sample_rate ⇒ Integer
This value is always 48000. It represents the sample rate in Hz.
#stereo_downmix ⇒ String
Choose how the service does stereo downmixing. This setting only applies if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Stereo downmix (Eac3StereoDownmix).
Possible values:
- NOT_INDICATED
- LO_RO
- LT_RT
- DPL2
#surround_ex_mode ⇒ String
When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.
Possible values:
- NOT_INDICATED
- ENABLED
- DISABLED
#surround_mode ⇒ String
When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.
Possible values:
- NOT_INDICATED
- ENABLED
- DISABLED