Enum M2tsAudioDuration
- java.lang.Object
-
- java.lang.Enum<M2tsAudioDuration>
-
- software.amazon.awssdk.services.mediaconvert.model.M2tsAudioDuration
-
- All Implemented Interfaces:
Serializable
,Comparable<M2tsAudioDuration>
@Generated("software.amazon.awssdk:codegen") public enum M2tsAudioDuration extends Enum<M2tsAudioDuration>
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
Enum Constants Enum Constant Description DEFAULT_CODEC_DURATION
MATCH_VIDEO_DURATION
UNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static M2tsAudioDuration
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<M2tsAudioDuration>
knownValues()
String
toString()
static M2tsAudioDuration
valueOf(String name)
Returns the enum constant of this type with the specified name.static M2tsAudioDuration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_CODEC_DURATION
public static final M2tsAudioDuration DEFAULT_CODEC_DURATION
-
MATCH_VIDEO_DURATION
public static final M2tsAudioDuration MATCH_VIDEO_DURATION
-
UNKNOWN_TO_SDK_VERSION
public static final M2tsAudioDuration UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static M2tsAudioDuration[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (M2tsAudioDuration c : M2tsAudioDuration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static M2tsAudioDuration 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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<M2tsAudioDuration>
-
fromValue
public static M2tsAudioDuration 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:
- M2tsAudioDuration corresponding to the value
-
knownValues
public static Set<M2tsAudioDuration> 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 knownM2tsAudioDuration
s
-
-