You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaConvert::Types::Ac3Settings
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::Ac3Settings
- Defined in:
- (unknown)
Overview
When passing Ac3Settings as input to an Aws::Client method, you can use a vanilla Hash:
{
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,
}
Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to the value AC3.
Returned by:
Instance Attribute Summary collapse
-
#bitrate ⇒ Integer
Specify the average bitrate in bits per second.
-
#bitstream_mode ⇒ String
Specify the bitstream mode for the AC-3 stream that the encoder emits.
-
#coding_mode ⇒ String
Dolby Digital coding mode.
-
#dialnorm ⇒ Integer
Sets the dialnorm for the output.
-
#dynamic_range_compression_profile ⇒ String
If set to FILM_STANDARD, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.
-
#lfe_filter ⇒ String
Applies a 120Hz lowpass filter to the LFE channel prior to encoding.
-
#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.
-
#sample_rate ⇒ Integer
This value is always 48000.
Instance Attribute Details
#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 AC-3 stream that the encoder emits. For more information about the AC3 bitstream mode, see ATSC A/52-2012 (Annex E).
Possible values:
- COMPLETE_MAIN
- COMMENTARY
- DIALOGUE
- EMERGENCY
- HEARING_IMPAIRED
- MUSIC_AND_EFFECTS
- VISUALLY_IMPAIRED
- VOICE_OVER
#coding_mode ⇒ String
Dolby Digital coding mode. Determines number of channels.
Possible values:
- CODING_MODE_1_0
- CODING_MODE_1_1
- CODING_MODE_2_0
- CODING_MODE_3_2_LFE
#dialnorm ⇒ Integer
Sets the dialnorm for the output. If blank and input audio is Dolby Digital, dialnorm will be passed through.
#dynamic_range_compression_profile ⇒ String
If set to FILM_STANDARD, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.
Possible values:
- FILM_STANDARD
- NONE
#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
#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
#sample_rate ⇒ Integer
This value is always 48000. It represents the sample rate in Hz.