Class AudioNormalizationSettings

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

@Generated("software.amazon.awssdk:codegen") public final class AudioNormalizationSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AudioNormalizationSettings.Builder,AudioNormalizationSettings>
Advanced audio normalization settings. Ignore these settings unless you need to comply with a loudness standard.
See Also:
  • Method Details

    • algorithm

      public final AudioNormalizationAlgorithm algorithm()
      Choose one of the following audio normalization algorithms: ITU-R BS.1770-1: Ungated loudness. A measurement of ungated average loudness for an entire piece of content, suitable for measurement of short-form content under ATSC recommendation A/85. Supports up to 5.1 audio channels. ITU-R BS.1770-2: Gated loudness. A measurement of gated average loudness compliant with the requirements of EBU-R128. Supports up to 5.1 audio channels. ITU-R BS.1770-3: Modified peak. The same loudness measurement algorithm as 1770-2, with an updated true peak measurement. ITU-R BS.1770-4: Higher channel count. Allows for more audio channels than the other algorithms, including configurations such as 7.1.

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

      Returns:
      Choose one of the following audio normalization algorithms: ITU-R BS.1770-1: Ungated loudness. A measurement of ungated average loudness for an entire piece of content, suitable for measurement of short-form content under ATSC recommendation A/85. Supports up to 5.1 audio channels. ITU-R BS.1770-2: Gated loudness. A measurement of gated average loudness compliant with the requirements of EBU-R128. Supports up to 5.1 audio channels. ITU-R BS.1770-3: Modified peak. The same loudness measurement algorithm as 1770-2, with an updated true peak measurement. ITU-R BS.1770-4: Higher channel count. Allows for more audio channels than the other algorithms, including configurations such as 7.1.
      See Also:
    • algorithmAsString

      public final String algorithmAsString()
      Choose one of the following audio normalization algorithms: ITU-R BS.1770-1: Ungated loudness. A measurement of ungated average loudness for an entire piece of content, suitable for measurement of short-form content under ATSC recommendation A/85. Supports up to 5.1 audio channels. ITU-R BS.1770-2: Gated loudness. A measurement of gated average loudness compliant with the requirements of EBU-R128. Supports up to 5.1 audio channels. ITU-R BS.1770-3: Modified peak. The same loudness measurement algorithm as 1770-2, with an updated true peak measurement. ITU-R BS.1770-4: Higher channel count. Allows for more audio channels than the other algorithms, including configurations such as 7.1.

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

      Returns:
      Choose one of the following audio normalization algorithms: ITU-R BS.1770-1: Ungated loudness. A measurement of ungated average loudness for an entire piece of content, suitable for measurement of short-form content under ATSC recommendation A/85. Supports up to 5.1 audio channels. ITU-R BS.1770-2: Gated loudness. A measurement of gated average loudness compliant with the requirements of EBU-R128. Supports up to 5.1 audio channels. ITU-R BS.1770-3: Modified peak. The same loudness measurement algorithm as 1770-2, with an updated true peak measurement. ITU-R BS.1770-4: Higher channel count. Allows for more audio channels than the other algorithms, including configurations such as 7.1.
      See Also:
    • algorithmControl

      public final AudioNormalizationAlgorithmControl algorithmControl()
      When enabled the output audio is corrected using the chosen algorithm. If disabled, the audio will be measured but not adjusted.

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

      Returns:
      When enabled the output audio is corrected using the chosen algorithm. If disabled, the audio will be measured but not adjusted.
      See Also:
    • algorithmControlAsString

      public final String algorithmControlAsString()
      When enabled the output audio is corrected using the chosen algorithm. If disabled, the audio will be measured but not adjusted.

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

      Returns:
      When enabled the output audio is corrected using the chosen algorithm. If disabled, the audio will be measured but not adjusted.
      See Also:
    • correctionGateLevel

      public final Integer correctionGateLevel()
      Content measuring above this level will be corrected to the target level. Content measuring below this level will not be corrected.
      Returns:
      Content measuring above this level will be corrected to the target level. Content measuring below this level will not be corrected.
    • loudnessLogging

      public final AudioNormalizationLoudnessLogging loudnessLogging()
      If set to LOG, log each output's audio track loudness to a CSV file.

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

      Returns:
      If set to LOG, log each output's audio track loudness to a CSV file.
      See Also:
    • loudnessLoggingAsString

      public final String loudnessLoggingAsString()
      If set to LOG, log each output's audio track loudness to a CSV file.

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

      Returns:
      If set to LOG, log each output's audio track loudness to a CSV file.
      See Also:
    • peakCalculation

      public final AudioNormalizationPeakCalculation peakCalculation()
      If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio track loudness.

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

      Returns:
      If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio track loudness.
      See Also:
    • peakCalculationAsString

      public final String peakCalculationAsString()
      If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio track loudness.

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

      Returns:
      If set to TRUE_PEAK, calculate and log the TruePeak for each output's audio track loudness.
      See Also:
    • targetLkfs

      public final Double targetLkfs()
      When you use Audio normalization, optionally use this setting to specify a target loudness. If you don't specify a value here, the encoder chooses a value for you, based on the algorithm that you choose for Algorithm. If you choose algorithm 1770-1, the encoder will choose -24 LKFS; otherwise, the encoder will choose -23 LKFS.
      Returns:
      When you use Audio normalization, optionally use this setting to specify a target loudness. If you don't specify a value here, the encoder chooses a value for you, based on the algorithm that you choose for Algorithm. If you choose algorithm 1770-1, the encoder will choose -24 LKFS; otherwise, the encoder will choose -23 LKFS.
    • truePeakLimiterThreshold

      public final Double truePeakLimiterThreshold()
      Specify the True-peak limiter threshold in decibels relative to full scale (dBFS). The peak inter-audio sample loudness in your output will be limited to the value that you specify, without affecting the overall target LKFS. Enter a value from 0 to -8. Leave blank to use the default value 0.
      Returns:
      Specify the True-peak limiter threshold in decibels relative to full scale (dBFS). The peak inter-audio sample loudness in your output will be limited to the value that you specify, without affecting the overall target LKFS. Enter a value from 0 to -8. Leave blank to use the default value 0.
    • 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<AudioNormalizationSettings.Builder,AudioNormalizationSettings>
      Returns:
      a builder for type T
    • builder

      public static AudioNormalizationSettings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AudioNormalizationSettings.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.