@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class H264Settings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
H264Settings() |
Modifier and Type | Method and Description |
---|---|
H264Settings |
clone() |
boolean |
equals(Object obj) |
String |
getAdaptiveQuantization()
Adaptive quantization.
|
Integer |
getBitrate()
Specify the average bitrate in bits per second.
|
String |
getCodecLevel()
Specify an H.264 level that is consistent with your output video settings.
|
String |
getCodecProfile()
H.264 Profile.
|
String |
getDynamicSubGop()
Choose Adaptive to improve subjective video quality for high-motion content.
|
String |
getEntropyEncoding()
Entropy encoding mode.
|
String |
getFieldEncoding()
Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs.
|
String |
getFlickerAdaptiveQuantization()
Adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
|
String |
getFramerateControl()
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
String |
getFramerateConversionAlgorithm()
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
Integer |
getFramerateDenominator()
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
Integer |
getFramerateNumerator()
Frame rate numerator - frame rate is a fraction, e.g.
|
String |
getGopBReference()
If enable, use reference B frames for GOP structures that have B frames > 1.
|
Integer |
getGopClosedCadence()
Frequency of closed GOPs.
|
Double |
getGopSize()
GOP Length (keyframe interval) in frames or seconds.
|
String |
getGopSizeUnits()
Indicates if the GOP Size in H264 is specified in frames or seconds.
|
Integer |
getHrdBufferInitialFillPercentage()
Percentage of the buffer that should initially be filled (HRD buffer model).
|
Integer |
getHrdBufferSize()
Size of buffer (HRD buffer model) in bits.
|
String |
getInterlaceMode()
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
Integer |
getMaxBitrate()
Maximum bitrate in bits/second.
|
Integer |
getMinIInterval()
Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
|
Integer |
getNumberBFramesBetweenReferenceFrames()
Number of B-frames between reference frames.
|
Integer |
getNumberReferenceFrames()
Number of reference frames to use.
|
String |
getParControl()
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
Integer |
getParDenominator()
Pixel Aspect Ratio denominator.
|
Integer |
getParNumerator()
Pixel Aspect Ratio numerator.
|
String |
getQualityTuningLevel()
Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to use fast single-pass, high-quality
singlepass, or high-quality multipass video encoding.
|
H264QvbrSettings |
getQvbrSettings()
Settings for quality-defined variable bitrate encoding with the H.264 codec.
|
String |
getRateControlMode()
Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or
quality-defined variable bitrate (QVBR).
|
String |
getRepeatPps()
Places a PPS header on each encoded picture, even if repeated.
|
String |
getSceneChangeDetect()
Enable this setting to insert I-frames at scene changes that the service automatically detects.
|
Integer |
getSlices()
Number of slices per picture.
|
String |
getSlowPal()
Enables Slow PAL rate conversion.
|
Integer |
getSoftness()
Softness.
|
String |
getSpatialAdaptiveQuantization()
Adjust quantization within each frame based on spatial variation of content complexity.
|
String |
getSyntax()
Produces a bitstream compliant with SMPTE RP-2027.
|
String |
getTelecine()
This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970.
|
String |
getTemporalAdaptiveQuantization()
Adjust quantization within each frame based on temporal variation of content complexity.
|
String |
getUnregisteredSeiTimecode()
Inserts timecode for each frame as 4 bytes of an unregistered SEI message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdaptiveQuantization(String adaptiveQuantization)
Adaptive quantization.
|
void |
setBitrate(Integer bitrate)
Specify the average bitrate in bits per second.
|
void |
setCodecLevel(String codecLevel)
Specify an H.264 level that is consistent with your output video settings.
|
void |
setCodecProfile(String codecProfile)
H.264 Profile.
|
void |
setDynamicSubGop(String dynamicSubGop)
Choose Adaptive to improve subjective video quality for high-motion content.
|
void |
setEntropyEncoding(String entropyEncoding)
Entropy encoding mode.
|
void |
setFieldEncoding(String fieldEncoding)
Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs.
|
void |
setFlickerAdaptiveQuantization(String flickerAdaptiveQuantization)
Adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
|
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)
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
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)
Frame rate numerator - frame rate is a fraction, e.g.
|
void |
setGopBReference(String gopBReference)
If enable, use reference B frames for GOP structures that have B frames > 1.
|
void |
setGopClosedCadence(Integer gopClosedCadence)
Frequency of closed GOPs.
|
void |
setGopSize(Double gopSize)
GOP Length (keyframe interval) in frames or seconds.
|
void |
setGopSizeUnits(String gopSizeUnits)
Indicates if the GOP Size in H264 is specified in frames or seconds.
|
void |
setHrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
Percentage of the buffer that should initially be filled (HRD buffer model).
|
void |
setHrdBufferSize(Integer hrdBufferSize)
Size of buffer (HRD buffer model) in bits.
|
void |
setInterlaceMode(String interlaceMode)
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
void |
setMaxBitrate(Integer maxBitrate)
Maximum bitrate in bits/second.
|
void |
setMinIInterval(Integer minIInterval)
Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
|
void |
setNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
Number of B-frames between reference frames.
|
void |
setNumberReferenceFrames(Integer numberReferenceFrames)
Number of reference frames to use.
|
void |
setParControl(String parControl)
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
void |
setParDenominator(Integer parDenominator)
Pixel Aspect Ratio denominator.
|
void |
setParNumerator(Integer parNumerator)
Pixel Aspect Ratio numerator.
|
void |
setQualityTuningLevel(String qualityTuningLevel)
Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to use fast single-pass, high-quality
singlepass, or high-quality multipass video encoding.
|
void |
setQvbrSettings(H264QvbrSettings qvbrSettings)
Settings for quality-defined variable bitrate encoding with the H.264 codec.
|
void |
setRateControlMode(String rateControlMode)
Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or
quality-defined variable bitrate (QVBR).
|
void |
setRepeatPps(String repeatPps)
Places a PPS header on each encoded picture, even if repeated.
|
void |
setSceneChangeDetect(String sceneChangeDetect)
Enable this setting to insert I-frames at scene changes that the service automatically detects.
|
void |
setSlices(Integer slices)
Number of slices per picture.
|
void |
setSlowPal(String slowPal)
Enables Slow PAL rate conversion.
|
void |
setSoftness(Integer softness)
Softness.
|
void |
setSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
void |
setSyntax(String syntax)
Produces a bitstream compliant with SMPTE RP-2027.
|
void |
setTelecine(String telecine)
This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970.
|
void |
setTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
Adjust quantization within each frame based on temporal variation of content complexity.
|
void |
setUnregisteredSeiTimecode(String unregisteredSeiTimecode)
Inserts timecode for each frame as 4 bytes of an unregistered SEI message.
|
String |
toString()
Returns a string representation of this object.
|
H264Settings |
withAdaptiveQuantization(H264AdaptiveQuantization adaptiveQuantization)
Adaptive quantization.
|
H264Settings |
withAdaptiveQuantization(String adaptiveQuantization)
Adaptive quantization.
|
H264Settings |
withBitrate(Integer bitrate)
Specify the average bitrate in bits per second.
|
H264Settings |
withCodecLevel(H264CodecLevel codecLevel)
Specify an H.264 level that is consistent with your output video settings.
|
H264Settings |
withCodecLevel(String codecLevel)
Specify an H.264 level that is consistent with your output video settings.
|
H264Settings |
withCodecProfile(H264CodecProfile codecProfile)
H.264 Profile.
|
H264Settings |
withCodecProfile(String codecProfile)
H.264 Profile.
|
H264Settings |
withDynamicSubGop(H264DynamicSubGop dynamicSubGop)
Choose Adaptive to improve subjective video quality for high-motion content.
|
H264Settings |
withDynamicSubGop(String dynamicSubGop)
Choose Adaptive to improve subjective video quality for high-motion content.
|
H264Settings |
withEntropyEncoding(H264EntropyEncoding entropyEncoding)
Entropy encoding mode.
|
H264Settings |
withEntropyEncoding(String entropyEncoding)
Entropy encoding mode.
|
H264Settings |
withFieldEncoding(H264FieldEncoding fieldEncoding)
Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs.
|
H264Settings |
withFieldEncoding(String fieldEncoding)
Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs.
|
H264Settings |
withFlickerAdaptiveQuantization(H264FlickerAdaptiveQuantization flickerAdaptiveQuantization)
Adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
|
H264Settings |
withFlickerAdaptiveQuantization(String flickerAdaptiveQuantization)
Adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
|
H264Settings |
withFramerateControl(H264FramerateControl framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
H264Settings |
withFramerateControl(String framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
H264Settings |
withFramerateConversionAlgorithm(H264FramerateConversionAlgorithm framerateConversionAlgorithm)
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
H264Settings |
withFramerateConversionAlgorithm(String framerateConversionAlgorithm)
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
H264Settings |
withFramerateDenominator(Integer framerateDenominator)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
H264Settings |
withFramerateNumerator(Integer framerateNumerator)
Frame rate numerator - frame rate is a fraction, e.g.
|
H264Settings |
withGopBReference(H264GopBReference gopBReference)
If enable, use reference B frames for GOP structures that have B frames > 1.
|
H264Settings |
withGopBReference(String gopBReference)
If enable, use reference B frames for GOP structures that have B frames > 1.
|
H264Settings |
withGopClosedCadence(Integer gopClosedCadence)
Frequency of closed GOPs.
|
H264Settings |
withGopSize(Double gopSize)
GOP Length (keyframe interval) in frames or seconds.
|
H264Settings |
withGopSizeUnits(H264GopSizeUnits gopSizeUnits)
Indicates if the GOP Size in H264 is specified in frames or seconds.
|
H264Settings |
withGopSizeUnits(String gopSizeUnits)
Indicates if the GOP Size in H264 is specified in frames or seconds.
|
H264Settings |
withHrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
Percentage of the buffer that should initially be filled (HRD buffer model).
|
H264Settings |
withHrdBufferSize(Integer hrdBufferSize)
Size of buffer (HRD buffer model) in bits.
|
H264Settings |
withInterlaceMode(H264InterlaceMode interlaceMode)
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
H264Settings |
withInterlaceMode(String interlaceMode)
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
H264Settings |
withMaxBitrate(Integer maxBitrate)
Maximum bitrate in bits/second.
|
H264Settings |
withMinIInterval(Integer minIInterval)
Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
|
H264Settings |
withNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
Number of B-frames between reference frames.
|
H264Settings |
withNumberReferenceFrames(Integer numberReferenceFrames)
Number of reference frames to use.
|
H264Settings |
withParControl(H264ParControl parControl)
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
H264Settings |
withParControl(String parControl)
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
H264Settings |
withParDenominator(Integer parDenominator)
Pixel Aspect Ratio denominator.
|
H264Settings |
withParNumerator(Integer parNumerator)
Pixel Aspect Ratio numerator.
|
H264Settings |
withQualityTuningLevel(H264QualityTuningLevel qualityTuningLevel)
Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to use fast single-pass, high-quality
singlepass, or high-quality multipass video encoding.
|
H264Settings |
withQualityTuningLevel(String qualityTuningLevel)
Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to use fast single-pass, high-quality
singlepass, or high-quality multipass video encoding.
|
H264Settings |
withQvbrSettings(H264QvbrSettings qvbrSettings)
Settings for quality-defined variable bitrate encoding with the H.264 codec.
|
H264Settings |
withRateControlMode(H264RateControlMode rateControlMode)
Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or
quality-defined variable bitrate (QVBR).
|
H264Settings |
withRateControlMode(String rateControlMode)
Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or
quality-defined variable bitrate (QVBR).
|
H264Settings |
withRepeatPps(H264RepeatPps repeatPps)
Places a PPS header on each encoded picture, even if repeated.
|
H264Settings |
withRepeatPps(String repeatPps)
Places a PPS header on each encoded picture, even if repeated.
|
H264Settings |
withSceneChangeDetect(H264SceneChangeDetect sceneChangeDetect)
Enable this setting to insert I-frames at scene changes that the service automatically detects.
|
H264Settings |
withSceneChangeDetect(String sceneChangeDetect)
Enable this setting to insert I-frames at scene changes that the service automatically detects.
|
H264Settings |
withSlices(Integer slices)
Number of slices per picture.
|
H264Settings |
withSlowPal(H264SlowPal slowPal)
Enables Slow PAL rate conversion.
|
H264Settings |
withSlowPal(String slowPal)
Enables Slow PAL rate conversion.
|
H264Settings |
withSoftness(Integer softness)
Softness.
|
H264Settings |
withSpatialAdaptiveQuantization(H264SpatialAdaptiveQuantization spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
H264Settings |
withSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
H264Settings |
withSyntax(H264Syntax syntax)
Produces a bitstream compliant with SMPTE RP-2027.
|
H264Settings |
withSyntax(String syntax)
Produces a bitstream compliant with SMPTE RP-2027.
|
H264Settings |
withTelecine(H264Telecine telecine)
This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970.
|
H264Settings |
withTelecine(String telecine)
This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970.
|
H264Settings |
withTemporalAdaptiveQuantization(H264TemporalAdaptiveQuantization temporalAdaptiveQuantization)
Adjust quantization within each frame based on temporal variation of content complexity.
|
H264Settings |
withTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
Adjust quantization within each frame based on temporal variation of content complexity.
|
H264Settings |
withUnregisteredSeiTimecode(H264UnregisteredSeiTimecode unregisteredSeiTimecode)
Inserts timecode for each frame as 4 bytes of an unregistered SEI message.
|
H264Settings |
withUnregisteredSeiTimecode(String unregisteredSeiTimecode)
Inserts timecode for each frame as 4 bytes of an unregistered SEI message.
|
public void setAdaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.H264AdaptiveQuantization
public String getAdaptiveQuantization()
H264AdaptiveQuantization
public H264Settings withAdaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.H264AdaptiveQuantization
public H264Settings withAdaptiveQuantization(H264AdaptiveQuantization adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.H264AdaptiveQuantization
public void setBitrate(Integer bitrate)
bitrate
- Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates
must be unique when rounded down to the nearest multiple of 1000.public Integer getBitrate()
public H264Settings withBitrate(Integer bitrate)
bitrate
- Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates
must be unique when rounded down to the nearest multiple of 1000.public void setCodecLevel(String codecLevel)
codecLevel
- Specify an H.264 level that is consistent with your output video settings. If you aren't sure what level
to specify, choose Auto (AUTO).H264CodecLevel
public String getCodecLevel()
H264CodecLevel
public H264Settings withCodecLevel(String codecLevel)
codecLevel
- Specify an H.264 level that is consistent with your output video settings. If you aren't sure what level
to specify, choose Auto (AUTO).H264CodecLevel
public H264Settings withCodecLevel(H264CodecLevel codecLevel)
codecLevel
- Specify an H.264 level that is consistent with your output video settings. If you aren't sure what level
to specify, choose Auto (AUTO).H264CodecLevel
public void setCodecProfile(String codecProfile)
codecProfile
- H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.H264CodecProfile
public String getCodecProfile()
H264CodecProfile
public H264Settings withCodecProfile(String codecProfile)
codecProfile
- H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.H264CodecProfile
public H264Settings withCodecProfile(H264CodecProfile codecProfile)
codecProfile
- H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.H264CodecProfile
public void setDynamicSubGop(String dynamicSubGop)
dynamicSubGop
- Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service
to use fewer B-frames (which infer information based on other frames) for high-motion portions of the
video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value
you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).H264DynamicSubGop
public String getDynamicSubGop()
H264DynamicSubGop
public H264Settings withDynamicSubGop(String dynamicSubGop)
dynamicSubGop
- Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service
to use fewer B-frames (which infer information based on other frames) for high-motion portions of the
video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value
you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).H264DynamicSubGop
public H264Settings withDynamicSubGop(H264DynamicSubGop dynamicSubGop)
dynamicSubGop
- Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service
to use fewer B-frames (which infer information based on other frames) for high-motion portions of the
video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value
you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).H264DynamicSubGop
public void setEntropyEncoding(String entropyEncoding)
entropyEncoding
- Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC.H264EntropyEncoding
public String getEntropyEncoding()
H264EntropyEncoding
public H264Settings withEntropyEncoding(String entropyEncoding)
entropyEncoding
- Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC.H264EntropyEncoding
public H264Settings withEntropyEncoding(H264EntropyEncoding entropyEncoding)
entropyEncoding
- Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC.H264EntropyEncoding
public void setFieldEncoding(String fieldEncoding)
fieldEncoding
- Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs.H264FieldEncoding
public String getFieldEncoding()
H264FieldEncoding
public H264Settings withFieldEncoding(String fieldEncoding)
fieldEncoding
- Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs.H264FieldEncoding
public H264Settings withFieldEncoding(H264FieldEncoding fieldEncoding)
fieldEncoding
- Choosing FORCE_FIELD disables PAFF encoding for interlaced outputs.H264FieldEncoding
public void setFlickerAdaptiveQuantization(String flickerAdaptiveQuantization)
flickerAdaptiveQuantization
- Adjust quantization within each frame to reduce flicker or 'pop' on I-frames.H264FlickerAdaptiveQuantization
public String getFlickerAdaptiveQuantization()
H264FlickerAdaptiveQuantization
public H264Settings withFlickerAdaptiveQuantization(String flickerAdaptiveQuantization)
flickerAdaptiveQuantization
- Adjust quantization within each frame to reduce flicker or 'pop' on I-frames.H264FlickerAdaptiveQuantization
public H264Settings withFlickerAdaptiveQuantization(H264FlickerAdaptiveQuantization flickerAdaptiveQuantization)
flickerAdaptiveQuantization
- Adjust quantization within each frame to reduce flicker or 'pop' on I-frames.H264FlickerAdaptiveQuantization
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. 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.H264FramerateControl
public String getFramerateControl()
H264FramerateControl
public H264Settings 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. 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.H264FramerateControl
public H264Settings withFramerateControl(H264FramerateControl 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.H264FramerateControl
public void setFramerateConversionAlgorithm(String framerateConversionAlgorithm)
framerateConversionAlgorithm
- When set to INTERPOLATE, produces smoother motion during frame rate conversion.H264FramerateConversionAlgorithm
public String getFramerateConversionAlgorithm()
H264FramerateConversionAlgorithm
public H264Settings withFramerateConversionAlgorithm(String framerateConversionAlgorithm)
framerateConversionAlgorithm
- When set to INTERPOLATE, produces smoother motion during frame rate conversion.H264FramerateConversionAlgorithm
public H264Settings withFramerateConversionAlgorithm(H264FramerateConversionAlgorithm framerateConversionAlgorithm)
framerateConversionAlgorithm
- When set to INTERPOLATE, produces smoother motion during frame rate conversion.H264FramerateConversionAlgorithm
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 H264Settings 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
- Frame rate numerator - frame rate is a fraction, e.g. 24000 / 1001 = 23.976 fps.public Integer getFramerateNumerator()
public H264Settings withFramerateNumerator(Integer framerateNumerator)
framerateNumerator
- Frame rate numerator - frame rate is a fraction, e.g. 24000 / 1001 = 23.976 fps.public void setGopBReference(String gopBReference)
gopBReference
- If enable, use reference B frames for GOP structures that have B frames > 1.H264GopBReference
public String getGopBReference()
H264GopBReference
public H264Settings withGopBReference(String gopBReference)
gopBReference
- If enable, use reference B frames for GOP structures that have B frames > 1.H264GopBReference
public H264Settings withGopBReference(H264GopBReference gopBReference)
gopBReference
- If enable, use reference B frames for GOP structures that have B frames > 1.H264GopBReference
public void setGopClosedCadence(Integer gopClosedCadence)
gopClosedCadence
- Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder
joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break
output segmenting.public Integer getGopClosedCadence()
public H264Settings withGopClosedCadence(Integer gopClosedCadence)
gopClosedCadence
- Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder
joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break
output segmenting.public void setGopSize(Double gopSize)
gopSize
- GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.public Double getGopSize()
public H264Settings withGopSize(Double gopSize)
gopSize
- GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.public void setGopSizeUnits(String gopSizeUnits)
gopSizeUnits
- Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert
the GOP Size into a frame count at run time.H264GopSizeUnits
public String getGopSizeUnits()
H264GopSizeUnits
public H264Settings withGopSizeUnits(String gopSizeUnits)
gopSizeUnits
- Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert
the GOP Size into a frame count at run time.H264GopSizeUnits
public H264Settings withGopSizeUnits(H264GopSizeUnits gopSizeUnits)
gopSizeUnits
- Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert
the GOP Size into a frame count at run time.H264GopSizeUnits
public void setHrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
hrdBufferInitialFillPercentage
- Percentage of the buffer that should initially be filled (HRD buffer model).public Integer getHrdBufferInitialFillPercentage()
public H264Settings withHrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
hrdBufferInitialFillPercentage
- Percentage of the buffer that should initially be filled (HRD buffer model).public void setHrdBufferSize(Integer hrdBufferSize)
hrdBufferSize
- Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.public Integer getHrdBufferSize()
public H264Settings withHrdBufferSize(Integer hrdBufferSize)
hrdBufferSize
- Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.public void setInterlaceMode(String interlaceMode)
interlaceMode
- Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First
(TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having
the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow,
Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior
depends on the input scan type, as follows. - If the source is interlaced, the output will be interlaced
with the same polarity as the source (it will follow the source). The output could therefore be a mix of
"top field first" and "bottom field first". - If the source is progressive, the output will be interlaced
with "top field first" or "bottom field first" polarity, depending on which of the Follow options you
chose.H264InterlaceMode
public String getInterlaceMode()
H264InterlaceMode
public H264Settings withInterlaceMode(String interlaceMode)
interlaceMode
- Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First
(TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having
the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow,
Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior
depends on the input scan type, as follows. - If the source is interlaced, the output will be interlaced
with the same polarity as the source (it will follow the source). The output could therefore be a mix of
"top field first" and "bottom field first". - If the source is progressive, the output will be interlaced
with "top field first" or "bottom field first" polarity, depending on which of the Follow options you
chose.H264InterlaceMode
public H264Settings withInterlaceMode(H264InterlaceMode interlaceMode)
interlaceMode
- Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First
(TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having
the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow,
Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior
depends on the input scan type, as follows. - If the source is interlaced, the output will be interlaced
with the same polarity as the source (it will follow the source). The output could therefore be a mix of
"top field first" and "bottom field first". - If the source is progressive, the output will be interlaced
with "top field first" or "bottom field first" polarity, depending on which of the Follow options you
chose.H264InterlaceMode
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 H264Settings 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 setMinIInterval(Integer minIInterval)
minIInterval
- Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or
stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting
I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change
Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1public Integer getMinIInterval()
public H264Settings withMinIInterval(Integer minIInterval)
minIInterval
- Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or
stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting
I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change
Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1public void setNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
numberBFramesBetweenReferenceFrames
- Number of B-frames between reference frames.public Integer getNumberBFramesBetweenReferenceFrames()
public H264Settings withNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
numberBFramesBetweenReferenceFrames
- Number of B-frames between reference frames.public void setNumberReferenceFrames(Integer numberReferenceFrames)
numberReferenceFrames
- Number of reference frames to use. The encoder may use more than requested if using B-frames and/or
interlaced encoding.public Integer getNumberReferenceFrames()
public H264Settings withNumberReferenceFrames(Integer numberReferenceFrames)
numberReferenceFrames
- Number of reference frames to use. The encoder may use more than requested if using B-frames and/or
interlaced encoding.public void setParControl(String parControl)
parControl
- Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the
input. Using the console, do this by choosing Follow source for Pixel aspect ratio.H264ParControl
public String getParControl()
H264ParControl
public H264Settings withParControl(String parControl)
parControl
- Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the
input. Using the console, do this by choosing Follow source for Pixel aspect ratio.H264ParControl
public H264Settings withParControl(H264ParControl parControl)
parControl
- Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the
input. Using the console, do this by choosing Follow source for Pixel aspect ratio.H264ParControl
public void setParDenominator(Integer parDenominator)
parDenominator
- Pixel Aspect Ratio denominator.public Integer getParDenominator()
public H264Settings withParDenominator(Integer parDenominator)
parDenominator
- Pixel Aspect Ratio denominator.public void setParNumerator(Integer parNumerator)
parNumerator
- Pixel Aspect Ratio numerator.public Integer getParNumerator()
public H264Settings withParNumerator(Integer parNumerator)
parNumerator
- Pixel Aspect Ratio numerator.public void setQualityTuningLevel(String qualityTuningLevel)
qualityTuningLevel
- Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to use fast single-pass,
high-quality singlepass, or high-quality multipass video encoding.H264QualityTuningLevel
public String getQualityTuningLevel()
H264QualityTuningLevel
public H264Settings withQualityTuningLevel(String qualityTuningLevel)
qualityTuningLevel
- Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to use fast single-pass,
high-quality singlepass, or high-quality multipass video encoding.H264QualityTuningLevel
public H264Settings withQualityTuningLevel(H264QualityTuningLevel qualityTuningLevel)
qualityTuningLevel
- Use Quality tuning level (H264QualityTuningLevel) to specifiy whether to use fast single-pass,
high-quality singlepass, or high-quality multipass video encoding.H264QualityTuningLevel
public void setQvbrSettings(H264QvbrSettings qvbrSettings)
qvbrSettings
- Settings for quality-defined variable bitrate encoding with the H.264 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.public H264QvbrSettings getQvbrSettings()
public H264Settings withQvbrSettings(H264QvbrSettings qvbrSettings)
qvbrSettings
- Settings for quality-defined variable bitrate encoding with the H.264 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.public void setRateControlMode(String rateControlMode)
rateControlMode
- Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or
quality-defined variable bitrate (QVBR).H264RateControlMode
public String getRateControlMode()
H264RateControlMode
public H264Settings withRateControlMode(String rateControlMode)
rateControlMode
- Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or
quality-defined variable bitrate (QVBR).H264RateControlMode
public H264Settings withRateControlMode(H264RateControlMode rateControlMode)
rateControlMode
- Use this setting to specify whether this output has a variable bitrate (VBR), constant bitrate (CBR) or
quality-defined variable bitrate (QVBR).H264RateControlMode
public void setRepeatPps(String repeatPps)
repeatPps
- Places a PPS header on each encoded picture, even if repeated.H264RepeatPps
public String getRepeatPps()
H264RepeatPps
public H264Settings withRepeatPps(String repeatPps)
repeatPps
- Places a PPS header on each encoded picture, even if repeated.H264RepeatPps
public H264Settings withRepeatPps(H264RepeatPps repeatPps)
repeatPps
- Places a PPS header on each encoded picture, even if repeated.H264RepeatPps
public void setSceneChangeDetect(String sceneChangeDetect)
sceneChangeDetect
- Enable this setting to insert I-frames at scene changes that the service automatically detects. This
improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection
(TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see
https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr.H264SceneChangeDetect
public String getSceneChangeDetect()
H264SceneChangeDetect
public H264Settings withSceneChangeDetect(String sceneChangeDetect)
sceneChangeDetect
- Enable this setting to insert I-frames at scene changes that the service automatically detects. This
improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection
(TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see
https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr.H264SceneChangeDetect
public H264Settings withSceneChangeDetect(H264SceneChangeDetect sceneChangeDetect)
sceneChangeDetect
- Enable this setting to insert I-frames at scene changes that the service automatically detects. This
improves video quality and is enabled by default. If this output uses QVBR, choose Transition detection
(TRANSITION_DETECTION) for further video quality improvement. For more information about QVBR, see
https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr.H264SceneChangeDetect
public void setSlices(Integer slices)
slices
- Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive
pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.public Integer getSlices()
public H264Settings withSlices(Integer slices)
slices
- Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive
pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.public void setSlowPal(String slowPal)
slowPal
- Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up
correspondingly.H264SlowPal
public String getSlowPal()
H264SlowPal
public H264Settings withSlowPal(String slowPal)
slowPal
- Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up
correspondingly.H264SlowPal
public H264Settings withSlowPal(H264SlowPal slowPal)
slowPal
- Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up
correspondingly.H264SlowPal
public void setSoftness(Integer softness)
softness
- Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.public Integer getSoftness()
public H264Settings withSoftness(Integer softness)
softness
- Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.public void setSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.H264SpatialAdaptiveQuantization
public String getSpatialAdaptiveQuantization()
H264SpatialAdaptiveQuantization
public H264Settings withSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.H264SpatialAdaptiveQuantization
public H264Settings withSpatialAdaptiveQuantization(H264SpatialAdaptiveQuantization spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.H264SpatialAdaptiveQuantization
public void setSyntax(String syntax)
syntax
- Produces a bitstream compliant with SMPTE RP-2027.H264Syntax
public String getSyntax()
H264Syntax
public H264Settings withSyntax(String syntax)
syntax
- Produces a bitstream compliant with SMPTE RP-2027.H264Syntax
public H264Settings withSyntax(H264Syntax syntax)
syntax
- Produces a bitstream compliant with SMPTE RP-2027.H264Syntax
public void setTelecine(String telecine)
telecine
- This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970. This
field works with the Streams > Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the
Streams > Advanced > Interlaced Mode field (interlace_mode) to identify the scan type for the output:
Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input.
- Soft: produces 23.976; the player converts this output to 29.97i.H264Telecine
public String getTelecine()
H264Telecine
public H264Settings withTelecine(String telecine)
telecine
- This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970. This
field works with the Streams > Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the
Streams > Advanced > Interlaced Mode field (interlace_mode) to identify the scan type for the output:
Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input.
- Soft: produces 23.976; the player converts this output to 29.97i.H264Telecine
public H264Settings withTelecine(H264Telecine telecine)
telecine
- This field applies only if the Streams > Advanced > Framerate (framerate) field is set to 29.970. This
field works with the Streams > Advanced > Preprocessors > Deinterlacer field (deinterlace_mode) and the
Streams > Advanced > Interlaced Mode field (interlace_mode) to identify the scan type for the output:
Progressive, Interlaced, Hard Telecine or Soft Telecine. - Hard: produces 29.97i output from 23.976 input.
- Soft: produces 23.976; the player converts this output to 29.97i.H264Telecine
public void setTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
temporalAdaptiveQuantization
- Adjust quantization within each frame based on temporal variation of content complexity.H264TemporalAdaptiveQuantization
public String getTemporalAdaptiveQuantization()
H264TemporalAdaptiveQuantization
public H264Settings withTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
temporalAdaptiveQuantization
- Adjust quantization within each frame based on temporal variation of content complexity.H264TemporalAdaptiveQuantization
public H264Settings withTemporalAdaptiveQuantization(H264TemporalAdaptiveQuantization temporalAdaptiveQuantization)
temporalAdaptiveQuantization
- Adjust quantization within each frame based on temporal variation of content complexity.H264TemporalAdaptiveQuantization
public void setUnregisteredSeiTimecode(String unregisteredSeiTimecode)
unregisteredSeiTimecode
- Inserts timecode for each frame as 4 bytes of an unregistered SEI message.H264UnregisteredSeiTimecode
public String getUnregisteredSeiTimecode()
H264UnregisteredSeiTimecode
public H264Settings withUnregisteredSeiTimecode(String unregisteredSeiTimecode)
unregisteredSeiTimecode
- Inserts timecode for each frame as 4 bytes of an unregistered SEI message.H264UnregisteredSeiTimecode
public H264Settings withUnregisteredSeiTimecode(H264UnregisteredSeiTimecode unregisteredSeiTimecode)
unregisteredSeiTimecode
- Inserts timecode for each frame as 4 bytes of an unregistered SEI message.H264UnregisteredSeiTimecode
public String toString()
toString
in class Object
Object.toString()
public H264Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.