public static final class CfnChannel.H265SettingsProperty.Builder
extends java.lang.Object
CfnChannel.H265SettingsProperty
Constructor and Description |
---|
Builder() |
public CfnChannel.H265SettingsProperty.Builder adaptiveQuantization(java.lang.String adaptiveQuantization)
CfnChannel.H265SettingsProperty.getAdaptiveQuantization()
adaptiveQuantization
- Adaptive quantization.
Allows intra-frame quantizers to vary to improve visual quality.this
public CfnChannel.H265SettingsProperty.Builder afdSignaling(java.lang.String afdSignaling)
CfnChannel.H265SettingsProperty.getAfdSignaling()
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.this
public CfnChannel.H265SettingsProperty.Builder alternativeTransferFunction(java.lang.String alternativeTransferFunction)
CfnChannel.H265SettingsProperty.getAlternativeTransferFunction()
alternativeTransferFunction
- Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.this
public CfnChannel.H265SettingsProperty.Builder bitrate(java.lang.Number bitrate)
CfnChannel.H265SettingsProperty.getBitrate()
bitrate
- Average bitrate in bits/second.
Required when the rate control mode is VBR or CBR. Not used for QVBR. In an MS Smooth output group, each output must have a unique value when its bitrate is rounded down to the nearest multiple of 1000.this
public CfnChannel.H265SettingsProperty.Builder bufSize(java.lang.Number bufSize)
CfnChannel.H265SettingsProperty.getBufSize()
bufSize
- Size of buffer (HRD buffer model) in bits.this
public CfnChannel.H265SettingsProperty.Builder colorMetadata(java.lang.String colorMetadata)
CfnChannel.H265SettingsProperty.getColorMetadata()
colorMetadata
- Includes colorspace metadata in the output.this
public CfnChannel.H265SettingsProperty.Builder colorSpaceSettings(IResolvable colorSpaceSettings)
CfnChannel.H265SettingsProperty.getColorSpaceSettings()
colorSpaceSettings
- Color Space settings.this
public CfnChannel.H265SettingsProperty.Builder colorSpaceSettings(CfnChannel.H265ColorSpaceSettingsProperty colorSpaceSettings)
CfnChannel.H265SettingsProperty.getColorSpaceSettings()
colorSpaceSettings
- Color Space settings.this
public CfnChannel.H265SettingsProperty.Builder filterSettings(IResolvable filterSettings)
CfnChannel.H265SettingsProperty.getFilterSettings()
filterSettings
- Optional filters that you can apply to an encode.this
public CfnChannel.H265SettingsProperty.Builder filterSettings(CfnChannel.H265FilterSettingsProperty filterSettings)
CfnChannel.H265SettingsProperty.getFilterSettings()
filterSettings
- Optional filters that you can apply to an encode.this
public CfnChannel.H265SettingsProperty.Builder fixedAfd(java.lang.String fixedAfd)
CfnChannel.H265SettingsProperty.getFixedAfd()
fixedAfd
- Four bit AFD value to write on all frames of video in the output stream.
Only valid when afdSignaling is set to 'Fixed'.this
public CfnChannel.H265SettingsProperty.Builder flickerAq(java.lang.String flickerAq)
CfnChannel.H265SettingsProperty.getFlickerAq()
flickerAq
- If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.this
public CfnChannel.H265SettingsProperty.Builder framerateDenominator(java.lang.Number framerateDenominator)
CfnChannel.H265SettingsProperty.getFramerateDenominator()
framerateDenominator
- Framerate denominator.this
public CfnChannel.H265SettingsProperty.Builder framerateNumerator(java.lang.Number framerateNumerator)
CfnChannel.H265SettingsProperty.getFramerateNumerator()
framerateNumerator
- Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.this
public CfnChannel.H265SettingsProperty.Builder gopClosedCadence(java.lang.Number gopClosedCadence)
CfnChannel.H265SettingsProperty.getGopClosedCadence()
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.this
public CfnChannel.H265SettingsProperty.Builder gopSize(java.lang.Number gopSize)
CfnChannel.H265SettingsProperty.getGopSize()
gopSize
- GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.
If gopSizeUnits is frames, gopSize must be an integer and must be greater than or equal to 1.
If gopSizeUnits is seconds, gopSize must be greater than 0, but need not be an integer.this
public CfnChannel.H265SettingsProperty.Builder gopSizeUnits(java.lang.String gopSizeUnits)
CfnChannel.H265SettingsProperty.getGopSizeUnits()
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.this
public CfnChannel.H265SettingsProperty.Builder level(java.lang.String level)
CfnChannel.H265SettingsProperty.getLevel()
level
- H.265 Level.this
public CfnChannel.H265SettingsProperty.Builder lookAheadRateControl(java.lang.String lookAheadRateControl)
CfnChannel.H265SettingsProperty.getLookAheadRateControl()
lookAheadRateControl
- Amount of lookahead.
A value of low can decrease latency and memory usage, while high can produce better quality for certain content.this
public CfnChannel.H265SettingsProperty.Builder maxBitrate(java.lang.Number maxBitrate)
CfnChannel.H265SettingsProperty.getMaxBitrate()
maxBitrate
- For QVBR: See the tooltip for Quality level.this
public CfnChannel.H265SettingsProperty.Builder minIInterval(java.lang.Number minIInterval)
CfnChannel.H265SettingsProperty.getMinIInterval()
minIInterval
- Only meaningful if sceneChangeDetect is set to enabled.
Defaults to 5 if multiplex rate control is used. 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 - 1this
public CfnChannel.H265SettingsProperty.Builder parDenominator(java.lang.Number parDenominator)
CfnChannel.H265SettingsProperty.getParDenominator()
parDenominator
- Pixel Aspect Ratio denominator.this
public CfnChannel.H265SettingsProperty.Builder parNumerator(java.lang.Number parNumerator)
CfnChannel.H265SettingsProperty.getParNumerator()
parNumerator
- Pixel Aspect Ratio numerator.this
public CfnChannel.H265SettingsProperty.Builder profile(java.lang.String profile)
CfnChannel.H265SettingsProperty.getProfile()
profile
- H.265 Profile.this
public CfnChannel.H265SettingsProperty.Builder qvbrQualityLevel(java.lang.Number qvbrQualityLevel)
CfnChannel.H265SettingsProperty.getQvbrQualityLevel()
qvbrQualityLevel
- Controls the target quality for the video encode.
Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are:
this
public CfnChannel.H265SettingsProperty.Builder rateControlMode(java.lang.String rateControlMode)
CfnChannel.H265SettingsProperty.getRateControlMode()
rateControlMode
- Rate control mode.
QVBR: Quality will match the specified quality level except when it is constrained by the
maximum bitrate. Recommended if you or your viewers pay for bandwidth. CBR: Quality varies, depending on the video complexity. Recommended only if you distribute
your assets to devices that cannot handle variable bitrates. Multiplex: This rate control mode is only supported (and is required) when the video is being
delivered to a MediaLive Multiplex in which case the rate control configuration is controlled
by the properties within the Multiplex Program.this
public CfnChannel.H265SettingsProperty.Builder scanType(java.lang.String scanType)
CfnChannel.H265SettingsProperty.getScanType()
scanType
- Sets the scan type of the output to progressive or top-field-first interlaced.this
public CfnChannel.H265SettingsProperty.Builder sceneChangeDetect(java.lang.String sceneChangeDetect)
CfnChannel.H265SettingsProperty.getSceneChangeDetect()
sceneChangeDetect
- Scene change detection.this
public CfnChannel.H265SettingsProperty.Builder slices(java.lang.Number slices)
CfnChannel.H265SettingsProperty.getSlices()
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.this
public CfnChannel.H265SettingsProperty.Builder tier(java.lang.String tier)
CfnChannel.H265SettingsProperty.getTier()
tier
- H.265 Tier.this
public CfnChannel.H265SettingsProperty.Builder timecodeInsertion(java.lang.String timecodeInsertion)
CfnChannel.H265SettingsProperty.getTimecodeInsertion()
timecodeInsertion
- Determines how timecodes should be inserted into the video elementary stream.
this
public CfnChannel.H265SettingsProperty build()
CfnChannel.H265SettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided