AacSettings

public struct AacSettings : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Average bitrate in bits/second. Valid values depend on rate control mode and profile.

    Declaration

    Swift

    public let bitrate: Double?
  • Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. The adReceiverMix 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?
  • Set to “broadcasterMixedAd” when input contains pre-mixed main audio + AD (narration) as a stereo pair. The Audio Type field (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. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd. Leave set to “normal” when input does not contain pre-mixed audio + AD.

    Declaration

    Swift

    public let inputType: AacInputType?
  • AAC Profile.

    Declaration

    Swift

    public let profile: AacProfile?
  • Rate Control Mode.

    Declaration

    Swift

    public let rateControlMode: AacRateControlMode?
  • Sets LATM / LOAS AAC output for raw containers.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public let spec: AacSpec?
  • VBR Quality Level - Only used if rateControlMode is VBR.

    Declaration

    Swift

    public let vbrQuality: AacVbrQuality?
  • Undocumented

    Declaration

    Swift

    public init(bitrate: Double? = nil, codingMode: AacCodingMode? = nil, inputType: AacInputType? = nil, profile: AacProfile? = nil, rateControlMode: AacRateControlMode? = nil, rawFormat: AacRawFormat? = nil, sampleRate: Double? = nil, spec: AacSpec? = nil, vbrQuality: AacVbrQuality? = nil)