Enum CmfcAudioDuration

java.lang.Object
java.lang.Enum<CmfcAudioDuration>
software.amazon.awssdk.services.mediaconvert.model.CmfcAudioDuration
All Implemented Interfaces:
Serializable, Comparable<CmfcAudioDuration>

@Generated("software.amazon.awssdk:codegen") public enum CmfcAudioDuration extends Enum<CmfcAudioDuration>
Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration. In all other cases, keep the default value, Default codec duration. When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec.
  • Enum Constant Details

    • DEFAULT_CODEC_DURATION

      public static final CmfcAudioDuration DEFAULT_CODEC_DURATION
    • MATCH_VIDEO_DURATION

      public static final CmfcAudioDuration MATCH_VIDEO_DURATION
    • UNKNOWN_TO_SDK_VERSION

      public static final CmfcAudioDuration UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

      public static CmfcAudioDuration[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CmfcAudioDuration valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CmfcAudioDuration>
    • fromValue

      public static CmfcAudioDuration fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      CmfcAudioDuration corresponding to the value
    • knownValues

      public static Set<CmfcAudioDuration> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known CmfcAudioDurations