Ac3Settings

public struct Ac3Settings : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Average bitrate in bits/second. Valid bitrates depend on the coding mode.

    Declaration

    Swift

    public let bitrate: Double?
  • Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. See ATSC A/52-2012 for background on these values.

    Declaration

    Swift

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

    Declaration

    Swift

    public let codingMode: Ac3CodingMode?
  • Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, dialnorm will be passed through.

    Declaration

    Swift

    public let dialnorm: Int?
  • If set to filmStandard, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.

    Declaration

    Swift

    public let drcProfile: Ac3DrcProfile?
  • When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Only valid in codingMode32Lfe mode.

    Declaration

    Swift

    public let lfeFilter: Ac3LfeFilter?
  • When set to “followInput”, 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: Ac3MetadataControl?
  • Undocumented

    Declaration

    Swift

    public init(bitrate: Double? = nil, bitstreamMode: Ac3BitstreamMode? = nil, codingMode: Ac3CodingMode? = nil, dialnorm: Int? = nil, drcProfile: Ac3DrcProfile? = nil, lfeFilter: Ac3LfeFilter? = nil, metadataControl: Ac3MetadataControl? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws