@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Vp8Settings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Vp8Settings() |
Modifier and Type | Method and Description |
---|---|
Vp8Settings |
clone() |
boolean |
equals(Object obj) |
Integer |
getBitrate()
Target bitrate in bits/second.
|
String |
getFramerateControl()
If you are using the console, 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()
GOP Length (keyframe interval) in frames.
|
Integer |
getHrdBufferSize()
Optional.
|
Integer |
getMaxBitrate()
Ignore this setting unless you set qualityTuningLevel to MULTI_PASS.
|
String |
getParControl()
Optional.
|
Integer |
getParDenominator()
Required when you set Pixel aspect ratio to SPECIFIED.
|
Integer |
getParNumerator()
Required when you set Pixel aspect ratio to SPECIFIED.
|
String |
getQualityTuningLevel()
Optional.
|
String |
getRateControlMode()
With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBitrate(Integer bitrate)
Target bitrate in bits/second.
|
void |
setFramerateControl(String framerateControl)
If you are using the console, 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)
GOP Length (keyframe interval) in frames.
|
void |
setHrdBufferSize(Integer hrdBufferSize)
Optional.
|
void |
setMaxBitrate(Integer maxBitrate)
Ignore this setting unless you set qualityTuningLevel to MULTI_PASS.
|
void |
setParControl(String parControl)
Optional.
|
void |
setParDenominator(Integer parDenominator)
Required when you set Pixel aspect ratio to SPECIFIED.
|
void |
setParNumerator(Integer parNumerator)
Required when you set Pixel aspect ratio to SPECIFIED.
|
void |
setQualityTuningLevel(String qualityTuningLevel)
Optional.
|
void |
setRateControlMode(String rateControlMode)
With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode.
|
String |
toString()
Returns a string representation of this object.
|
Vp8Settings |
withBitrate(Integer bitrate)
Target bitrate in bits/second.
|
Vp8Settings |
withFramerateControl(String framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
Vp8Settings |
withFramerateControl(Vp8FramerateControl framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
Vp8Settings |
withFramerateConversionAlgorithm(String framerateConversionAlgorithm)
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.
|
Vp8Settings |
withFramerateConversionAlgorithm(Vp8FramerateConversionAlgorithm framerateConversionAlgorithm)
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.
|
Vp8Settings |
withFramerateDenominator(Integer framerateDenominator)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
Vp8Settings |
withFramerateNumerator(Integer framerateNumerator)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
Vp8Settings |
withGopSize(Double gopSize)
GOP Length (keyframe interval) in frames.
|
Vp8Settings |
withHrdBufferSize(Integer hrdBufferSize)
Optional.
|
Vp8Settings |
withMaxBitrate(Integer maxBitrate)
Ignore this setting unless you set qualityTuningLevel to MULTI_PASS.
|
Vp8Settings |
withParControl(String parControl)
Optional.
|
Vp8Settings |
withParControl(Vp8ParControl parControl)
Optional.
|
Vp8Settings |
withParDenominator(Integer parDenominator)
Required when you set Pixel aspect ratio to SPECIFIED.
|
Vp8Settings |
withParNumerator(Integer parNumerator)
Required when you set Pixel aspect ratio to SPECIFIED.
|
Vp8Settings |
withQualityTuningLevel(String qualityTuningLevel)
Optional.
|
Vp8Settings |
withQualityTuningLevel(Vp8QualityTuningLevel qualityTuningLevel)
Optional.
|
Vp8Settings |
withRateControlMode(String rateControlMode)
With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode.
|
Vp8Settings |
withRateControlMode(Vp8RateControlMode rateControlMode)
With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode.
|
public void setBitrate(Integer bitrate)
bitrate
- Target bitrate in bits/second. For example, enter five megabits per second as 5000000.public Integer getBitrate()
public Vp8Settings withBitrate(Integer bitrate)
bitrate
- Target bitrate in bits/second. For example, enter five megabits per second as 5000000.public void setFramerateControl(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.Vp8FramerateControl
public String getFramerateControl()
Vp8FramerateControl
public Vp8Settings withFramerateControl(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.Vp8FramerateControl
public Vp8Settings withFramerateControl(Vp8FramerateControl 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.Vp8FramerateControl
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.Vp8FramerateConversionAlgorithm
public String getFramerateConversionAlgorithm()
Vp8FramerateConversionAlgorithm
public Vp8Settings 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.Vp8FramerateConversionAlgorithm
public Vp8Settings withFramerateConversionAlgorithm(Vp8FramerateConversionAlgorithm 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.Vp8FramerateConversionAlgorithm
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 Vp8Settings 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 Vp8Settings 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
- GOP Length (keyframe interval) in frames. Must be greater than zero.public Double getGopSize()
public Vp8Settings withGopSize(Double gopSize)
gopSize
- GOP Length (keyframe interval) in frames. Must be greater than zero.public void setHrdBufferSize(Integer hrdBufferSize)
hrdBufferSize
- Optional. Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.public Integer getHrdBufferSize()
public Vp8Settings withHrdBufferSize(Integer hrdBufferSize)
hrdBufferSize
- Optional. Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.public void setMaxBitrate(Integer maxBitrate)
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.public Integer getMaxBitrate()
public Vp8Settings withMaxBitrate(Integer maxBitrate)
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.public void setParControl(String parControl)
parControl
- Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default
behavior, Follow source, uses the PAR from your input video for your output. To specify a different PAR in
the console, choose any value other than Follow source. When you choose SPECIFIED for this setting, you
must also specify values for the parNumerator and parDenominator settings.Vp8ParControl
public String getParControl()
Vp8ParControl
public Vp8Settings withParControl(String parControl)
parControl
- Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default
behavior, Follow source, uses the PAR from your input video for your output. To specify a different PAR in
the console, choose any value other than Follow source. When you choose SPECIFIED for this setting, you
must also specify values for the parNumerator and parDenominator settings.Vp8ParControl
public Vp8Settings withParControl(Vp8ParControl parControl)
parControl
- Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default
behavior, Follow source, uses the PAR from your input video for your output. To specify a different PAR in
the console, choose any value other than Follow source. When you choose SPECIFIED for this setting, you
must also specify values for the parNumerator and parDenominator settings.Vp8ParControl
public void setParDenominator(Integer parDenominator)
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.public Integer getParDenominator()
public Vp8Settings withParDenominator(Integer parDenominator)
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.public void setParNumerator(Integer parNumerator)
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.public Integer getParNumerator()
public Vp8Settings withParNumerator(Integer parNumerator)
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.public void setQualityTuningLevel(String qualityTuningLevel)
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.Vp8QualityTuningLevel
public String getQualityTuningLevel()
Vp8QualityTuningLevel
public Vp8Settings withQualityTuningLevel(String qualityTuningLevel)
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.Vp8QualityTuningLevel
public Vp8Settings withQualityTuningLevel(Vp8QualityTuningLevel qualityTuningLevel)
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.Vp8QualityTuningLevel
public void setRateControlMode(String rateControlMode)
rateControlMode
- With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode.Vp8RateControlMode
public String getRateControlMode()
Vp8RateControlMode
public Vp8Settings withRateControlMode(String rateControlMode)
rateControlMode
- With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode.Vp8RateControlMode
public Vp8Settings withRateControlMode(Vp8RateControlMode rateControlMode)
rateControlMode
- With the VP8 codec, you can use only the variable bitrate (VBR) rate control mode.Vp8RateControlMode
public String toString()
toString
in class Object
Object.toString()
public Vp8Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.