public static interface H264Settings.Builder extends CopyableBuilder<H264Settings.Builder,H264Settings>
Modifier and Type | Method and Description |
---|---|
H264Settings.Builder |
adaptiveQuantization(H264AdaptiveQuantization adaptiveQuantization)
Adaptive quantization.
|
H264Settings.Builder |
adaptiveQuantization(String adaptiveQuantization)
Adaptive quantization.
|
H264Settings.Builder |
afdSignaling(AfdSignaling afdSignaling)
Indicates that AFD values will be written into the output stream.
|
H264Settings.Builder |
afdSignaling(String afdSignaling)
Indicates that AFD values will be written into the output stream.
|
H264Settings.Builder |
bitrate(Integer bitrate)
Average bitrate in bits/second.
|
H264Settings.Builder |
bufFillPct(Integer bufFillPct)
Percentage of the buffer that should initially be filled (HRD buffer model).
|
H264Settings.Builder |
bufSize(Integer bufSize)
Size of buffer (HRD buffer model) in bits/second.
|
H264Settings.Builder |
colorMetadata(H264ColorMetadata colorMetadata)
Includes colorspace metadata in the output.
|
H264Settings.Builder |
colorMetadata(String colorMetadata)
Includes colorspace metadata in the output.
|
H264Settings.Builder |
entropyEncoding(H264EntropyEncoding entropyEncoding)
Entropy encoding mode.
|
H264Settings.Builder |
entropyEncoding(String entropyEncoding)
Entropy encoding mode.
|
H264Settings.Builder |
fixedAfd(FixedAfd fixedAfd)
Four bit AFD value to write on all frames of video in the output stream.
|
H264Settings.Builder |
fixedAfd(String fixedAfd)
Four bit AFD value to write on all frames of video in the output stream.
|
H264Settings.Builder |
flickerAq(H264FlickerAq flickerAq)
If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
|
H264Settings.Builder |
flickerAq(String flickerAq)
If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
|
H264Settings.Builder |
framerateControl(H264FramerateControl framerateControl)
This field indicates how the output video frame rate is specified.
|
H264Settings.Builder |
framerateControl(String framerateControl)
This field indicates how the output video frame rate is specified.
|
H264Settings.Builder |
framerateDenominator(Integer framerateDenominator)
Framerate denominator.
|
H264Settings.Builder |
framerateNumerator(Integer framerateNumerator)
Framerate numerator - framerate is a fraction, e.g.
|
H264Settings.Builder |
gopBReference(H264GopBReference gopBReference)
Documentation update needed
|
H264Settings.Builder |
gopBReference(String gopBReference)
Documentation update needed
|
H264Settings.Builder |
gopClosedCadence(Integer gopClosedCadence)
Frequency of closed GOPs.
|
H264Settings.Builder |
gopNumBFrames(Integer gopNumBFrames)
Number of B-frames between reference frames.
|
H264Settings.Builder |
gopSize(Double gopSize)
GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.
|
H264Settings.Builder |
gopSizeUnits(H264GopSizeUnits gopSizeUnits)
Indicates if the gopSize is specified in frames or seconds.
|
H264Settings.Builder |
gopSizeUnits(String gopSizeUnits)
Indicates if the gopSize is specified in frames or seconds.
|
H264Settings.Builder |
level(H264Level level)
H.264 Level.
|
H264Settings.Builder |
level(String level)
H.264 Level.
|
H264Settings.Builder |
lookAheadRateControl(H264LookAheadRateControl lookAheadRateControl)
Amount of lookahead.
|
H264Settings.Builder |
lookAheadRateControl(String lookAheadRateControl)
Amount of lookahead.
|
H264Settings.Builder |
maxBitrate(Integer maxBitrate)
Maximum bitrate in bits/second (for VBR mode only).
|
H264Settings.Builder |
minIInterval(Integer minIInterval)
Only meaningful if sceneChangeDetect is set to enabled.
|
H264Settings.Builder |
numRefFrames(Integer numRefFrames)
Number of reference frames to use.
|
H264Settings.Builder |
parControl(H264ParControl parControl)
This field indicates how the output pixel aspect ratio is specified.
|
H264Settings.Builder |
parControl(String parControl)
This field indicates how the output pixel aspect ratio is specified.
|
H264Settings.Builder |
parDenominator(Integer parDenominator)
Pixel Aspect Ratio denominator.
|
H264Settings.Builder |
parNumerator(Integer parNumerator)
Pixel Aspect Ratio numerator.
|
H264Settings.Builder |
profile(H264Profile profile)
H.264 Profile.
|
H264Settings.Builder |
profile(String profile)
H.264 Profile.
|
H264Settings.Builder |
rateControlMode(H264RateControlMode rateControlMode)
Rate control mode.
|
H264Settings.Builder |
rateControlMode(String rateControlMode)
Rate control mode.
|
H264Settings.Builder |
scanType(H264ScanType scanType)
Sets the scan type of the output to progressive or top-field-first interlaced.
|
H264Settings.Builder |
scanType(String scanType)
Sets the scan type of the output to progressive or top-field-first interlaced.
|
H264Settings.Builder |
sceneChangeDetect(H264SceneChangeDetect sceneChangeDetect)
Scene change detection.
|
H264Settings.Builder |
sceneChangeDetect(String sceneChangeDetect)
Scene change detection.
|
H264Settings.Builder |
slices(Integer slices)
Number of slices per picture.
|
H264Settings.Builder |
softness(Integer softness)
Softness.
|
H264Settings.Builder |
spatialAq(H264SpatialAq spatialAq)
If set to enabled, adjust quantization within each frame based on spatial variation of content complexity.
|
H264Settings.Builder |
spatialAq(String spatialAq)
If set to enabled, adjust quantization within each frame based on spatial variation of content complexity.
|
H264Settings.Builder |
syntax(H264Syntax syntax)
Produces a bitstream compliant with SMPTE RP-2027.
|
H264Settings.Builder |
syntax(String syntax)
Produces a bitstream compliant with SMPTE RP-2027.
|
H264Settings.Builder |
temporalAq(H264TemporalAq temporalAq)
If set to enabled, adjust quantization within each frame based on temporal variation of content complexity.
|
H264Settings.Builder |
temporalAq(String temporalAq)
If set to enabled, adjust quantization within each frame based on temporal variation of content complexity.
|
H264Settings.Builder |
timecodeInsertion(H264TimecodeInsertionBehavior timecodeInsertion)
Determines how timecodes should be inserted into the video elementary stream.
|
H264Settings.Builder |
timecodeInsertion(String timecodeInsertion)
Determines how timecodes should be inserted into the video elementary stream.
|
copy
applyMutation, build
H264Settings.Builder adaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.H264AdaptiveQuantization
,
H264AdaptiveQuantization
H264Settings.Builder adaptiveQuantization(H264AdaptiveQuantization adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.H264AdaptiveQuantization
,
H264AdaptiveQuantization
H264Settings.Builder afdSignaling(String afdSignaling)
afdSignaling
- Indicates that AFD values will be written into the output stream. If afdSignaling is "auto", the
system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set
to "fixed", the AFD value will be the value configured in the fixedAfd parameter.AfdSignaling
,
AfdSignaling
H264Settings.Builder afdSignaling(AfdSignaling afdSignaling)
afdSignaling
- Indicates that AFD values will be written into the output stream. If afdSignaling is "auto", the
system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set
to "fixed", the AFD value will be the value configured in the fixedAfd parameter.AfdSignaling
,
AfdSignaling
H264Settings.Builder bitrate(Integer bitrate)
bitrate
- Average bitrate in bits/second. Required for VBR, CBR, and ABR. For MS Smooth outputs, bitrates must
be unique when rounded down to the nearest multiple of 1000.H264Settings.Builder bufFillPct(Integer bufFillPct)
bufFillPct
- Percentage of the buffer that should initially be filled (HRD buffer model).H264Settings.Builder bufSize(Integer bufSize)
bufSize
- Size of buffer (HRD buffer model) in bits/second.H264Settings.Builder colorMetadata(String colorMetadata)
colorMetadata
- Includes colorspace metadata in the output.H264ColorMetadata
,
H264ColorMetadata
H264Settings.Builder colorMetadata(H264ColorMetadata colorMetadata)
colorMetadata
- Includes colorspace metadata in the output.H264ColorMetadata
,
H264ColorMetadata
H264Settings.Builder entropyEncoding(String entropyEncoding)
entropyEncoding
- Entropy encoding mode. Use cabac (must be in Main or High profile) or cavlc.H264EntropyEncoding
,
H264EntropyEncoding
H264Settings.Builder entropyEncoding(H264EntropyEncoding entropyEncoding)
entropyEncoding
- Entropy encoding mode. Use cabac (must be in Main or High profile) or cavlc.H264EntropyEncoding
,
H264EntropyEncoding
H264Settings.Builder fixedAfd(String fixedAfd)
H264Settings.Builder fixedAfd(FixedAfd fixedAfd)
H264Settings.Builder flickerAq(String flickerAq)
flickerAq
- If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.H264FlickerAq
,
H264FlickerAq
H264Settings.Builder flickerAq(H264FlickerAq flickerAq)
flickerAq
- If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.H264FlickerAq
,
H264FlickerAq
H264Settings.Builder framerateControl(String framerateControl)
framerateControl
- This field indicates how the output video frame rate is specified. If "specified" is selected then the
output video frame rate is determined by framerateNumerator and framerateDenominator, else if
"initializeFromSource" is selected then the output video frame rate will be set equal to the input
video frame rate of the first input.H264FramerateControl
,
H264FramerateControl
H264Settings.Builder framerateControl(H264FramerateControl framerateControl)
framerateControl
- This field indicates how the output video frame rate is specified. If "specified" is selected then the
output video frame rate is determined by framerateNumerator and framerateDenominator, else if
"initializeFromSource" is selected then the output video frame rate will be set equal to the input
video frame rate of the first input.H264FramerateControl
,
H264FramerateControl
H264Settings.Builder framerateDenominator(Integer framerateDenominator)
framerateDenominator
- Framerate denominator.H264Settings.Builder framerateNumerator(Integer framerateNumerator)
framerateNumerator
- Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.H264Settings.Builder gopBReference(String gopBReference)
gopBReference
- Documentation update neededH264GopBReference
,
H264GopBReference
H264Settings.Builder gopBReference(H264GopBReference gopBReference)
gopBReference
- Documentation update neededH264GopBReference
,
H264GopBReference
H264Settings.Builder gopClosedCadence(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.H264Settings.Builder gopNumBFrames(Integer gopNumBFrames)
gopNumBFrames
- Number of B-frames between reference frames.H264Settings.Builder gopSize(Double gopSize)
gopSize
- GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits. Must be greater
than zero.H264Settings.Builder gopSizeUnits(String gopSizeUnits)
gopSizeUnits
- Indicates if the gopSize is specified in frames or seconds. If seconds the system will convert the
gopSize into a frame count at run time.H264GopSizeUnits
,
H264GopSizeUnits
H264Settings.Builder gopSizeUnits(H264GopSizeUnits gopSizeUnits)
gopSizeUnits
- Indicates if the gopSize is specified in frames or seconds. If seconds the system will convert the
gopSize into a frame count at run time.H264GopSizeUnits
,
H264GopSizeUnits
H264Settings.Builder level(String level)
H264Settings.Builder level(H264Level level)
H264Settings.Builder lookAheadRateControl(String lookAheadRateControl)
lookAheadRateControl
- Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce
better quality for certain content.H264LookAheadRateControl
,
H264LookAheadRateControl
H264Settings.Builder lookAheadRateControl(H264LookAheadRateControl lookAheadRateControl)
lookAheadRateControl
- Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce
better quality for certain content.H264LookAheadRateControl
,
H264LookAheadRateControl
H264Settings.Builder maxBitrate(Integer maxBitrate)
maxBitrate
- Maximum bitrate in bits/second (for VBR mode only).H264Settings.Builder minIInterval(Integer minIInterval)
minIInterval
- Only meaningful if sceneChangeDetect is set to enabled. 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. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1H264Settings.Builder numRefFrames(Integer numRefFrames)
numRefFrames
- Number of reference frames to use. The encoder may use more than requested if using B-frames and/or
interlaced encoding.H264Settings.Builder parControl(String parControl)
parControl
- This field indicates how the output pixel aspect ratio is specified. If "specified" is selected then
the output video pixel aspect ratio is determined by parNumerator and parDenominator, else if
"initializeFromSource" is selected then the output pixsel aspect ratio will be set equal to the input
video pixel aspect ratio of the first input.H264ParControl
,
H264ParControl
H264Settings.Builder parControl(H264ParControl parControl)
parControl
- This field indicates how the output pixel aspect ratio is specified. If "specified" is selected then
the output video pixel aspect ratio is determined by parNumerator and parDenominator, else if
"initializeFromSource" is selected then the output pixsel aspect ratio will be set equal to the input
video pixel aspect ratio of the first input.H264ParControl
,
H264ParControl
H264Settings.Builder parDenominator(Integer parDenominator)
parDenominator
- Pixel Aspect Ratio denominator.H264Settings.Builder parNumerator(Integer parNumerator)
parNumerator
- Pixel Aspect Ratio numerator.H264Settings.Builder profile(String profile)
profile
- H.264 Profile.H264Profile
,
H264Profile
H264Settings.Builder profile(H264Profile profile)
profile
- H.264 Profile.H264Profile
,
H264Profile
H264Settings.Builder rateControlMode(String rateControlMode)
rateControlMode
- Rate control mode.H264RateControlMode
,
H264RateControlMode
H264Settings.Builder rateControlMode(H264RateControlMode rateControlMode)
rateControlMode
- Rate control mode.H264RateControlMode
,
H264RateControlMode
H264Settings.Builder scanType(String scanType)
scanType
- Sets the scan type of the output to progressive or top-field-first interlaced.H264ScanType
,
H264ScanType
H264Settings.Builder scanType(H264ScanType scanType)
scanType
- Sets the scan type of the output to progressive or top-field-first interlaced.H264ScanType
,
H264ScanType
H264Settings.Builder sceneChangeDetect(String sceneChangeDetect)
sceneChangeDetect
- Scene change detection. Inserts I-frames on scene changes when enabled.H264SceneChangeDetect
,
H264SceneChangeDetect
H264Settings.Builder sceneChangeDetect(H264SceneChangeDetect sceneChangeDetect)
sceneChangeDetect
- Scene change detection. Inserts I-frames on scene changes when enabled.H264SceneChangeDetect
,
H264SceneChangeDetect
H264Settings.Builder slices(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. This field is optional; when no value is specified the encoder will choose the number of
slices based on encode resolution.H264Settings.Builder softness(Integer softness)
softness
- Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.H264Settings.Builder spatialAq(String spatialAq)
spatialAq
- If set to enabled, adjust quantization within each frame based on spatial variation of content
complexity.H264SpatialAq
,
H264SpatialAq
H264Settings.Builder spatialAq(H264SpatialAq spatialAq)
spatialAq
- If set to enabled, adjust quantization within each frame based on spatial variation of content
complexity.H264SpatialAq
,
H264SpatialAq
H264Settings.Builder syntax(String syntax)
syntax
- Produces a bitstream compliant with SMPTE RP-2027.H264Syntax
,
H264Syntax
H264Settings.Builder syntax(H264Syntax syntax)
syntax
- Produces a bitstream compliant with SMPTE RP-2027.H264Syntax
,
H264Syntax
H264Settings.Builder temporalAq(String temporalAq)
temporalAq
- If set to enabled, adjust quantization within each frame based on temporal variation of content
complexity.H264TemporalAq
,
H264TemporalAq
H264Settings.Builder temporalAq(H264TemporalAq temporalAq)
temporalAq
- If set to enabled, adjust quantization within each frame based on temporal variation of content
complexity.H264TemporalAq
,
H264TemporalAq
H264Settings.Builder timecodeInsertion(String timecodeInsertion)
timecodeInsertion
- Determines how timecodes should be inserted into the video elementary stream. - 'disabled': Do not
include timecodes - 'picTimingSei': Pass through picture timing SEI messages from the source specified
in Timecode ConfigH264TimecodeInsertionBehavior
,
H264TimecodeInsertionBehavior
H264Settings.Builder timecodeInsertion(H264TimecodeInsertionBehavior timecodeInsertion)
timecodeInsertion
- Determines how timecodes should be inserted into the video elementary stream. - 'disabled': Do not
include timecodes - 'picTimingSei': Pass through picture timing SEI messages from the source specified
in Timecode ConfigH264TimecodeInsertionBehavior
,
H264TimecodeInsertionBehavior
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.