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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CmfcAudioDuration
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set
<CmfcAudioDuration> toString()
static CmfcAudioDuration
Returns the enum constant of this type with the specified name.static CmfcAudioDuration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT_CODEC_DURATION
-
MATCH_VIDEO_DURATION
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<CmfcAudioDuration>
-
fromValue
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
Use this in place ofvalues()
to return aSet
of all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION
.- Returns:
- a
Set
of knownCmfcAudioDuration
s
-