@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Av1Settings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Av1Settings() |
Modifier and Type | Method and Description |
---|---|
Av1Settings |
clone() |
boolean |
equals(Object obj) |
String |
getAdaptiveQuantization()
Specify the strength of any adaptive quantization filters that you enable.
|
String |
getBitDepth()
Specify the Bit depth.
|
String |
getFilmGrainSynthesis()
Film grain synthesis replaces film grain present in your content with similar quality synthesized AV1 film grain.
|
String |
getFramerateControl()
Use the Framerate setting to specify the frame rate for this output.
|
String |
getFramerateConversionAlgorithm()
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.
|
Integer |
getFramerateDenominator()
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
Integer |
getFramerateNumerator()
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
Double |
getGopSize()
Specify the GOP length (keyframe interval) in frames.
|
Integer |
getMaxBitrate()
Maximum bitrate in bits/second.
|
Integer |
getNumberBFramesBetweenReferenceFrames()
Specify from the number of B-frames, in the range of 0-15.
|
Av1QvbrSettings |
getQvbrSettings()
Settings for quality-defined variable bitrate encoding with the H.265 codec.
|
String |
getRateControlMode()
'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR).
|
Integer |
getSlices()
Specify the number of slices per picture.
|
String |
getSpatialAdaptiveQuantization()
Keep the default value, Enabled, to adjust quantization within each frame based on spatial variation of content
complexity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdaptiveQuantization(String adaptiveQuantization)
Specify the strength of any adaptive quantization filters that you enable.
|
void |
setBitDepth(String bitDepth)
Specify the Bit depth.
|
void |
setFilmGrainSynthesis(String filmGrainSynthesis)
Film grain synthesis replaces film grain present in your content with similar quality synthesized AV1 film grain.
|
void |
setFramerateControl(String framerateControl)
Use the Framerate setting to specify the frame rate for this output.
|
void |
setFramerateConversionAlgorithm(String framerateConversionAlgorithm)
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.
|
void |
setFramerateDenominator(Integer framerateDenominator)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
void |
setFramerateNumerator(Integer framerateNumerator)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
void |
setGopSize(Double gopSize)
Specify the GOP length (keyframe interval) in frames.
|
void |
setMaxBitrate(Integer maxBitrate)
Maximum bitrate in bits/second.
|
void |
setNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
Specify from the number of B-frames, in the range of 0-15.
|
void |
setQvbrSettings(Av1QvbrSettings qvbrSettings)
Settings for quality-defined variable bitrate encoding with the H.265 codec.
|
void |
setRateControlMode(String rateControlMode)
'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR).
|
void |
setSlices(Integer slices)
Specify the number of slices per picture.
|
void |
setSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Keep the default value, Enabled, to adjust quantization within each frame based on spatial variation of content
complexity.
|
String |
toString()
Returns a string representation of this object.
|
Av1Settings |
withAdaptiveQuantization(Av1AdaptiveQuantization adaptiveQuantization)
Specify the strength of any adaptive quantization filters that you enable.
|
Av1Settings |
withAdaptiveQuantization(String adaptiveQuantization)
Specify the strength of any adaptive quantization filters that you enable.
|
Av1Settings |
withBitDepth(Av1BitDepth bitDepth)
Specify the Bit depth.
|
Av1Settings |
withBitDepth(String bitDepth)
Specify the Bit depth.
|
Av1Settings |
withFilmGrainSynthesis(Av1FilmGrainSynthesis filmGrainSynthesis)
Film grain synthesis replaces film grain present in your content with similar quality synthesized AV1 film grain.
|
Av1Settings |
withFilmGrainSynthesis(String filmGrainSynthesis)
Film grain synthesis replaces film grain present in your content with similar quality synthesized AV1 film grain.
|
Av1Settings |
withFramerateControl(Av1FramerateControl framerateControl)
Use the Framerate setting to specify the frame rate for this output.
|
Av1Settings |
withFramerateControl(String framerateControl)
Use the Framerate setting to specify the frame rate for this output.
|
Av1Settings |
withFramerateConversionAlgorithm(Av1FramerateConversionAlgorithm framerateConversionAlgorithm)
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.
|
Av1Settings |
withFramerateConversionAlgorithm(String framerateConversionAlgorithm)
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.
|
Av1Settings |
withFramerateDenominator(Integer framerateDenominator)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
Av1Settings |
withFramerateNumerator(Integer framerateNumerator)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
Av1Settings |
withGopSize(Double gopSize)
Specify the GOP length (keyframe interval) in frames.
|
Av1Settings |
withMaxBitrate(Integer maxBitrate)
Maximum bitrate in bits/second.
|
Av1Settings |
withNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
Specify from the number of B-frames, in the range of 0-15.
|
Av1Settings |
withQvbrSettings(Av1QvbrSettings qvbrSettings)
Settings for quality-defined variable bitrate encoding with the H.265 codec.
|
Av1Settings |
withRateControlMode(Av1RateControlMode rateControlMode)
'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR).
|
Av1Settings |
withRateControlMode(String rateControlMode)
'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR).
|
Av1Settings |
withSlices(Integer slices)
Specify the number of slices per picture.
|
Av1Settings |
withSpatialAdaptiveQuantization(Av1SpatialAdaptiveQuantization spatialAdaptiveQuantization)
Keep the default value, Enabled, to adjust quantization within each frame based on spatial variation of content
complexity.
|
Av1Settings |
withSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Keep the default value, Enabled, to adjust quantization within each frame based on spatial variation of content
complexity.
|
public void setAdaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization
- Specify the strength of any adaptive quantization filters that you enable. The value that you choose here
applies to Spatial adaptive quantization.Av1AdaptiveQuantization
public String getAdaptiveQuantization()
Av1AdaptiveQuantization
public Av1Settings withAdaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization
- Specify the strength of any adaptive quantization filters that you enable. The value that you choose here
applies to Spatial adaptive quantization.Av1AdaptiveQuantization
public Av1Settings withAdaptiveQuantization(Av1AdaptiveQuantization adaptiveQuantization)
adaptiveQuantization
- Specify the strength of any adaptive quantization filters that you enable. The value that you choose here
applies to Spatial adaptive quantization.Av1AdaptiveQuantization
public void setBitDepth(String bitDepth)
bitDepth
- Specify the Bit depth. You can choose 8-bit or 10-bit.Av1BitDepth
public String getBitDepth()
Av1BitDepth
public Av1Settings withBitDepth(String bitDepth)
bitDepth
- Specify the Bit depth. You can choose 8-bit or 10-bit.Av1BitDepth
public Av1Settings withBitDepth(Av1BitDepth bitDepth)
bitDepth
- Specify the Bit depth. You can choose 8-bit or 10-bit.Av1BitDepth
public void setFilmGrainSynthesis(String filmGrainSynthesis)
filmGrainSynthesis
- Film grain synthesis replaces film grain present in your content with similar quality synthesized AV1 film
grain. We recommend that you choose Enabled to reduce the bandwidth of your QVBR quality level 5, 6, 7, or
8 outputs. For QVBR quality level 9 or 10 outputs we recommend that you keep the default value, Disabled.
When you include Film grain synthesis, you cannot include the Noise reducer preprocessor.Av1FilmGrainSynthesis
public String getFilmGrainSynthesis()
Av1FilmGrainSynthesis
public Av1Settings withFilmGrainSynthesis(String filmGrainSynthesis)
filmGrainSynthesis
- Film grain synthesis replaces film grain present in your content with similar quality synthesized AV1 film
grain. We recommend that you choose Enabled to reduce the bandwidth of your QVBR quality level 5, 6, 7, or
8 outputs. For QVBR quality level 9 or 10 outputs we recommend that you keep the default value, Disabled.
When you include Film grain synthesis, you cannot include the Noise reducer preprocessor.Av1FilmGrainSynthesis
public Av1Settings withFilmGrainSynthesis(Av1FilmGrainSynthesis filmGrainSynthesis)
filmGrainSynthesis
- Film grain synthesis replaces film grain present in your content with similar quality synthesized AV1 film
grain. We recommend that you choose Enabled to reduce the bandwidth of your QVBR quality level 5, 6, 7, or
8 outputs. For QVBR quality level 9 or 10 outputs we recommend that you keep the default value, Disabled.
When you include Film grain synthesis, you cannot include the Noise reducer preprocessor.Av1FilmGrainSynthesis
public void setFramerateControl(String framerateControl)
framerateControl
- 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.Av1FramerateControl
public String getFramerateControl()
Av1FramerateControl
public Av1Settings withFramerateControl(String framerateControl)
framerateControl
- 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.Av1FramerateControl
public Av1Settings withFramerateControl(Av1FramerateControl framerateControl)
framerateControl
- 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.Av1FramerateControl
public void setFramerateConversionAlgorithm(String framerateConversionAlgorithm)
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.Av1FramerateConversionAlgorithm
public String getFramerateConversionAlgorithm()
Av1FramerateConversionAlgorithm
public Av1Settings withFramerateConversionAlgorithm(String framerateConversionAlgorithm)
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.Av1FramerateConversionAlgorithm
public Av1Settings withFramerateConversionAlgorithm(Av1FramerateConversionAlgorithm framerateConversionAlgorithm)
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.Av1FramerateConversionAlgorithm
public void setFramerateDenominator(Integer framerateDenominator)
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.public Integer getFramerateDenominator()
public Av1Settings withFramerateDenominator(Integer framerateDenominator)
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.public void setFramerateNumerator(Integer framerateNumerator)
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.public Integer getFramerateNumerator()
public Av1Settings withFramerateNumerator(Integer framerateNumerator)
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.public void setGopSize(Double gopSize)
gopSize
- Specify the GOP length (keyframe interval) in frames. With AV1, MediaConvert doesn't support GOP length in
seconds. This value must be greater than zero and preferably equal to 1 + ((numberBFrames + 1) * x), where
x is an integer value.public Double getGopSize()
public Av1Settings withGopSize(Double gopSize)
gopSize
- Specify the GOP length (keyframe interval) in frames. With AV1, MediaConvert doesn't support GOP length in
seconds. This value must be greater than zero and preferably equal to 1 + ((numberBFrames + 1) * x), where
x is an integer value.public void setMaxBitrate(Integer maxBitrate)
maxBitrate
- Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate
control mode is QVBR.public Integer getMaxBitrate()
public Av1Settings withMaxBitrate(Integer maxBitrate)
maxBitrate
- Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate
control mode is QVBR.public void setNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
numberBFramesBetweenReferenceFrames
- Specify from the number of B-frames, in the range of 0-15. For AV1 encoding, we recommend using 7 or 15.
Choose a larger number for a lower bitrate and smaller file size; choose a smaller number for better video
quality.public Integer getNumberBFramesBetweenReferenceFrames()
public Av1Settings withNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
numberBFramesBetweenReferenceFrames
- Specify from the number of B-frames, in the range of 0-15. For AV1 encoding, we recommend using 7 or 15.
Choose a larger number for a lower bitrate and smaller file size; choose a smaller number for better video
quality.public void setQvbrSettings(Av1QvbrSettings qvbrSettings)
qvbrSettings
- Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when
you set QVBR for Rate control mode.public Av1QvbrSettings getQvbrSettings()
public Av1Settings withQvbrSettings(Av1QvbrSettings qvbrSettings)
qvbrSettings
- Settings for quality-defined variable bitrate encoding with the H.265 codec. Use these settings only when
you set QVBR for Rate control mode.public void setRateControlMode(String rateControlMode)
rateControlMode
- 'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate
(QVBR). You can''t use CBR or VBR.'Av1RateControlMode
public String getRateControlMode()
Av1RateControlMode
public Av1Settings withRateControlMode(String rateControlMode)
rateControlMode
- 'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate
(QVBR). You can''t use CBR or VBR.'Av1RateControlMode
public Av1Settings withRateControlMode(Av1RateControlMode rateControlMode)
rateControlMode
- 'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate
(QVBR). You can''t use CBR or VBR.'Av1RateControlMode
public void setSlices(Integer slices)
slices
- Specify the number of slices per picture. This value must be 1, 2, 4, 8, 16, or 32. For progressive
pictures, this value must be less than or equal to the number of macroblock rows. For interlaced pictures,
this value must be less than or equal to half the number of macroblock rows.public Integer getSlices()
public Av1Settings withSlices(Integer slices)
slices
- Specify the number of slices per picture. This value must be 1, 2, 4, 8, 16, or 32. For progressive
pictures, this value must be less than or equal to the number of macroblock rows. For interlaced pictures,
this value must be less than or equal to half the number of macroblock rows.public void setSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Keep the default value, Enabled, to adjust quantization within each frame based on spatial variation of
content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain
more distortion with no noticeable visual degradation and uses more bits on areas where any small
distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth
textured blocks are encoded with more bits. Enabling this feature will almost always improve your video
quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely
to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex
texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive
quantization, set the value for Adaptive quantization depending on your content. For homogeneous content,
such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to
High or Higher.Av1SpatialAdaptiveQuantization
public String getSpatialAdaptiveQuantization()
Av1SpatialAdaptiveQuantization
public Av1Settings withSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Keep the default value, Enabled, to adjust quantization within each frame based on spatial variation of
content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain
more distortion with no noticeable visual degradation and uses more bits on areas where any small
distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth
textured blocks are encoded with more bits. Enabling this feature will almost always improve your video
quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely
to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex
texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive
quantization, set the value for Adaptive quantization depending on your content. For homogeneous content,
such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to
High or Higher.Av1SpatialAdaptiveQuantization
public Av1Settings withSpatialAdaptiveQuantization(Av1SpatialAdaptiveQuantization spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Keep the default value, Enabled, to adjust quantization within each frame based on spatial variation of
content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain
more distortion with no noticeable visual degradation and uses more bits on areas where any small
distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth
textured blocks are encoded with more bits. Enabling this feature will almost always improve your video
quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely
to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex
texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive
quantization, set the value for Adaptive quantization depending on your content. For homogeneous content,
such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to
High or Higher.Av1SpatialAdaptiveQuantization
public String toString()
toString
in class Object
Object.toString()
public Av1Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.