Class Vp9Settings
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.Vp9Settings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Vp9Settings.Builder,Vp9Settings>
@Generated("software.amazon.awssdk:codegen") public final class Vp9Settings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Vp9Settings.Builder,Vp9Settings>
Required when you set Codec to the value VP9.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVp9Settings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerbitrate()Target bitrate in bits/second.static Vp9Settings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Vp9FramerateControlframerateControl()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.Vp9FramerateConversionAlgorithmframerateConversionAlgorithm()Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.StringframerateConversionAlgorithmAsString()Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.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)DoublegopSize()GOP Length (keyframe interval) in frames.inthashCode()IntegerhrdBufferSize()Size of buffer (HRD buffer model) in bits.IntegermaxBitrate()Ignore this setting unless you set qualityTuningLevel to MULTI_PASS.Vp9ParControlparControl()Optional.StringparControlAsString()Optional.IntegerparDenominator()Required when you set Pixel aspect ratio to SPECIFIED.IntegerparNumerator()Required when you set Pixel aspect ratio to SPECIFIED.Vp9QualityTuningLevelqualityTuningLevel()Optional.StringqualityTuningLevelAsString()Optional.Vp9RateControlModerateControlMode()With the VP9 codec, you can use only the variable bitrate (VBR) rate control mode.StringrateControlModeAsString()With the VP9 codec, you can use only the variable bitrate (VBR) rate control mode.List<SdkField<?>>sdkFields()static Class<? extends Vp9Settings.Builder>serializableBuilderClass()Vp9Settings.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
-
bitrate
public final Integer bitrate()
Target bitrate in bits/second. For example, enter five megabits per second as 5000000.- Returns:
- Target bitrate in bits/second. For example, enter five megabits per second as 5000000.
-
framerateControl
public final Vp9FramerateControl 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 the service returns an enum value that is not available in the current SDK version,
framerateControlwill returnVp9FramerateControl.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.
- See Also:
Vp9FramerateControl
-
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 the service returns an enum value that is not available in the current SDK version,
framerateControlwill returnVp9FramerateControl.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.
- See Also:
Vp9FramerateControl
-
framerateConversionAlgorithm
public final Vp9FramerateConversionAlgorithm framerateConversionAlgorithm()
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.If the service returns an enum value that is not available in the current SDK version,
framerateConversionAlgorithmwill returnVp9FramerateConversionAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframerateConversionAlgorithmAsString().- Returns:
- 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.
- See Also:
Vp9FramerateConversionAlgorithm
-
framerateConversionAlgorithmAsString
public final String framerateConversionAlgorithmAsString()
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.If the service returns an enum value that is not available in the current SDK version,
framerateConversionAlgorithmwill returnVp9FramerateConversionAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromframerateConversionAlgorithmAsString().- Returns:
- 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.
- See Also:
Vp9FramerateConversionAlgorithm
-
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.
-
gopSize
public final Double gopSize()
GOP Length (keyframe interval) in frames. Must be greater than zero.- Returns:
- GOP Length (keyframe interval) in frames. Must be greater than zero.
-
hrdBufferSize
public final Integer hrdBufferSize()
Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.- Returns:
- Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.
-
maxBitrate
public final Integer maxBitrate()
Ignore this setting unless you set qualityTuningLevel to MULTI_PASS. Optional. Specify the maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. The default behavior uses twice the target bitrate as the maximum bitrate.- Returns:
- Ignore this setting unless you set qualityTuningLevel to MULTI_PASS. Optional. Specify the maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. The default behavior uses twice the target bitrate as the maximum bitrate.
-
parControl
public final Vp9ParControl parControl()
Optional. Specify how the service determines the pixel aspect ratio for this output. The default behavior is to use the same pixel aspect ratio as your input video.If the service returns an enum value that is not available in the current SDK version,
parControlwill returnVp9ParControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparControlAsString().- Returns:
- Optional. Specify how the service determines the pixel aspect ratio for this output. The default behavior is to use the same pixel aspect ratio as your input video.
- See Also:
Vp9ParControl
-
parControlAsString
public final String parControlAsString()
Optional. Specify how the service determines the pixel aspect ratio for this output. The default behavior is to use the same pixel aspect ratio as your input video.If the service returns an enum value that is not available in the current SDK version,
parControlwill returnVp9ParControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparControlAsString().- Returns:
- Optional. Specify how the service determines the pixel aspect ratio for this output. The default behavior is to use the same pixel aspect ratio as your input video.
- See Also:
Vp9ParControl
-
parDenominator
public final Integer parDenominator()
Required when you set Pixel aspect ratio to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.- Returns:
- Required when you set Pixel aspect ratio to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.
-
parNumerator
public final Integer parNumerator()
Required when you set Pixel aspect ratio to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.- Returns:
- Required when you set Pixel aspect ratio to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.
-
qualityTuningLevel
public final Vp9QualityTuningLevel qualityTuningLevel()
Optional. Use Quality tuning level to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding.If the service returns an enum value that is not available in the current SDK version,
qualityTuningLevelwill returnVp9QualityTuningLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqualityTuningLevelAsString().- Returns:
- Optional. Use Quality tuning level to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding.
- See Also:
Vp9QualityTuningLevel
-
qualityTuningLevelAsString
public final String qualityTuningLevelAsString()
Optional. Use Quality tuning level to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding.If the service returns an enum value that is not available in the current SDK version,
qualityTuningLevelwill returnVp9QualityTuningLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqualityTuningLevelAsString().- Returns:
- Optional. Use Quality tuning level to choose how you want to trade off encoding speed for output video quality. The default behavior is faster, lower quality, multi-pass encoding.
- See Also:
Vp9QualityTuningLevel
-
rateControlMode
public final Vp9RateControlMode rateControlMode()
With the VP9 codec, you can use only the variable bitrate (VBR) rate control mode.If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnVp9RateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- With the VP9 codec, you can use only the variable bitrate (VBR) rate control mode.
- See Also:
Vp9RateControlMode
-
rateControlModeAsString
public final String rateControlModeAsString()
With the VP9 codec, you can use only the variable bitrate (VBR) rate control mode.If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnVp9RateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- With the VP9 codec, you can use only the variable bitrate (VBR) rate control mode.
- See Also:
Vp9RateControlMode
-
toBuilder
public Vp9Settings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Vp9Settings.Builder,Vp9Settings>
-
builder
public static Vp9Settings.Builder builder()
-
serializableBuilderClass
public static Class<? extends Vp9Settings.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.
-
-