public static interface Av1Settings.Builder extends SdkPojo, CopyableBuilder<Av1Settings.Builder,Av1Settings>
Modifier and Type | Method and Description |
---|---|
Av1Settings.Builder |
adaptiveQuantization(Av1AdaptiveQuantization adaptiveQuantization)
Adaptive quantization.
|
Av1Settings.Builder |
adaptiveQuantization(String adaptiveQuantization)
Adaptive quantization.
|
Av1Settings.Builder |
framerateControl(Av1FramerateControl framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
Av1Settings.Builder |
framerateControl(String framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
Av1Settings.Builder |
framerateConversionAlgorithm(Av1FramerateConversionAlgorithm framerateConversionAlgorithm)
Optional.
|
Av1Settings.Builder |
framerateConversionAlgorithm(String framerateConversionAlgorithm)
Optional.
|
Av1Settings.Builder |
framerateDenominator(Integer framerateDenominator)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
Av1Settings.Builder |
framerateNumerator(Integer framerateNumerator)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
Av1Settings.Builder |
gopSize(Double gopSize)
Specify the GOP length (keyframe interval) in frames.
|
Av1Settings.Builder |
maxBitrate(Integer maxBitrate)
Maximum bitrate in bits/second.
|
Av1Settings.Builder |
numberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
Specify the number of B-frames.
|
Av1Settings.Builder |
qvbrSettings(Av1QvbrSettings qvbrSettings)
Settings for quality-defined variable bitrate encoding with the AV1 codec.
|
default Av1Settings.Builder |
qvbrSettings(Consumer<Av1QvbrSettings.Builder> qvbrSettings)
Settings for quality-defined variable bitrate encoding with the AV1 codec.
|
Av1Settings.Builder |
rateControlMode(Av1RateControlMode rateControlMode)
'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR).
|
Av1Settings.Builder |
rateControlMode(String rateControlMode)
'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined variable bitrate (QVBR).
|
Av1Settings.Builder |
slices(Integer slices)
Specify the number of slices per picture.
|
Av1Settings.Builder |
spatialAdaptiveQuantization(Av1SpatialAdaptiveQuantization spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
Av1Settings.Builder |
spatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Av1Settings.Builder adaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.Av1AdaptiveQuantization
,
Av1AdaptiveQuantization
Av1Settings.Builder adaptiveQuantization(Av1AdaptiveQuantization adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.Av1AdaptiveQuantization
,
Av1AdaptiveQuantization
Av1Settings.Builder framerateControl(String framerateControl)
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.Av1FramerateControl
,
Av1FramerateControl
Av1Settings.Builder framerateControl(Av1FramerateControl framerateControl)
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.Av1FramerateControl
,
Av1FramerateControl
Av1Settings.Builder framerateConversionAlgorithm(String framerateConversionAlgorithm)
framerateConversionAlgorithm
- Optional. Specify how the transcoder performs framerate conversion. The default behavior is to use
duplicate drop conversion.Av1FramerateConversionAlgorithm
,
Av1FramerateConversionAlgorithm
Av1Settings.Builder framerateConversionAlgorithm(Av1FramerateConversionAlgorithm framerateConversionAlgorithm)
framerateConversionAlgorithm
- Optional. Specify how the transcoder performs framerate conversion. The default behavior is to use
duplicate drop conversion.Av1FramerateConversionAlgorithm
,
Av1FramerateConversionAlgorithm
Av1Settings.Builder framerateDenominator(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.Av1Settings.Builder framerateNumerator(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.Av1Settings.Builder gopSize(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.Av1Settings.Builder maxBitrate(Integer maxBitrate)
maxBitrate
- Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when
Rate control mode is QVBR.Av1Settings.Builder numberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
numberBFramesBetweenReferenceFrames
- Specify the number of B-frames. With AV1, MediaConvert supports only 7 or 15.Av1Settings.Builder qvbrSettings(Av1QvbrSettings qvbrSettings)
qvbrSettings
- Settings for quality-defined variable bitrate encoding with the AV1 codec. Required when you set Rate
control mode to QVBR. Not valid when you set Rate control mode to a value other than QVBR, or when you
don't define Rate control mode.default Av1Settings.Builder qvbrSettings(Consumer<Av1QvbrSettings.Builder> qvbrSettings)
Av1QvbrSettings.Builder
avoiding the need to create one manually via Av1QvbrSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to qvbrSettings(Av1QvbrSettings)
.qvbrSettings
- a consumer that will call methods on Av1QvbrSettings.Builder
qvbrSettings(Av1QvbrSettings)
Av1Settings.Builder rateControlMode(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
,
Av1RateControlMode
Av1Settings.Builder rateControlMode(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
,
Av1RateControlMode
Av1Settings.Builder slices(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.Av1Settings.Builder spatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.Av1SpatialAdaptiveQuantization
,
Av1SpatialAdaptiveQuantization
Av1Settings.Builder spatialAdaptiveQuantization(Av1SpatialAdaptiveQuantization spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.Av1SpatialAdaptiveQuantization
,
Av1SpatialAdaptiveQuantization
Copyright © 2020. All rights reserved.