@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()
Specify the strength of any adaptive quantization filters that you enable.
|
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()
Keep the default value, PAFF, to have MediaConvert use PAFF encoding for interlaced outputs.
|
String |
getFlickerAdaptiveQuantization()
Enable this setting to have the encoder reduce I-frame pop.
|
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.
|
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()
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()
Optional.
|
Integer |
getParDenominator()
Required when you set Pixel aspect ratio (parControl) to SPECIFIED.
|
Integer |
getParNumerator()
Required when you set Pixel aspect ratio (parControl) to SPECIFIED.
|
String |
getQualityTuningLevel()
Optional.
|
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()
Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps).
|
Integer |
getSoftness()
Ignore this setting unless you need to comply with a specification that requires a specific value.
|
String |
getSpatialAdaptiveQuantization()
Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of
content complexity.
|
String |
getSyntax()
Produces a bitstream compliant with SMPTE RP-2027.
|
String |
getTelecine()
When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is
interlaced, you can optionally enable hard or soft telecine to create a smoother picture.
|
String |
getTemporalAdaptiveQuantization()
Keep the default value, Enabled (ENABLED), to 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) |
void |
setAdaptiveQuantization(String adaptiveQuantization)
Specify the strength of any adaptive quantization filters that you enable.
|
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)
Keep the default value, PAFF, to have MediaConvert use PAFF encoding for interlaced outputs.
|
void |
setFlickerAdaptiveQuantization(String flickerAdaptiveQuantization)
Enable this setting to have the encoder reduce I-frame pop.
|
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 |
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)
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)
Optional.
|
void |
setParDenominator(Integer parDenominator)
Required when you set Pixel aspect ratio (parControl) to SPECIFIED.
|
void |
setParNumerator(Integer parNumerator)
Required when you set Pixel aspect ratio (parControl) to SPECIFIED.
|
void |
setQualityTuningLevel(String qualityTuningLevel)
Optional.
|
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)
Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps).
|
void |
setSoftness(Integer softness)
Ignore this setting unless you need to comply with a specification that requires a specific value.
|
void |
setSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Keep the default value, Enabled (ENABLED), to 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)
When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is
interlaced, you can optionally enable hard or soft telecine to create a smoother picture.
|
void |
setTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
Keep the default value, Enabled (ENABLED), to 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)
Specify the strength of any adaptive quantization filters that you enable.
|
H264Settings |
withAdaptiveQuantization(String adaptiveQuantization)
Specify the strength of any adaptive quantization filters that you enable.
|
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)
Keep the default value, PAFF, to have MediaConvert use PAFF encoding for interlaced outputs.
|
H264Settings |
withFieldEncoding(String fieldEncoding)
Keep the default value, PAFF, to have MediaConvert use PAFF encoding for interlaced outputs.
|
H264Settings |
withFlickerAdaptiveQuantization(H264FlickerAdaptiveQuantization flickerAdaptiveQuantization)
Enable this setting to have the encoder reduce I-frame pop.
|
H264Settings |
withFlickerAdaptiveQuantization(String flickerAdaptiveQuantization)
Enable this setting to have the encoder reduce I-frame pop.
|
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)
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.
|
H264Settings |
withFramerateConversionAlgorithm(String framerateConversionAlgorithm)
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate.
|
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)
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction.
|
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)
Choose the scan line type for the output.
|
H264Settings |
withInterlaceMode(String interlaceMode)
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)
Optional.
|
H264Settings |
withParControl(String parControl)
Optional.
|
H264Settings |
withParDenominator(Integer parDenominator)
Required when you set Pixel aspect ratio (parControl) to SPECIFIED.
|
H264Settings |
withParNumerator(Integer parNumerator)
Required when you set Pixel aspect ratio (parControl) to SPECIFIED.
|
H264Settings |
withQualityTuningLevel(H264QualityTuningLevel qualityTuningLevel)
Optional.
|
H264Settings |
withQualityTuningLevel(String qualityTuningLevel)
Optional.
|
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)
Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps).
|
H264Settings |
withSlowPal(String slowPal)
Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps).
|
H264Settings |
withSoftness(Integer softness)
Ignore this setting unless you need to comply with a specification that requires a specific value.
|
H264Settings |
withSpatialAdaptiveQuantization(H264SpatialAdaptiveQuantization spatialAdaptiveQuantization)
Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of
content complexity.
|
H264Settings |
withSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Keep the default value, Enabled (ENABLED), to 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)
When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is
interlaced, you can optionally enable hard or soft telecine to create a smoother picture.
|
H264Settings |
withTelecine(String telecine)
When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan type is
interlaced, you can optionally enable hard or soft telecine to create a smoother picture.
|
H264Settings |
withTemporalAdaptiveQuantization(H264TemporalAdaptiveQuantization temporalAdaptiveQuantization)
Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation
of content complexity.
|
H264Settings |
withTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
Keep the default value, Enabled (ENABLED), to 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 - Specify the strength of any adaptive quantization filters that you enable. The value that you choose here
applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial
adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization
(temporalAdaptiveQuantization).H264AdaptiveQuantizationpublic String getAdaptiveQuantization()
H264AdaptiveQuantizationpublic H264Settings withAdaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization - Specify the strength of any adaptive quantization filters that you enable. The value that you choose here
applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial
adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization
(temporalAdaptiveQuantization).H264AdaptiveQuantizationpublic H264Settings withAdaptiveQuantization(H264AdaptiveQuantization adaptiveQuantization)
adaptiveQuantization - Specify the strength of any adaptive quantization filters that you enable. The value that you choose here
applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial
adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization
(temporalAdaptiveQuantization).H264AdaptiveQuantizationpublic 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).H264CodecLevelpublic String getCodecLevel()
H264CodecLevelpublic 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).H264CodecLevelpublic 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).H264CodecLevelpublic void setCodecProfile(String codecProfile)
codecProfile - H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.H264CodecProfilepublic String getCodecProfile()
H264CodecProfilepublic H264Settings withCodecProfile(String codecProfile)
codecProfile - H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.H264CodecProfilepublic H264Settings withCodecProfile(H264CodecProfile codecProfile)
codecProfile - H.264 Profile. High 4:2:2 and 10-bit profiles are only available with the AVC-I License.H264CodecProfilepublic 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).H264DynamicSubGoppublic String getDynamicSubGop()
H264DynamicSubGoppublic 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).H264DynamicSubGoppublic 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).H264DynamicSubGoppublic void setEntropyEncoding(String entropyEncoding)
entropyEncoding - Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC.H264EntropyEncodingpublic String getEntropyEncoding()
H264EntropyEncodingpublic H264Settings withEntropyEncoding(String entropyEncoding)
entropyEncoding - Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC.H264EntropyEncodingpublic H264Settings withEntropyEncoding(H264EntropyEncoding entropyEncoding)
entropyEncoding - Entropy encoding mode. Use CABAC (must be in Main or High profile) or CAVLC.H264EntropyEncodingpublic void setFieldEncoding(String fieldEncoding)
fieldEncoding - Keep the default value, PAFF, to have MediaConvert use PAFF encoding for interlaced outputs. Choose Force
field (FORCE_FIELD) to disable PAFF encoding and create separate interlaced fields.H264FieldEncodingpublic String getFieldEncoding()
H264FieldEncodingpublic H264Settings withFieldEncoding(String fieldEncoding)
fieldEncoding - Keep the default value, PAFF, to have MediaConvert use PAFF encoding for interlaced outputs. Choose Force
field (FORCE_FIELD) to disable PAFF encoding and create separate interlaced fields.H264FieldEncodingpublic H264Settings withFieldEncoding(H264FieldEncoding fieldEncoding)
fieldEncoding - Keep the default value, PAFF, to have MediaConvert use PAFF encoding for interlaced outputs. Choose Force
field (FORCE_FIELD) to disable PAFF encoding and create separate interlaced fields.H264FieldEncodingpublic void setFlickerAdaptiveQuantization(String flickerAdaptiveQuantization)
flickerAdaptiveQuantization - Enable this setting to have the encoder reduce I-frame pop. I-frame pop appears as a visual flicker that
can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then
refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks
slightly more often to smooth out the flicker. This setting is disabled by default. Related setting: In
addition to enabling this setting, you must also set adaptiveQuantization to a value other than Off (OFF).H264FlickerAdaptiveQuantizationpublic String getFlickerAdaptiveQuantization()
H264FlickerAdaptiveQuantizationpublic H264Settings withFlickerAdaptiveQuantization(String flickerAdaptiveQuantization)
flickerAdaptiveQuantization - Enable this setting to have the encoder reduce I-frame pop. I-frame pop appears as a visual flicker that
can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then
refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks
slightly more often to smooth out the flicker. This setting is disabled by default. Related setting: In
addition to enabling this setting, you must also set adaptiveQuantization to a value other than Off (OFF).H264FlickerAdaptiveQuantizationpublic H264Settings withFlickerAdaptiveQuantization(H264FlickerAdaptiveQuantization flickerAdaptiveQuantization)
flickerAdaptiveQuantization - Enable this setting to have the encoder reduce I-frame pop. I-frame pop appears as a visual flicker that
can arise when the encoder saves bits by copying some macroblocks many times from frame to frame, and then
refreshes them at the I-frame. When you enable this setting, the encoder updates these macroblocks
slightly more often to smooth out the flicker. This setting is disabled by default. Related setting: In
addition to enabling this setting, you must also set adaptiveQuantization to a value other than Off (OFF).H264FlickerAdaptiveQuantizationpublic 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.H264FramerateControlpublic String getFramerateControl()
H264FramerateControlpublic 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.H264FramerateControlpublic 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.H264FramerateControlpublic void setFramerateConversionAlgorithm(String framerateConversionAlgorithm)
framerateConversionAlgorithm - Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We
recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30
fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. 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, use
FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion
method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant
add-on cost.H264FramerateConversionAlgorithmpublic String getFramerateConversionAlgorithm()
H264FramerateConversionAlgorithmpublic H264Settings withFramerateConversionAlgorithm(String framerateConversionAlgorithm)
framerateConversionAlgorithm - Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We
recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30
fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. 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, use
FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion
method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant
add-on cost.H264FramerateConversionAlgorithmpublic H264Settings withFramerateConversionAlgorithm(H264FramerateConversionAlgorithm framerateConversionAlgorithm)
framerateConversionAlgorithm - Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We
recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30
fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. 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, use
FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion
method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant
add-on cost.H264FramerateConversionAlgorithmpublic 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 - 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 H264Settings 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 setGopBReference(String gopBReference)
gopBReference - If enable, use reference B frames for GOP structures that have B frames > 1.H264GopBReferencepublic String getGopBReference()
H264GopBReferencepublic H264Settings withGopBReference(String gopBReference)
gopBReference - If enable, use reference B frames for GOP structures that have B frames > 1.H264GopBReferencepublic H264Settings withGopBReference(H264GopBReference gopBReference)
gopBReference - If enable, use reference B frames for GOP structures that have B frames > 1.H264GopBReferencepublic 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.H264GopSizeUnitspublic String getGopSizeUnits()
H264GopSizeUnitspublic 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.H264GopSizeUnitspublic 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.H264GopSizeUnitspublic 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 - Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a
progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom
field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout.
Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce
outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field
polarity might change over the course of the output. Follow behavior depends on the input scan type. If
the source is interlaced, the output will be interlaced with the same polarity as the source. If the
source is progressive, the output will be interlaced with top field bottom field first, depending on which
of the Follow options you choose.H264InterlaceModepublic String getInterlaceMode()
H264InterlaceModepublic H264Settings withInterlaceMode(String interlaceMode)
interlaceMode - Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a
progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom
field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout.
Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce
outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field
polarity might change over the course of the output. Follow behavior depends on the input scan type. If
the source is interlaced, the output will be interlaced with the same polarity as the source. If the
source is progressive, the output will be interlaced with top field bottom field first, depending on which
of the Follow options you choose.H264InterlaceModepublic H264Settings withInterlaceMode(H264InterlaceMode interlaceMode)
interlaceMode - Choose the scan line type for the output. Keep the default value, Progressive (PROGRESSIVE) to create a
progressive output, regardless of the scan type of your input. Use Top field first (TOP_FIELD) or Bottom
field first (BOTTOM_FIELD) to create an output that's interlaced with the same field polarity throughout.
Use Follow, default top (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to produce
outputs with the same field polarity as the source. For jobs that have multiple inputs, the output field
polarity might change over the course of the output. Follow behavior depends on the input scan type. If
the source is interlaced, the output will be interlaced with the same polarity as the source. If the
source is progressive, the output will be interlaced with top field bottom field first, depending on which
of the Follow options you choose.H264InterlaceModepublic 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 - Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default
behavior, Follow source (INITIALIZE_FROM_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. To specify a different
PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting,
you must also specify values for the parNumerator and parDenominator settings.H264ParControlpublic String getParControl()
H264ParControlpublic H264Settings withParControl(String parControl)
parControl - Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default
behavior, Follow source (INITIALIZE_FROM_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. To specify a different
PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting,
you must also specify values for the parNumerator and parDenominator settings.H264ParControlpublic H264Settings withParControl(H264ParControl parControl)
parControl - Optional. Specify how the service determines the pixel aspect ratio (PAR) for this output. The default
behavior, Follow source (INITIALIZE_FROM_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. To specify a different
PAR by editing the JSON job specification, choose SPECIFIED. When you choose SPECIFIED for this setting,
you must also specify values for the parNumerator and parDenominator settings.H264ParControlpublic void setParDenominator(Integer parDenominator)
parDenominator - Required when you set Pixel aspect ratio (parControl) 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 H264Settings withParDenominator(Integer parDenominator)
parDenominator - Required when you set Pixel aspect ratio (parControl) 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 (parControl) 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 H264Settings withParNumerator(Integer parNumerator)
parNumerator - Required when you set Pixel aspect ratio (parControl) 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 (qualityTuningLevel) to choose how you want to trade off encoding speed
for output video quality. The default behavior is faster, lower quality, single-pass encoding.H264QualityTuningLevelpublic String getQualityTuningLevel()
H264QualityTuningLevelpublic H264Settings withQualityTuningLevel(String qualityTuningLevel)
qualityTuningLevel - Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed
for output video quality. The default behavior is faster, lower quality, single-pass encoding.H264QualityTuningLevelpublic H264Settings withQualityTuningLevel(H264QualityTuningLevel qualityTuningLevel)
qualityTuningLevel - Optional. Use Quality tuning level (qualityTuningLevel) to choose how you want to trade off encoding speed
for output video quality. The default behavior is faster, lower quality, single-pass encoding.H264QualityTuningLevelpublic 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).H264RateControlModepublic String getRateControlMode()
H264RateControlModepublic 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).H264RateControlModepublic 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).H264RateControlModepublic void setRepeatPps(String repeatPps)
repeatPps - Places a PPS header on each encoded picture, even if repeated.H264RepeatPpspublic String getRepeatPps()
H264RepeatPpspublic H264Settings withRepeatPps(String repeatPps)
repeatPps - Places a PPS header on each encoded picture, even if repeated.H264RepeatPpspublic H264Settings withRepeatPps(H264RepeatPps repeatPps)
repeatPps - Places a PPS header on each encoded picture, even if repeated.H264RepeatPpspublic 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.H264SceneChangeDetectpublic String getSceneChangeDetect()
H264SceneChangeDetectpublic 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.H264SceneChangeDetectpublic 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.H264SceneChangeDetectpublic 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 - Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL
to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and
resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly
reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job
specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and
(framerateDenominator) to 1.H264SlowPalpublic String getSlowPal()
H264SlowPalpublic H264Settings withSlowPal(String slowPal)
slowPal - Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL
to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and
resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly
reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job
specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and
(framerateDenominator) to 1.H264SlowPalpublic H264Settings withSlowPal(H264SlowPal slowPal)
slowPal - Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL
to create a 25 fps output. When you enable slow PAL, MediaConvert relabels the video frames to 25 fps and
resamples your audio to keep it synchronized with the video. Note that enabling this setting will slightly
reduce the duration of your video. Required settings: You must also set Framerate to 25. In your JSON job
specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and
(framerateDenominator) to 1.H264SlowPalpublic void setSoftness(Integer softness)
softness - Ignore this setting unless you need to comply with a specification that requires a specific value. If you
don't have a specification requirement, we recommend that you adjust the softness of your output by using
a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter
(noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder
uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT
softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar
interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The
value 128 results in the softest video.public Integer getSoftness()
public H264Settings withSoftness(Integer softness)
softness - Ignore this setting unless you need to comply with a specification that requires a specific value. If you
don't have a specification requirement, we recommend that you adjust the softness of your output by using
a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter
(noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder
uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT
softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar
interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The
value 128 results in the softest video.public void setSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization - Keep the default value, Enabled (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 (adaptiveQuantization) 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.H264SpatialAdaptiveQuantizationpublic String getSpatialAdaptiveQuantization()
H264SpatialAdaptiveQuantizationpublic H264Settings withSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization - Keep the default value, Enabled (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 (adaptiveQuantization) 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.H264SpatialAdaptiveQuantizationpublic H264Settings withSpatialAdaptiveQuantization(H264SpatialAdaptiveQuantization spatialAdaptiveQuantization)
spatialAdaptiveQuantization - Keep the default value, Enabled (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 (adaptiveQuantization) 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.H264SpatialAdaptiveQuantizationpublic void setSyntax(String syntax)
syntax - Produces a bitstream compliant with SMPTE RP-2027.H264Syntaxpublic String getSyntax()
H264Syntaxpublic H264Settings withSyntax(String syntax)
syntax - Produces a bitstream compliant with SMPTE RP-2027.H264Syntaxpublic H264Settings withSyntax(H264Syntax syntax)
syntax - Produces a bitstream compliant with SMPTE RP-2027.H264Syntaxpublic void setTelecine(String telecine)
telecine - When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan
type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard
telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output
that signals to the video player device to do the conversion during play back. When you keep the default
value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything
with the field polarity to create a smoother picture.H264Telecinepublic String getTelecine()
H264Telecinepublic H264Settings withTelecine(String telecine)
telecine - When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan
type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard
telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output
that signals to the video player device to do the conversion during play back. When you keep the default
value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything
with the field polarity to create a smoother picture.H264Telecinepublic H264Settings withTelecine(H264Telecine telecine)
telecine - When you do frame rate conversion from 23.976 frames per second (fps) to 29.97 fps, and your output scan
type is interlaced, you can optionally enable hard or soft telecine to create a smoother picture. Hard
telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) produces an output with a 23.976 output
that signals to the video player device to do the conversion during play back. When you keep the default
value, None (NONE), MediaConvert does a standard frame rate conversion to 29.97 without doing anything
with the field polarity to create a smoother picture.H264Telecinepublic void setTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
temporalAdaptiveQuantization - Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal
variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the
frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For
example, this feature improves the readability of text tickers on newscasts and scoreboards on sports
matches. 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 that doesn't have moving objects with sharp edges,
such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable
temporal quantization, adjust the strength of the filter with the setting Adaptive quantization
(adaptiveQuantization).H264TemporalAdaptiveQuantizationpublic String getTemporalAdaptiveQuantization()
H264TemporalAdaptiveQuantizationpublic H264Settings withTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
temporalAdaptiveQuantization - Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal
variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the
frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For
example, this feature improves the readability of text tickers on newscasts and scoreboards on sports
matches. 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 that doesn't have moving objects with sharp edges,
such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable
temporal quantization, adjust the strength of the filter with the setting Adaptive quantization
(adaptiveQuantization).H264TemporalAdaptiveQuantizationpublic H264Settings withTemporalAdaptiveQuantization(H264TemporalAdaptiveQuantization temporalAdaptiveQuantization)
temporalAdaptiveQuantization - Keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal
variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the
frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For
example, this feature improves the readability of text tickers on newscasts and scoreboards on sports
matches. 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 that doesn't have moving objects with sharp edges,
such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable
temporal quantization, adjust the strength of the filter with the setting Adaptive quantization
(adaptiveQuantization).H264TemporalAdaptiveQuantizationpublic void setUnregisteredSeiTimecode(String unregisteredSeiTimecode)
unregisteredSeiTimecode - Inserts timecode for each frame as 4 bytes of an unregistered SEI message.H264UnregisteredSeiTimecodepublic String getUnregisteredSeiTimecode()
H264UnregisteredSeiTimecodepublic H264Settings withUnregisteredSeiTimecode(String unregisteredSeiTimecode)
unregisteredSeiTimecode - Inserts timecode for each frame as 4 bytes of an unregistered SEI message.H264UnregisteredSeiTimecodepublic H264Settings withUnregisteredSeiTimecode(H264UnregisteredSeiTimecode unregisteredSeiTimecode)
unregisteredSeiTimecode - Inserts timecode for each frame as 4 bytes of an unregistered SEI message.H264UnregisteredSeiTimecodepublic String toString()
toString in class ObjectObject.toString()public H264Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.