Class WebvttDestinationSettings
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.WebvttDestinationSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WebvttDestinationSettings.Builder,WebvttDestinationSettings>
@Generated("software.amazon.awssdk:codegen") public final class WebvttDestinationSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WebvttDestinationSettings.Builder,WebvttDestinationSettings>
Settings related to WebVTT captions. WebVTT is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWebvttDestinationSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WebvttAccessibilitySubsaccessibility()If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set Accessibility subtitles to Enabled.StringaccessibilityAsString()If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set Accessibility subtitles to Enabled.static WebvttDestinationSettings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WebvttDestinationSettings.Builder>serializableBuilderClass()WebvttStylePassthroughstylePassthrough()Specify how MediaConvert writes style information in your output WebVTT captions.StringstylePassthroughAsString()Specify how MediaConvert writes style information in your output WebVTT captions.WebvttDestinationSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accessibility
public final WebvttAccessibilitySubs accessibility()
If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this track:. If the captions track is not intended to provide such accessibility: Keep the default value, Disabled. When you do, for DASH manifests, MediaConvert instead adds the following in the adaptation set for this track: . If the service returns an enum value that is not available in the current SDK version,
accessibilitywill returnWebvttAccessibilitySubs.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessibilityAsString().- Returns:
- If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of
hearing: Set Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes
to your output HLS or DASH manifest. For HLS manifests, MediaConvert adds the following accessibility
attributes under EXT-X-MEDIA for this track: CHARACTERISTICS=
"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and
AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this
track:
. If the captions track is not intended to provide such accessibility: Keep the default value, Disabled. When you do, for DASH manifests, MediaConvert instead adds the following in the adaptation set for this track: . - See Also:
WebvttAccessibilitySubs
-
accessibilityAsString
public final String accessibilityAsString()
If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this track: CHARACTERISTICS="public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this track:. If the captions track is not intended to provide such accessibility: Keep the default value, Disabled. When you do, for DASH manifests, MediaConvert instead adds the following in the adaptation set for this track: . If the service returns an enum value that is not available in the current SDK version,
accessibilitywill returnWebvttAccessibilitySubs.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccessibilityAsString().- Returns:
- If the WebVTT captions track is intended to provide accessibility for people who are deaf or hard of
hearing: Set Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes
to your output HLS or DASH manifest. For HLS manifests, MediaConvert adds the following accessibility
attributes under EXT-X-MEDIA for this track: CHARACTERISTICS=
"public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound" and
AUTOSELECT="YES". For DASH manifests, MediaConvert adds the following in the adaptation set for this
track:
. If the captions track is not intended to provide such accessibility: Keep the default value, Disabled. When you do, for DASH manifests, MediaConvert instead adds the following in the adaptation set for this track: . - See Also:
WebvttAccessibilitySubs
-
stylePassthrough
public final WebvttStylePassthrough stylePassthrough()
Specify how MediaConvert writes style information in your output WebVTT captions. To use the available style, color, and position information from your input captions: Choose Enabled. MediaConvert uses default settings when style and position information is missing from your input captions. To recreate the input captions exactly: Choose Strict. MediaConvert automatically applies timing adjustments, including adjustments for frame rate conversion, ad avails, and input clipping. Your input captions format must be WebVTT. To ignore the style and position information from your input captions and use simplified output captions: Keep the default value, Disabled. Or leave blank. To use the available style, color, and position information from your input captions, while merging cues with identical time ranges: Choose merge. This setting can help prevent positioning overlaps for certain players that expect a single single cue for any given time range.If the service returns an enum value that is not available in the current SDK version,
stylePassthroughwill returnWebvttStylePassthrough.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstylePassthroughAsString().- Returns:
- Specify how MediaConvert writes style information in your output WebVTT captions. To use the available style, color, and position information from your input captions: Choose Enabled. MediaConvert uses default settings when style and position information is missing from your input captions. To recreate the input captions exactly: Choose Strict. MediaConvert automatically applies timing adjustments, including adjustments for frame rate conversion, ad avails, and input clipping. Your input captions format must be WebVTT. To ignore the style and position information from your input captions and use simplified output captions: Keep the default value, Disabled. Or leave blank. To use the available style, color, and position information from your input captions, while merging cues with identical time ranges: Choose merge. This setting can help prevent positioning overlaps for certain players that expect a single single cue for any given time range.
- See Also:
WebvttStylePassthrough
-
stylePassthroughAsString
public final String stylePassthroughAsString()
Specify how MediaConvert writes style information in your output WebVTT captions. To use the available style, color, and position information from your input captions: Choose Enabled. MediaConvert uses default settings when style and position information is missing from your input captions. To recreate the input captions exactly: Choose Strict. MediaConvert automatically applies timing adjustments, including adjustments for frame rate conversion, ad avails, and input clipping. Your input captions format must be WebVTT. To ignore the style and position information from your input captions and use simplified output captions: Keep the default value, Disabled. Or leave blank. To use the available style, color, and position information from your input captions, while merging cues with identical time ranges: Choose merge. This setting can help prevent positioning overlaps for certain players that expect a single single cue for any given time range.If the service returns an enum value that is not available in the current SDK version,
stylePassthroughwill returnWebvttStylePassthrough.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstylePassthroughAsString().- Returns:
- Specify how MediaConvert writes style information in your output WebVTT captions. To use the available style, color, and position information from your input captions: Choose Enabled. MediaConvert uses default settings when style and position information is missing from your input captions. To recreate the input captions exactly: Choose Strict. MediaConvert automatically applies timing adjustments, including adjustments for frame rate conversion, ad avails, and input clipping. Your input captions format must be WebVTT. To ignore the style and position information from your input captions and use simplified output captions: Keep the default value, Disabled. Or leave blank. To use the available style, color, and position information from your input captions, while merging cues with identical time ranges: Choose merge. This setting can help prevent positioning overlaps for certain players that expect a single single cue for any given time range.
- See Also:
WebvttStylePassthrough
-
toBuilder
public WebvttDestinationSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WebvttDestinationSettings.Builder,WebvttDestinationSettings>
-
builder
public static WebvttDestinationSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends WebvttDestinationSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-