Module Values.Ac4SettingsSource

Required when you set Codec to the value AC4.

Sourcetype nonrec t = {
  1. bitrate : int option;
    (*

    Specify the average bitrate in bits per second. Leave blank to use the default bitrate for the coding mode you select according to ETSI TS 103 190. Valid bitrates for coding mode 2.0 (stereo): 48000, 64000, 96000, 128000, 144000, 192000, 256000, 288000, 320000, 384000, 448000, 512000, or 768000. Valid bitrates for coding mode 5.1 (3/2 with LFE): 96000, 128000, 144000, 192000, 256000, 288000, 320000, 384000, 448000, 512000, or 768000. Valid bitrates for coding mode 5.1.4 (immersive): 192000, 256000, 288000, 320000, 384000, 448000, 512000, or 768000.

    *)
  2. bitstreamMode : Ac4BitstreamMode.t option;
    (*

    Specify the bitstream mode for the AC-4 stream that the encoder emits. For more information about the AC-4 bitstream mode, see ETSI TS 103 190. Maps to dlb_paec_ac4_bed_classifier in the encoder implementation. - COMPLETE_MAIN: Complete Main (standard mix) - EMERGENCY: Stereo Emergency content

    *)
  3. codingMode : Ac4CodingMode.t option;
    (*

    Dolby AC-4 coding mode. Determines number of channels. Maps to dlb_paec_ac4_bed_channel_config in the encoder implementation. - CODING_MODE_2_0: 2.0 (stereo) - maps to DLB_PAEC_AC4_BED_CHANNEL_CONFIG_20 - CODING_MODE_3_2_LFE: 5.1 surround - maps to DLB_PAEC_AC4_BED_CHANNEL_CONFIG_51 - CODING_MODE_5_1_4: 5.1.4 immersive - maps to DLB_PAEC_AC4_BED_CHANNEL_CONFIG_514

    *)
  4. dynamicRangeCompressionFlatPanelTv : Ac4DynamicRangeCompressionDrcProfile.t option;
    (*

    Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification.

    *)
  5. dynamicRangeCompressionHomeTheater : Ac4DynamicRangeCompressionDrcProfile.t option;
    (*

    Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification.

    *)
  6. dynamicRangeCompressionPortableHeadphones : Ac4DynamicRangeCompressionDrcProfile.t option;
    (*

    Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification.

    *)
  7. dynamicRangeCompressionPortableSpeakers : Ac4DynamicRangeCompressionDrcProfile.t option;
    (*

    Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification.

    *)
  8. loRoCenterMixLevel : float option;
    (*

    Specify a value for the following Dolby AC-4 setting: Left only/Right only center mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left only/Right only center.

    *)
  9. loRoSurroundMixLevel : float option;
    (*

    Specify a value for the following Dolby AC-4 setting: Left only/Right only surround mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left only/Right only surround.

    *)
  10. ltRtCenterMixLevel : float option;
    (*

    Specify a value for the following Dolby AC-4 setting: Left total/Right total center mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left total/Right total center.

    *)
  11. ltRtSurroundMixLevel : float option;
    (*

    Specify a value for the following Dolby AC-4 setting: Left total/Right total surround mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left total/Right total surround.

    *)
  12. sampleRate : int option;
    (*

    This value is always 48000. It represents the sample rate in Hz.

    *)
  13. stereoDownmix : Ac4StereoDownmix.t option;
    (*

    Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.

    *)
}
Sourceval make : ?bitrate:??? -> ?bitstreamMode:??? -> ?codingMode:??? -> ?dynamicRangeCompressionFlatPanelTv:??? -> ?dynamicRangeCompressionHomeTheater:??? -> ?dynamicRangeCompressionPortableHeadphones:??? -> ?dynamicRangeCompressionPortableSpeakers:??? -> ?loRoCenterMixLevel:??? -> ?loRoSurroundMixLevel:??? -> ?ltRtCenterMixLevel:??? -> ?ltRtSurroundMixLevel:??? -> ?sampleRate:??? -> ?stereoDownmix:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of float | `Enum of string | `Integer of int ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t