Interface Ac4Settings.Builder

  • Method Details

    • bitrate

      Ac4Settings.Builder bitrate(Integer bitrate)
      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): 192000, 256000, or 320000. Valid bitrates for coding mode 5.1 (3/2 with LFE): 512000. Valid bitrates for coding mode 5.1.4 (immersive): 512000, 768000, or 1024000.
      Parameters:
      bitrate - 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): 192000, 256000, or 320000. Valid bitrates for coding mode 5.1 (3/2 with LFE): 512000. Valid bitrates for coding mode 5.1.4 (immersive): 512000, 768000, or 1024000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bitstreamMode

      Ac4Settings.Builder bitstreamMode(String bitstreamMode)
      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
      Parameters:
      bitstreamMode - 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
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • bitstreamMode

      Ac4Settings.Builder bitstreamMode(Ac4BitstreamMode bitstreamMode)
      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
      Parameters:
      bitstreamMode - 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
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • codingMode

      Ac4Settings.Builder codingMode(String codingMode)
      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
      Parameters:
      codingMode - 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
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • codingMode

      Ac4Settings.Builder codingMode(Ac4CodingMode codingMode)
      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
      Parameters:
      codingMode - 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
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dynamicRangeCompressionFlatPanelTv

      Ac4Settings.Builder dynamicRangeCompressionFlatPanelTv(String dynamicRangeCompressionFlatPanelTv)
      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.
      Parameters:
      dynamicRangeCompressionFlatPanelTv - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dynamicRangeCompressionFlatPanelTv

      Ac4Settings.Builder dynamicRangeCompressionFlatPanelTv(Ac4DynamicRangeCompressionDrcProfile dynamicRangeCompressionFlatPanelTv)
      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.
      Parameters:
      dynamicRangeCompressionFlatPanelTv - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dynamicRangeCompressionHomeTheater

      Ac4Settings.Builder dynamicRangeCompressionHomeTheater(String dynamicRangeCompressionHomeTheater)
      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.
      Parameters:
      dynamicRangeCompressionHomeTheater - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dynamicRangeCompressionHomeTheater

      Ac4Settings.Builder dynamicRangeCompressionHomeTheater(Ac4DynamicRangeCompressionDrcProfile dynamicRangeCompressionHomeTheater)
      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.
      Parameters:
      dynamicRangeCompressionHomeTheater - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dynamicRangeCompressionPortableHeadphones

      Ac4Settings.Builder dynamicRangeCompressionPortableHeadphones(String dynamicRangeCompressionPortableHeadphones)
      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.
      Parameters:
      dynamicRangeCompressionPortableHeadphones - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dynamicRangeCompressionPortableHeadphones

      Ac4Settings.Builder dynamicRangeCompressionPortableHeadphones(Ac4DynamicRangeCompressionDrcProfile dynamicRangeCompressionPortableHeadphones)
      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.
      Parameters:
      dynamicRangeCompressionPortableHeadphones - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dynamicRangeCompressionPortableSpeakers

      Ac4Settings.Builder dynamicRangeCompressionPortableSpeakers(String dynamicRangeCompressionPortableSpeakers)
      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.
      Parameters:
      dynamicRangeCompressionPortableSpeakers - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dynamicRangeCompressionPortableSpeakers

      Ac4Settings.Builder dynamicRangeCompressionPortableSpeakers(Ac4DynamicRangeCompressionDrcProfile dynamicRangeCompressionPortableSpeakers)
      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.
      Parameters:
      dynamicRangeCompressionPortableSpeakers - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • loRoCenterMixLevel

      Ac4Settings.Builder loRoCenterMixLevel(Double loRoCenterMixLevel)
      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.
      Parameters:
      loRoCenterMixLevel - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • loRoSurroundMixLevel

      Ac4Settings.Builder loRoSurroundMixLevel(Double loRoSurroundMixLevel)
      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.
      Parameters:
      loRoSurroundMixLevel - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ltRtCenterMixLevel

      Ac4Settings.Builder ltRtCenterMixLevel(Double ltRtCenterMixLevel)
      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.
      Parameters:
      ltRtCenterMixLevel - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ltRtSurroundMixLevel

      Ac4Settings.Builder ltRtSurroundMixLevel(Double ltRtSurroundMixLevel)
      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.
      Parameters:
      ltRtSurroundMixLevel - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampleRate

      Ac4Settings.Builder sampleRate(Integer sampleRate)
      This value is always 48000. It represents the sample rate in Hz.
      Parameters:
      sampleRate - This value is always 48000. It represents the sample rate in Hz.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stereoDownmix

      Ac4Settings.Builder stereoDownmix(String stereoDownmix)
      Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.
      Parameters:
      stereoDownmix - Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stereoDownmix

      Ac4Settings.Builder stereoDownmix(Ac4StereoDownmix stereoDownmix)
      Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.
      Parameters:
      stereoDownmix - Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: