AacSettings

public struct AacSettings : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains “broadcaster mixed AD”. Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NORMAL when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.

    Declaration

    Swift

    public let audioDescriptionBroadcasterMix: AacAudioDescriptionBroadcasterMix?
  • Specify the average bitrate in bits per second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values that you choose for Profile (codecProfile), Bitrate control mode (codingMode), and Sample rate (sampleRate). Default values depend on Bitrate control mode and Profile.

    Declaration

    Swift

    public let bitrate: Int?
  • AAC Profile.

    Declaration

    Swift

    public let codecProfile: AacCodecProfile?
  • Mono (Audio Description), Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. “1.0 - Audio Description (Receiver Mix)” setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.

    Declaration

    Swift

    public let codingMode: AacCodingMode?
  • Rate Control Mode.

    Declaration

    Swift

    public let rateControlMode: AacRateControlMode?
  • Enables LATM/LOAS AAC output. Note that if you use LATM/LOAS AAC in an output, you must choose “No container” for the output container.

    Declaration

    Swift

    public let rawFormat: AacRawFormat?
  • Sample rate in Hz. Valid values depend on rate control mode and profile.

    Declaration

    Swift

    public let sampleRate: Int?
  • Use MPEG-2 AAC instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.

    Declaration

    Swift

    public let specification: AacSpecification?
  • VBR Quality Level - Only used if rate_control_mode is VBR.

    Declaration

    Swift

    public let vbrQuality: AacVbrQuality?
  • Undocumented

    Declaration

    Swift

    public init(audioDescriptionBroadcasterMix: AacAudioDescriptionBroadcasterMix? = nil, bitrate: Int? = nil, codecProfile: AacCodecProfile? = nil, codingMode: AacCodingMode? = nil, rateControlMode: AacRateControlMode? = nil, rawFormat: AacRawFormat? = nil, sampleRate: Int? = nil, specification: AacSpecification? = nil, vbrQuality: AacVbrQuality? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws