Enum PassthroughSegmentationMode
java.lang.Object
java.lang.Enum<PassthroughSegmentationMode>
software.amazon.awssdk.services.mediaconvert.model.PassthroughSegmentationMode
- All Implemented Interfaces:
Serializable,Comparable<PassthroughSegmentationMode>
@Generated("software.amazon.awssdk:codegen")
public enum PassthroughSegmentationMode
extends Enum<PassthroughSegmentationMode>
Choose how MediaConvert determines segment boundaries when you passthrough video to a segmented ABR output (HLS,
DASH, or CMAF). This setting applies only to ABR outputs. Keep the default value, Auto, to let MediaConvert choose
based on your input: when your input is a segmented HLS or DASH source, MediaConvert reproduces your input's own
segment boundaries, with one output segment per input segment; for all other inputs, MediaConvert places boundaries
by duration, cutting at the first eligible IDR-frame at or after each configured Segment length or Fragment length
target. Choose Duration based to always place boundaries by duration, at the first eligible IDR-frame at or after
each configured Segment length or Fragment length target, regardless of your input. When your input GOP duration does
not evenly divide your target segment length, output segment durations will vary. Choose GOP count to place a fixed
number of input GOPs in every segment, and specify GOPs per segment. Every segment contains the same number of input
GOPs, which produces consistent segment durations when your input GOP cadence is constant. In this mode MediaConvert
ignores your configured Segment length and Fragment length for video boundary placement. Ad avails and input
discontinuities are still honored as segment boundaries.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PassthroughSegmentationModeUse this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<PassthroughSegmentationMode> toString()static PassthroughSegmentationModeReturns the enum constant of this type with the specified name.static PassthroughSegmentationMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AUTO
-
DURATION_BASED
-
GOP_COUNT
-
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:
toStringin classEnum<PassthroughSegmentationMode>
-
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:
- PassthroughSegmentationMode corresponding to the value
-
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 knownPassthroughSegmentationModes
-