Enum XavcFramerateConversionAlgorithm
- java.lang.Object
-
- java.lang.Enum<XavcFramerateConversionAlgorithm>
-
- software.amazon.awssdk.services.mediaconvert.model.XavcFramerateConversionAlgorithm
-
- All Implemented Interfaces:
Serializable
,Comparable<XavcFramerateConversionAlgorithm>
@Generated("software.amazon.awssdk:codegen") public enum XavcFramerateConversionAlgorithm extends Enum<XavcFramerateConversionAlgorithm>
Choose the method that you want MediaConvert to use when increasing or decreasing your video's frame rate. For numerically simple conversions, such as 60 fps to 30 fps: We recommend that you keep the default value, Drop duplicate. For numerically complex conversions, to avoid stutter: Choose Interpolate. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence: Choose FrameFormer to do motion-compensated interpolation. FrameFormer uses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost. When you choose FrameFormer, your input video resolution must be at least 128x96. To create an output with the same number of frames as your input: Choose Maintain frame count. When you do, MediaConvert will not drop, interpolate, add, or otherwise change the frame count from your input to your output. Note that since the frame count is maintained, the duration of your output will become shorter at higher frame rates and longer at lower frame rates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DUPLICATE_DROP
FRAMEFORMER
INTERPOLATE
MAINTAIN_FRAME_COUNT
UNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XavcFramerateConversionAlgorithm
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<XavcFramerateConversionAlgorithm>
knownValues()
String
toString()
static XavcFramerateConversionAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static XavcFramerateConversionAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DUPLICATE_DROP
public static final XavcFramerateConversionAlgorithm DUPLICATE_DROP
-
INTERPOLATE
public static final XavcFramerateConversionAlgorithm INTERPOLATE
-
FRAMEFORMER
public static final XavcFramerateConversionAlgorithm FRAMEFORMER
-
MAINTAIN_FRAME_COUNT
public static final XavcFramerateConversionAlgorithm MAINTAIN_FRAME_COUNT
-
UNKNOWN_TO_SDK_VERSION
public static final XavcFramerateConversionAlgorithm UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static XavcFramerateConversionAlgorithm[] 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 (XavcFramerateConversionAlgorithm c : XavcFramerateConversionAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XavcFramerateConversionAlgorithm 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<XavcFramerateConversionAlgorithm>
-
fromValue
public static XavcFramerateConversionAlgorithm 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:
- XavcFramerateConversionAlgorithm corresponding to the value
-
knownValues
public static Set<XavcFramerateConversionAlgorithm> 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 knownXavcFramerateConversionAlgorithm
s
-
-