Eac3Settings

public struct Eac3Settings : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • If set to ATTENUATE_3_DB, applies a 3 dB attenuation to the surround channels. Only used for 3/2 coding mode.

    Declaration

    Swift

    public let attenuationControl: Eac3AttenuationControl?
  • Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode.

    Declaration

    Swift

    public let bitrate: Int?
  • 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).

    Declaration

    Swift

    public let bitstreamMode: Eac3BitstreamMode?
  • Dolby Digital Plus coding mode. Determines number of channels.

    Declaration

    Swift

    public let codingMode: Eac3CodingMode?
  • Activates a DC highpass filter for all input channels.

    Declaration

    Swift

    public let dcFilter: Eac3DcFilter?
  • Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through.

    Declaration

    Swift

    public let dialnorm: Int?
  • Specify the absolute peak level for a signal with dynamic range compression.

    Declaration

    Swift

    public let dynamicRangeCompressionLine: Eac3DynamicRangeCompressionLine?
  • Specify how the service limits the audio dynamic range when compressing the audio.

    Declaration

    Swift

    public let dynamicRangeCompressionRf: Eac3DynamicRangeCompressionRf?
  • When encoding 3/2 audio, controls whether the LFE channel is enabled

    Declaration

    Swift

    public let lfeControl: Eac3LfeControl?
  • Applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid with 3_2_LFE coding mode.

    Declaration

    Swift

    public let lfeFilter: Eac3LfeFilter?
  • 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).

    Declaration

    Swift

    public let loRoCenterMixLevel: Double?
  • 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).

    Declaration

    Swift

    public let loRoSurroundMixLevel: Double?
  • 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).

    Declaration

    Swift

    public let ltRtCenterMixLevel: Double?
  • 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).

    Declaration

    Swift

    public let ltRtSurroundMixLevel: Double?
  • 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.

    Declaration

    Swift

    public let metadataControl: Eac3MetadataControl?
  • 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.

    Declaration

    Swift

    public let passthroughControl: Eac3PassthroughControl?
  • Controls the amount of phase-shift applied to the surround channels. Only used for 3/2 coding mode.

    Declaration

    Swift

    public let phaseControl: Eac3PhaseControl?
  • This value is always 48000. It represents the sample rate in Hz.

    Declaration

    Swift

    public let sampleRate: Int?
  • 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).

    Declaration

    Swift

    public let stereoDownmix: Eac3StereoDownmix?
  • When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.

    Declaration

    Swift

    public let surroundExMode: Eac3SurroundExMode?
  • When encoding 2/0 audio, sets whether Dolby Surround is matrix encoded into the two channels.

    Declaration

    Swift

    public let surroundMode: Eac3SurroundMode?
  • Undocumented

    Declaration

    Swift

    public init(attenuationControl: Eac3AttenuationControl? = nil, bitrate: Int? = nil, bitstreamMode: Eac3BitstreamMode? = nil, codingMode: Eac3CodingMode? = nil, dcFilter: Eac3DcFilter? = nil, dialnorm: Int? = nil, dynamicRangeCompressionLine: Eac3DynamicRangeCompressionLine? = nil, dynamicRangeCompressionRf: Eac3DynamicRangeCompressionRf? = nil, lfeControl: Eac3LfeControl? = nil, lfeFilter: Eac3LfeFilter? = nil, loRoCenterMixLevel: Double? = nil, loRoSurroundMixLevel: Double? = nil, ltRtCenterMixLevel: Double? = nil, ltRtSurroundMixLevel: Double? = nil, metadataControl: Eac3MetadataControl? = nil, passthroughControl: Eac3PassthroughControl? = nil, phaseControl: Eac3PhaseControl? = nil, sampleRate: Int? = nil, stereoDownmix: Eac3StereoDownmix? = nil, surroundExMode: Eac3SurroundExMode? = nil, surroundMode: Eac3SurroundMode? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws