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 the 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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DUPLICATE_DROPFRAMEFORMERINTERPOLATEUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XavcFramerateConversionAlgorithmfromValue(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()StringtoString()static XavcFramerateConversionAlgorithmvalueOf(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
-
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:
toStringin 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 aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownXavcFramerateConversionAlgorithms
-
-