Interface H265Settings.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<H265Settings.Builder,,- H265Settings> - SdkBuilder<H265Settings.Builder,,- H265Settings> - SdkPojo
- Enclosing class:
- H265Settings
@Mutable
@NotThreadSafe
public static interface H265Settings.Builder
extends SdkPojo, CopyableBuilder<H265Settings.Builder,H265Settings> 
- 
Method SummaryModifier and TypeMethodDescriptionadaptiveQuantization(String adaptiveQuantization) Enables or disables adaptive quantization (AQ), which is a technique MediaLive can apply to video on a frame-by-frame basis to produce more compression without losing quality.adaptiveQuantization(H265AdaptiveQuantization adaptiveQuantization) Enables or disables adaptive quantization (AQ), which is a technique MediaLive can apply to video on a frame-by-frame basis to produce more compression without losing quality.afdSignaling(String afdSignaling) Indicates that AFD values will be written into the output stream.afdSignaling(AfdSignaling afdSignaling) Indicates that AFD values will be written into the output stream.alternativeTransferFunction(String alternativeTransferFunction) Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.alternativeTransferFunction(H265AlternativeTransferFunction alternativeTransferFunction) Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.Average bitrate in bits/second.Size of buffer (HRD buffer model) in bits.colorMetadata(String colorMetadata) Includes colorspace metadata in the output.colorMetadata(H265ColorMetadata colorMetadata) Includes colorspace metadata in the output.default H265Settings.BuildercolorSpaceSettings(Consumer<H265ColorSpaceSettings.Builder> colorSpaceSettings) Specify the type of color space to apply or choose to pass through.colorSpaceSettings(H265ColorSpaceSettings colorSpaceSettings) Specify the type of color space to apply or choose to pass through.deblocking(String deblocking) Enable or disable the deblocking filter for this codec.deblocking(H265Deblocking deblocking) Enable or disable the deblocking filter for this codec.default H265Settings.BuilderfilterSettings(Consumer<H265FilterSettings.Builder> filterSettings) Optional.filterSettings(H265FilterSettings filterSettings) Optional.Four bit AFD value to write on all frames of video in the output stream.Four bit AFD value to write on all frames of video in the output stream.Flicker AQ makes adjustments within each frame to reduce flicker or 'pop' on I-frames.flickerAq(H265FlickerAq flickerAq) Flicker AQ makes adjustments within each frame to reduce flicker or 'pop' on I-frames.framerateDenominator(Integer framerateDenominator) Framerate denominator.framerateNumerator(Integer framerateNumerator) Framerate numerator - framerate is a fraction, e.g.gopBReference(String gopBReference) Allows the encoder to use a B-Frame as a reference frame as well.gopBReference(H265GopBReference gopBReference) Allows the encoder to use a B-Frame as a reference frame as well.gopClosedCadence(Integer gopClosedCadence) Frequency of closed GOPs.gopNumBFrames(Integer gopNumBFrames) Sets the number of B-frames between reference frames.GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.gopSizeUnits(String gopSizeUnits) Indicates if the gopSize is specified in frames or seconds.gopSizeUnits(H265GopSizeUnits gopSizeUnits) Indicates if the gopSize is specified in frames or seconds.H.265 Level.H.265 Level.lookAheadRateControl(String lookAheadRateControl) Amount of lookahead.lookAheadRateControl(H265LookAheadRateControl lookAheadRateControl) Amount of lookahead.maxBitrate(Integer maxBitrate) For QVBR: See the tooltip for Quality levelminBitrate(Integer minBitrate) Used for QVBR rate control mode only.minIInterval(Integer minIInterval) Only meaningful if sceneChangeDetect is set to enabled.Sets the minimum QP.mvOverPictureBoundaries(String mvOverPictureBoundaries) If you are setting up the picture as a tile, you must set this to "disabled".mvOverPictureBoundaries(H265MvOverPictureBoundaries mvOverPictureBoundaries) If you are setting up the picture as a tile, you must set this to "disabled".mvTemporalPredictor(String mvTemporalPredictor) If you are setting up the picture as a tile, you must set this to "disabled".mvTemporalPredictor(H265MvTemporalPredictor mvTemporalPredictor) If you are setting up the picture as a tile, you must set this to "disabled".parDenominator(Integer parDenominator) Pixel Aspect Ratio denominator.parNumerator(Integer parNumerator) Pixel Aspect Ratio numerator.H.265 Profile.profile(H265Profile profile) H.265 Profile.qvbrQualityLevel(Integer qvbrQualityLevel) Controls the target quality for the video encode.rateControlMode(String rateControlMode) Rate control mode.rateControlMode(H265RateControlMode rateControlMode) Rate control mode.Sets the scan type of the output to progressive or top-field-first interlaced.scanType(H265ScanType scanType) Sets the scan type of the output to progressive or top-field-first interlaced.sceneChangeDetect(String sceneChangeDetect) Scene change detection.sceneChangeDetect(H265SceneChangeDetect sceneChangeDetect) Scene change detection.Number of slices per picture.subgopLength(String subgopLength) Sets the number of B-frames in each sub-GOP.subgopLength(H265SubGopLength subgopLength) Sets the number of B-frames in each sub-GOP.H.265 Tier.H.265 Tier.tileHeight(Integer tileHeight) Set this field to set up the picture as a tile.tilePadding(String tilePadding) Set to "padded" to force MediaLive to add padding to the frame, to obtain a frame that is a whole multiple of the tile size.tilePadding(H265TilePadding tilePadding) Set to "padded" to force MediaLive to add padding to the frame, to obtain a frame that is a whole multiple of the tile size.Set this field to set up the picture as a tile.default H265Settings.BuildertimecodeBurninSettings(Consumer<TimecodeBurninSettings.Builder> timecodeBurninSettings) Timecode burn-in settings This is a convenience method that creates an instance of theTimecodeBurninSettings.Builderavoiding the need to create one manually viaTimecodeBurninSettings.builder().timecodeBurninSettings(TimecodeBurninSettings timecodeBurninSettings) Timecode burn-in settingstimecodeInsertion(String timecodeInsertion) Determines how timecodes should be inserted into the video elementary stream.timecodeInsertion(H265TimecodeInsertionBehavior timecodeInsertion) Determines how timecodes should be inserted into the video elementary stream.treeblockSize(String treeblockSize) Select the tree block size used for encoding.treeblockSize(H265TreeblockSize treeblockSize) Select the tree block size used for encoding.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
adaptiveQuantizationEnables or disables adaptive quantization (AQ), which is a technique MediaLive can apply to video on a frame-by-frame basis to produce more compression without losing quality. There are three types of adaptive quantization: spatial, temporal, and flicker. Flicker is the only type that you can customize. We recommend that you set the field to Auto. For more information about all the options, see the topic about video adaptive quantization in the MediaLive user guide.- Parameters:
- adaptiveQuantization- Enables or disables adaptive quantization (AQ), which is a technique MediaLive can apply to video on a frame-by-frame basis to produce more compression without losing quality. There are three types of adaptive quantization: spatial, temporal, and flicker. Flicker is the only type that you can customize. We recommend that you set the field to Auto. For more information about all the options, see the topic about video adaptive quantization in the MediaLive user guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
adaptiveQuantizationEnables or disables adaptive quantization (AQ), which is a technique MediaLive can apply to video on a frame-by-frame basis to produce more compression without losing quality. There are three types of adaptive quantization: spatial, temporal, and flicker. Flicker is the only type that you can customize. We recommend that you set the field to Auto. For more information about all the options, see the topic about video adaptive quantization in the MediaLive user guide.- Parameters:
- adaptiveQuantization- Enables or disables adaptive quantization (AQ), which is a technique MediaLive can apply to video on a frame-by-frame basis to produce more compression without losing quality. There are three types of adaptive quantization: spatial, temporal, and flicker. Flicker is the only type that you can customize. We recommend that you set the field to Auto. For more information about all the options, see the topic about video adaptive quantization in the MediaLive user guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
afdSignalingIndicates 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.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
afdSignalingIndicates 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.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
alternativeTransferFunctionWhether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.- Parameters:
- alternativeTransferFunction- Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
alternativeTransferFunctionH265Settings.Builder alternativeTransferFunction(H265AlternativeTransferFunction alternativeTransferFunction) Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.- Parameters:
- alternativeTransferFunction- Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
bitrateAverage 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.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bufSizeSize of buffer (HRD buffer model) in bits.- Parameters:
- bufSize- Size of buffer (HRD buffer model) in bits.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
colorMetadataIncludes colorspace metadata in the output.- Parameters:
- colorMetadata- Includes colorspace metadata in the output.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
colorMetadataIncludes colorspace metadata in the output.- Parameters:
- colorMetadata- Includes colorspace metadata in the output.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
colorSpaceSettingsSpecify the type of color space to apply or choose to pass through. The default is to pass through the color space that is in the source.- Parameters:
- colorSpaceSettings- Specify the type of color space to apply or choose to pass through. The default is to pass through the color space that is in the source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
colorSpaceSettingsdefault H265Settings.Builder colorSpaceSettings(Consumer<H265ColorSpaceSettings.Builder> colorSpaceSettings) Specify the type of color space to apply or choose to pass through. The default is to pass through the color space that is in the source. This is a convenience method that creates an instance of theH265ColorSpaceSettings.Builderavoiding the need to create one manually viaH265ColorSpaceSettings.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolorSpaceSettings(H265ColorSpaceSettings).- Parameters:
- colorSpaceSettings- a consumer that will call methods on- H265ColorSpaceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
filterSettingsOptional. Both filters reduce bandwidth by removing imperceptible details. You can enable one of the filters. We recommend that you try both filters and observe the results to decide which one to use. The Temporal Filter reduces bandwidth by removing imperceptible details in the content. It combines perceptual filtering and motion compensated temporal filtering (MCTF). It operates independently of the compression level. The Bandwidth Reduction filter is a perceptual filter located within the encoding loop. It adapts to the current compression level to filter imperceptible signals. This filter works only when the resolution is 1080p or lower.- Parameters:
- filterSettings- Optional. Both filters reduce bandwidth by removing imperceptible details. You can enable one of the filters. We recommend that you try both filters and observe the results to decide which one to use. The Temporal Filter reduces bandwidth by removing imperceptible details in the content. It combines perceptual filtering and motion compensated temporal filtering (MCTF). It operates independently of the compression level. The Bandwidth Reduction filter is a perceptual filter located within the encoding loop. It adapts to the current compression level to filter imperceptible signals. This filter works only when the resolution is 1080p or lower.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
filterSettingsOptional. Both filters reduce bandwidth by removing imperceptible details. You can enable one of the filters. We recommend that you try both filters and observe the results to decide which one to use. The Temporal Filter reduces bandwidth by removing imperceptible details in the content. It combines perceptual filtering and motion compensated temporal filtering (MCTF). It operates independently of the compression level. The Bandwidth Reduction filter is a perceptual filter located within the encoding loop. It adapts to the current compression level to filter imperceptible signals. This filter works only when the resolution is 1080p or lower. This is a convenience method that creates an instance of theH265FilterSettings.Builderavoiding the need to create one manually viaH265FilterSettings.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilterSettings(H265FilterSettings).- Parameters:
- filterSettings- a consumer that will call methods on- H265FilterSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fixedAfdFour bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.- Parameters:
- fixedAfd- Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fixedAfdFour bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.- Parameters:
- fixedAfd- Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
flickerAqFlicker AQ makes adjustments within each frame to reduce flicker or 'pop' on I-frames. The value to enter in this field depends on the value in the Adaptive quantization field. For more information, see the topic about video adaptive quantization in the MediaLive user guide.- Parameters:
- flickerAq- Flicker AQ makes adjustments within each frame to reduce flicker or 'pop' on I-frames. The value to enter in this field depends on the value in the Adaptive quantization field. For more information, see the topic about video adaptive quantization in the MediaLive user guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
flickerAqFlicker AQ makes adjustments within each frame to reduce flicker or 'pop' on I-frames. The value to enter in this field depends on the value in the Adaptive quantization field. For more information, see the topic about video adaptive quantization in the MediaLive user guide.- Parameters:
- flickerAq- Flicker AQ makes adjustments within each frame to reduce flicker or 'pop' on I-frames. The value to enter in this field depends on the value in the Adaptive quantization field. For more information, see the topic about video adaptive quantization in the MediaLive user guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
framerateDenominatorFramerate denominator.- Parameters:
- framerateDenominator- Framerate denominator.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
framerateNumeratorFramerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.- Parameters:
- framerateNumerator- Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
gopClosedCadenceFrequency 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.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
gopSizeGOP 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.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
gopSizeUnitsIndicates if the gopSize is specified in frames or seconds. If seconds the system will convert the gopSize into a frame count at run time.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
gopSizeUnitsIndicates if the gopSize is specified in frames or seconds. If seconds the system will convert the gopSize into a frame count at run time.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
levelH.265 Level.- Parameters:
- level- H.265 Level.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
levelH.265 Level.- Parameters:
- level- H.265 Level.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lookAheadRateControlAmount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.- Parameters:
- lookAheadRateControl- Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
lookAheadRateControlAmount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.- Parameters:
- lookAheadRateControl- Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
maxBitrateFor QVBR: See the tooltip for Quality level- Parameters:
- maxBitrate- For QVBR: See the tooltip for Quality level
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
minIIntervalOnly 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 - 1- Parameters:
- 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 - 1
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
parDenominatorPixel Aspect Ratio denominator.- Parameters:
- parDenominator- Pixel Aspect Ratio denominator.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
parNumeratorPixel Aspect Ratio numerator.- Parameters:
- parNumerator- Pixel Aspect Ratio numerator.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
profileH.265 Profile.- Parameters:
- profile- H.265 Profile.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
profileH.265 Profile.- Parameters:
- profile- H.265 Profile.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
qvbrQualityLevelControls 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: - Primary screen: Quality level: 8 to 10. Max bitrate: 4M - PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M - Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M- Parameters:
- 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: - Primary screen: Quality level: 8 to 10. Max bitrate: 4M - PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M - Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rateControlModeRate 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.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
rateControlModeRate 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.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scanTypeSets the scan type of the output to progressive or top-field-first interlaced.- Parameters:
- scanType- Sets the scan type of the output to progressive or top-field-first interlaced.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scanTypeSets the scan type of the output to progressive or top-field-first interlaced.- Parameters:
- scanType- Sets the scan type of the output to progressive or top-field-first interlaced.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sceneChangeDetectScene change detection.- Parameters:
- sceneChangeDetect- Scene change detection.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sceneChangeDetectScene change detection.- Parameters:
- sceneChangeDetect- Scene change detection.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
slicesNumber 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.- Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tierH.265 Tier.- Parameters:
- tier- H.265 Tier.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tierH.265 Tier.- Parameters:
- tier- H.265 Tier.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timecodeInsertionDetermines 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 Config- Parameters:
- 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 Config
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timecodeInsertionDetermines 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 Config- Parameters:
- 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 Config
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timecodeBurninSettingsTimecode burn-in settings- Parameters:
- timecodeBurninSettings- Timecode burn-in settings
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timecodeBurninSettingsdefault H265Settings.Builder timecodeBurninSettings(Consumer<TimecodeBurninSettings.Builder> timecodeBurninSettings) Timecode burn-in settings This is a convenience method that creates an instance of theTimecodeBurninSettings.Builderavoiding the need to create one manually viaTimecodeBurninSettings.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimecodeBurninSettings(TimecodeBurninSettings).- Parameters:
- timecodeBurninSettings- a consumer that will call methods on- TimecodeBurninSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
mvOverPictureBoundariesIf you are setting up the picture as a tile, you must set this to "disabled". In all other configurations, you typically enter "enabled".- Parameters:
- mvOverPictureBoundaries- If you are setting up the picture as a tile, you must set this to "disabled". In all other configurations, you typically enter "enabled".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
mvOverPictureBoundariesIf you are setting up the picture as a tile, you must set this to "disabled". In all other configurations, you typically enter "enabled".- Parameters:
- mvOverPictureBoundaries- If you are setting up the picture as a tile, you must set this to "disabled". In all other configurations, you typically enter "enabled".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
mvTemporalPredictorIf you are setting up the picture as a tile, you must set this to "disabled". In other configurations, you typically enter "enabled".- Parameters:
- mvTemporalPredictor- If you are setting up the picture as a tile, you must set this to "disabled". In other configurations, you typically enter "enabled".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
mvTemporalPredictorIf you are setting up the picture as a tile, you must set this to "disabled". In other configurations, you typically enter "enabled".- Parameters:
- mvTemporalPredictor- If you are setting up the picture as a tile, you must set this to "disabled". In other configurations, you typically enter "enabled".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tileHeightSet this field to set up the picture as a tile. You must also set tileWidth. The tile height must result in 22 or fewer rows in the frame. The tile width must result in 20 or fewer columns in the frame. And finally, the product of the column count and row count must be 64 of less. If the tile width and height are specified, MediaLive will override the video codec slices field with a value that MediaLive calculates- Parameters:
- tileHeight- Set this field to set up the picture as a tile. You must also set tileWidth. The tile height must result in 22 or fewer rows in the frame. The tile width must result in 20 or fewer columns in the frame. And finally, the product of the column count and row count must be 64 of less. If the tile width and height are specified, MediaLive will override the video codec slices field with a value that MediaLive calculates
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tilePaddingSet to "padded" to force MediaLive to add padding to the frame, to obtain a frame that is a whole multiple of the tile size. If you are setting up the picture as a tile, you must enter "padded". In all other configurations, you typically enter "none".- Parameters:
- tilePadding- Set to "padded" to force MediaLive to add padding to the frame, to obtain a frame that is a whole multiple of the tile size. If you are setting up the picture as a tile, you must enter "padded". In all other configurations, you typically enter "none".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tilePaddingSet to "padded" to force MediaLive to add padding to the frame, to obtain a frame that is a whole multiple of the tile size. If you are setting up the picture as a tile, you must enter "padded". In all other configurations, you typically enter "none".- Parameters:
- tilePadding- Set to "padded" to force MediaLive to add padding to the frame, to obtain a frame that is a whole multiple of the tile size. If you are setting up the picture as a tile, you must enter "padded". In all other configurations, you typically enter "none".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tileWidthSet this field to set up the picture as a tile. See tileHeight for more information.- Parameters:
- tileWidth- Set this field to set up the picture as a tile. See tileHeight for more information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
treeblockSizeSelect the tree block size used for encoding. If you enter "auto", the encoder will pick the best size. If you are setting up the picture as a tile, you must set this to 32x32. In all other configurations, you typically enter "auto".- Parameters:
- treeblockSize- Select the tree block size used for encoding. If you enter "auto", the encoder will pick the best size. If you are setting up the picture as a tile, you must set this to 32x32. In all other configurations, you typically enter "auto".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
treeblockSizeSelect the tree block size used for encoding. If you enter "auto", the encoder will pick the best size. If you are setting up the picture as a tile, you must set this to 32x32. In all other configurations, you typically enter "auto".- Parameters:
- treeblockSize- Select the tree block size used for encoding. If you enter "auto", the encoder will pick the best size. If you are setting up the picture as a tile, you must set this to 32x32. In all other configurations, you typically enter "auto".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
minQpSets the minimum QP. If you aren't familiar with quantization adjustment, leave the field empty. MediaLive will apply an appropriate value.- Parameters:
- minQp- Sets the minimum QP. If you aren't familiar with quantization adjustment, leave the field empty. MediaLive will apply an appropriate value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
deblockingEnable or disable the deblocking filter for this codec. The filter reduces blocking artifacts at block boundaries, which improves overall video quality. If the filter is disabled, visible block edges might appear in the output, especially at lower bitrates.- Parameters:
- deblocking- Enable or disable the deblocking filter for this codec. The filter reduces blocking artifacts at block boundaries, which improves overall video quality. If the filter is disabled, visible block edges might appear in the output, especially at lower bitrates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
deblockingEnable or disable the deblocking filter for this codec. The filter reduces blocking artifacts at block boundaries, which improves overall video quality. If the filter is disabled, visible block edges might appear in the output, especially at lower bitrates.- Parameters:
- deblocking- Enable or disable the deblocking filter for this codec. The filter reduces blocking artifacts at block boundaries, which improves overall video quality. If the filter is disabled, visible block edges might appear in the output, especially at lower bitrates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
gopBReferenceAllows the encoder to use a B-Frame as a reference frame as well. ENABLED: B-frames will also serve as reference frames. DISABLED: B-frames won't be reference frames. Must be DISABLED if resolution is greater than 1080p or when using tiled hevc encoding.- Parameters:
- gopBReference- Allows the encoder to use a B-Frame as a reference frame as well. ENABLED: B-frames will also serve as reference frames. DISABLED: B-frames won't be reference frames. Must be DISABLED if resolution is greater than 1080p or when using tiled hevc encoding.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
gopBReferenceAllows the encoder to use a B-Frame as a reference frame as well. ENABLED: B-frames will also serve as reference frames. DISABLED: B-frames won't be reference frames. Must be DISABLED if resolution is greater than 1080p or when using tiled hevc encoding.- Parameters:
- gopBReference- Allows the encoder to use a B-Frame as a reference frame as well. ENABLED: B-frames will also serve as reference frames. DISABLED: B-frames won't be reference frames. Must be DISABLED if resolution is greater than 1080p or when using tiled hevc encoding.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
gopNumBFramesSets the number of B-frames between reference frames. Set to 2 if resolution is greater than 1080p or when using tiled hevc encoding.- Parameters:
- gopNumBFrames- Sets the number of B-frames between reference frames. Set to 2 if resolution is greater than 1080p or when using tiled hevc encoding.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
minBitrateUsed for QVBR rate control mode only. Optional. Enter a minimum bitrate if you want to keep the output bitrate about a threshold, in order to prevent the downstream system from de-allocating network bandwidth for this output.- Parameters:
- minBitrate- Used for QVBR rate control mode only. Optional. Enter a minimum bitrate if you want to keep the output bitrate about a threshold, in order to prevent the downstream system from de-allocating network bandwidth for this output.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subgopLengthSets the number of B-frames in each sub-GOP. FIXED: Use the value in Num B-frames. DYNAMIC: Optimizes the number of B-frames in each sub-GOP to improve visual quality. Must be FIXED if resolution is greater than 1080p or when using tiled hevc encoding.- Parameters:
- subgopLength- Sets the number of B-frames in each sub-GOP. FIXED: Use the value in Num B-frames. DYNAMIC: Optimizes the number of B-frames in each sub-GOP to improve visual quality. Must be FIXED if resolution is greater than 1080p or when using tiled hevc encoding.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subgopLengthSets the number of B-frames in each sub-GOP. FIXED: Use the value in Num B-frames. DYNAMIC: Optimizes the number of B-frames in each sub-GOP to improve visual quality. Must be FIXED if resolution is greater than 1080p or when using tiled hevc encoding.- Parameters:
- subgopLength- Sets the number of B-frames in each sub-GOP. FIXED: Use the value in Num B-frames. DYNAMIC: Optimizes the number of B-frames in each sub-GOP to improve visual quality. Must be FIXED if resolution is greater than 1080p or when using tiled hevc encoding.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-