Enum H264WriteMp4PackagingType
- java.lang.Object
-
- java.lang.Enum<H264WriteMp4PackagingType>
-
- software.amazon.awssdk.services.mediaconvert.model.H264WriteMp4PackagingType
-
- All Implemented Interfaces:
Serializable,Comparable<H264WriteMp4PackagingType>
@Generated("software.amazon.awssdk:codegen") public enum H264WriteMp4PackagingType extends Enum<H264WriteMp4PackagingType>
Specify how SPS and PPS NAL units are written in your output MP4 container, according to ISO/IEC 14496-15. If the location of these parameters doesn't matter in your workflow: Keep the default value, AVC1. MediaConvert writes SPS and PPS NAL units in the sample description ('stsd') box (but not into samples directly). To write SPS and PPS NAL units directly into samples (but not in the 'stsd' box): Choose AVC3. When you do, note that your output might not play properly with some downstream systems or players.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVC1AVC3UNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static H264WriteMp4PackagingTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<H264WriteMp4PackagingType>knownValues()StringtoString()static H264WriteMp4PackagingTypevalueOf(String name)Returns the enum constant of this type with the specified name.static H264WriteMp4PackagingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVC1
public static final H264WriteMp4PackagingType AVC1
-
AVC3
public static final H264WriteMp4PackagingType AVC3
-
UNKNOWN_TO_SDK_VERSION
public static final H264WriteMp4PackagingType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static H264WriteMp4PackagingType[] 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 (H264WriteMp4PackagingType c : H264WriteMp4PackagingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static H264WriteMp4PackagingType 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<H264WriteMp4PackagingType>
-
fromValue
public static H264WriteMp4PackagingType 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:
- H264WriteMp4PackagingType corresponding to the value
-
knownValues
public static Set<H264WriteMp4PackagingType> 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 knownH264WriteMp4PackagingTypes
-
-