Class Ac4Settings

java.lang.Object
software.amazon.awssdk.services.mediaconvert.model.Ac4Settings
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<Ac4Settings.Builder,Ac4Settings>

@Generated("software.amazon.awssdk:codegen") public final class Ac4Settings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Ac4Settings.Builder,Ac4Settings>
Required when you set Codec to the value AC4.
See Also:
  • Method Details

    • bitrate

      public final 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.
      Returns:
      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.
    • bitstreamMode

      public final 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

      If the service returns an enum value that is not available in the current SDK version, bitstreamMode will return Ac4BitstreamMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from bitstreamModeAsString().

      Returns:
      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
      See Also:
    • bitstreamModeAsString

      public final String bitstreamModeAsString()
      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

      If the service returns an enum value that is not available in the current SDK version, bitstreamMode will return Ac4BitstreamMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from bitstreamModeAsString().

      Returns:
      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
      See Also:
    • codingMode

      public final 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

      If the service returns an enum value that is not available in the current SDK version, codingMode will return Ac4CodingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from codingModeAsString().

      Returns:
      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
      See Also:
    • codingModeAsString

      public final String codingModeAsString()
      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

      If the service returns an enum value that is not available in the current SDK version, codingMode will return Ac4CodingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from codingModeAsString().

      Returns:
      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
      See Also:
    • dynamicRangeCompressionFlatPanelTv

      public final 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.

      If the service returns an enum value that is not available in the current SDK version, dynamicRangeCompressionFlatPanelTv will return Ac4DynamicRangeCompressionDrcProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dynamicRangeCompressionFlatPanelTvAsString().

      Returns:
      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.
      See Also:
    • dynamicRangeCompressionFlatPanelTvAsString

      public final String dynamicRangeCompressionFlatPanelTvAsString()
      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.

      If the service returns an enum value that is not available in the current SDK version, dynamicRangeCompressionFlatPanelTv will return Ac4DynamicRangeCompressionDrcProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dynamicRangeCompressionFlatPanelTvAsString().

      Returns:
      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.
      See Also:
    • dynamicRangeCompressionHomeTheater

      public final 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.

      If the service returns an enum value that is not available in the current SDK version, dynamicRangeCompressionHomeTheater will return Ac4DynamicRangeCompressionDrcProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dynamicRangeCompressionHomeTheaterAsString().

      Returns:
      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.
      See Also:
    • dynamicRangeCompressionHomeTheaterAsString

      public final String dynamicRangeCompressionHomeTheaterAsString()
      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.

      If the service returns an enum value that is not available in the current SDK version, dynamicRangeCompressionHomeTheater will return Ac4DynamicRangeCompressionDrcProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dynamicRangeCompressionHomeTheaterAsString().

      Returns:
      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.
      See Also:
    • dynamicRangeCompressionPortableHeadphones

      public final 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.

      If the service returns an enum value that is not available in the current SDK version, dynamicRangeCompressionPortableHeadphones will return Ac4DynamicRangeCompressionDrcProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dynamicRangeCompressionPortableHeadphonesAsString().

      Returns:
      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.
      See Also:
    • dynamicRangeCompressionPortableHeadphonesAsString

      public final String dynamicRangeCompressionPortableHeadphonesAsString()
      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.

      If the service returns an enum value that is not available in the current SDK version, dynamicRangeCompressionPortableHeadphones will return Ac4DynamicRangeCompressionDrcProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dynamicRangeCompressionPortableHeadphonesAsString().

      Returns:
      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.
      See Also:
    • dynamicRangeCompressionPortableSpeakers

      public final 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.

      If the service returns an enum value that is not available in the current SDK version, dynamicRangeCompressionPortableSpeakers will return Ac4DynamicRangeCompressionDrcProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dynamicRangeCompressionPortableSpeakersAsString().

      Returns:
      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.
      See Also:
    • dynamicRangeCompressionPortableSpeakersAsString

      public final String dynamicRangeCompressionPortableSpeakersAsString()
      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.

      If the service returns an enum value that is not available in the current SDK version, dynamicRangeCompressionPortableSpeakers will return Ac4DynamicRangeCompressionDrcProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dynamicRangeCompressionPortableSpeakersAsString().

      Returns:
      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.
      See Also:
    • loRoCenterMixLevel

      public final 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.
      Returns:
      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.
    • loRoSurroundMixLevel

      public final 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.
      Returns:
      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.
    • ltRtCenterMixLevel

      public final 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.
      Returns:
      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.
    • ltRtSurroundMixLevel

      public final 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.
      Returns:
      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.
    • sampleRate

      public final Integer sampleRate()
      This value is always 48000. It represents the sample rate in Hz.
      Returns:
      This value is always 48000. It represents the sample rate in Hz.
    • stereoDownmix

      public final Ac4StereoDownmix stereoDownmix()
      Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.

      If the service returns an enum value that is not available in the current SDK version, stereoDownmix will return Ac4StereoDownmix.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stereoDownmixAsString().

      Returns:
      Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.
      See Also:
    • stereoDownmixAsString

      public final String stereoDownmixAsString()
      Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.

      If the service returns an enum value that is not available in the current SDK version, stereoDownmix will return Ac4StereoDownmix.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stereoDownmixAsString().

      Returns:
      Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.
      See Also:
    • toBuilder

      public Ac4Settings.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<Ac4Settings.Builder,Ac4Settings>
      Returns:
      a builder for type T
    • builder

      public static Ac4Settings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends Ac4Settings.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.