Class GifSettings
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.GifSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GifSettings.Builder,GifSettings>
@Generated("software.amazon.awssdk:codegen") public final class GifSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GifSettings.Builder,GifSettings>
Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value GIF- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGifSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GifSettings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)GifFramerateControlframerateControl()If you are using the console, use the Framerate setting to specify the frame rate for this output.StringframerateControlAsString()If you are using the console, use the Framerate setting to specify the frame rate for this output.GifFramerateConversionAlgorithmframerateConversionAlgorithm()Optional.StringframerateConversionAlgorithmAsString()Optional.IntegerframerateDenominator()When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.IntegerframerateNumerator()When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GifSettings.Builder>serializableBuilderClass()GifSettings.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
-
framerateControl
public final GifFramerateControl framerateControl()
If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.If the service returns an enum value that is not available in the current SDK version,
framerateControlwill returnGifFramerateControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframerateControlAsString().- Returns:
- If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.
- See Also:
GifFramerateControl
-
framerateControlAsString
public final String framerateControlAsString()
If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.If the service returns an enum value that is not available in the current SDK version,
framerateControlwill returnGifFramerateControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframerateControlAsString().- Returns:
- If you are using the console, use the Framerate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a fraction. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate you specify in the settings FramerateNumerator and FramerateDenominator.
- See Also:
GifFramerateControl
-
framerateConversionAlgorithm
public final GifFramerateConversionAlgorithm framerateConversionAlgorithm()
Optional. Specify how the transcoder performs framerate conversion. The default behavior is to use Drop duplicate (DUPLICATE_DROP) conversion. When you choose Interpolate (INTERPOLATE) instead, the conversion produces smoother motion.If the service returns an enum value that is not available in the current SDK version,
framerateConversionAlgorithmwill returnGifFramerateConversionAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframerateConversionAlgorithmAsString().- Returns:
- Optional. Specify how the transcoder performs framerate conversion. The default behavior is to use Drop duplicate (DUPLICATE_DROP) conversion. When you choose Interpolate (INTERPOLATE) instead, the conversion produces smoother motion.
- See Also:
GifFramerateConversionAlgorithm
-
framerateConversionAlgorithmAsString
public final String framerateConversionAlgorithmAsString()
Optional. Specify how the transcoder performs framerate conversion. The default behavior is to use Drop duplicate (DUPLICATE_DROP) conversion. When you choose Interpolate (INTERPOLATE) instead, the conversion produces smoother motion.If the service returns an enum value that is not available in the current SDK version,
framerateConversionAlgorithmwill returnGifFramerateConversionAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframerateConversionAlgorithmAsString().- Returns:
- Optional. Specify how the transcoder performs framerate conversion. The default behavior is to use Drop duplicate (DUPLICATE_DROP) conversion. When you choose Interpolate (INTERPOLATE) instead, the conversion produces smoother motion.
- See Also:
GifFramerateConversionAlgorithm
-
framerateDenominator
public final Integer framerateDenominator()
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.- Returns:
- When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
-
framerateNumerator
public final Integer framerateNumerator()
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.- Returns:
- When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
-
toBuilder
public GifSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GifSettings.Builder,GifSettings>
-
builder
public static GifSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends GifSettings.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
-
-