Class H265Settings
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<H265Settings.Builder,H265Settings>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal H265AdaptiveQuantizationAdaptive quantization.final StringAdaptive quantization.final AfdSignalingIndicates that AFD values will be written into the output stream.final StringIndicates that AFD values will be written into the output stream.Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.final StringWhether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.final Integerbitrate()Average bitrate in bits/second.final IntegerbufSize()Size of buffer (HRD buffer model) in bits.static H265Settings.Builderbuilder()final H265ColorMetadataIncludes colorspace metadata in the output.final StringIncludes colorspace metadata in the output.final H265ColorSpaceSettingsColor Space settingsfinal booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final H265FilterSettingsOptional filters that you can apply to an encode.final FixedAfdfixedAfd()Four bit AFD value to write on all frames of video in the output stream.final StringFour bit AFD value to write on all frames of video in the output stream.final H265FlickerAqIf set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.final StringIf set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.final IntegerFramerate denominator.final IntegerFramerate numerator - framerate is a fraction, e.g.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final IntegerFrequency of closed GOPs.final DoublegopSize()GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.final H265GopSizeUnitsIndicates if the gopSize is specified in frames or seconds.final StringIndicates if the gopSize is specified in frames or seconds.final inthashCode()final H265Levellevel()H.265 Level.final StringH.265 Level.final H265LookAheadRateControlAmount of lookahead.final StringAmount of lookahead.final IntegerFor QVBR: See the tooltip for Quality levelfinal IntegerOnly meaningful if sceneChangeDetect is set to enabled.final IntegerPixel Aspect Ratio denominator.final IntegerPixel Aspect Ratio numerator.final H265Profileprofile()H.265 Profile.final StringH.265 Profile.final IntegerControls the target quality for the video encode.final H265RateControlModeRate control mode.final StringRate control mode.final H265ScanTypescanType()Sets the scan type of the output to progressive or top-field-first interlaced.final StringSets the scan type of the output to progressive or top-field-first interlaced.final H265SceneChangeDetectScene change detection.final StringScene change detection.static Class<? extends H265Settings.Builder> final Integerslices()Number of slices per picture.final H265Tiertier()H.265 Tier.final StringH.265 Tier.final TimecodeBurninSettingsTimecode burn-in settingsDetermines how timecodes should be inserted into the video elementary stream.final StringDetermines how timecodes should be inserted into the video elementary stream.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
adaptiveQuantization
Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.If the service returns an enum value that is not available in the current SDK version,
adaptiveQuantizationwill returnH265AdaptiveQuantization.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadaptiveQuantizationAsString().- Returns:
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
- See Also:
-
adaptiveQuantizationAsString
Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.If the service returns an enum value that is not available in the current SDK version,
adaptiveQuantizationwill returnH265AdaptiveQuantization.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadaptiveQuantizationAsString().- Returns:
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.
- See Also:
-
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.If the service returns an enum value that is not available in the current SDK version,
afdSignalingwill returnAfdSignaling.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromafdSignalingAsString().- Returns:
- 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.
- See Also:
-
afdSignalingAsString
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.If the service returns an enum value that is not available in the current SDK version,
afdSignalingwill returnAfdSignaling.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromafdSignalingAsString().- Returns:
- 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.
- See Also:
-
alternativeTransferFunction
Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.If the service returns an enum value that is not available in the current SDK version,
alternativeTransferFunctionwill returnH265AlternativeTransferFunction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalternativeTransferFunctionAsString().- Returns:
- Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.
- See Also:
-
alternativeTransferFunctionAsString
Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.If the service returns an enum value that is not available in the current SDK version,
alternativeTransferFunctionwill returnH265AlternativeTransferFunction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalternativeTransferFunctionAsString().- Returns:
- Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.
- See Also:
-
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:
- 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.
-
bufSize
Size of buffer (HRD buffer model) in bits.- Returns:
- Size of buffer (HRD buffer model) in bits.
-
colorMetadata
Includes colorspace metadata in the output.If the service returns an enum value that is not available in the current SDK version,
colorMetadatawill returnH265ColorMetadata.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorMetadataAsString().- Returns:
- Includes colorspace metadata in the output.
- See Also:
-
colorMetadataAsString
Includes colorspace metadata in the output.If the service returns an enum value that is not available in the current SDK version,
colorMetadatawill returnH265ColorMetadata.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorMetadataAsString().- Returns:
- Includes colorspace metadata in the output.
- See Also:
-
colorSpaceSettings
Color Space settings- Returns:
- Color Space settings
-
filterSettings
Optional filters that you can apply to an encode.- Returns:
- Optional filters that you can apply to an encode.
-
fixedAfd
Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.If the service returns an enum value that is not available in the current SDK version,
fixedAfdwill returnFixedAfd.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfixedAfdAsString().- Returns:
- Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.
- See Also:
-
fixedAfdAsString
Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.If the service returns an enum value that is not available in the current SDK version,
fixedAfdwill returnFixedAfd.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfixedAfdAsString().- Returns:
- Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.
- See Also:
-
flickerAq
If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.If the service returns an enum value that is not available in the current SDK version,
flickerAqwill returnH265FlickerAq.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromflickerAqAsString().- Returns:
- If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
- See Also:
-
flickerAqAsString
If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.If the service returns an enum value that is not available in the current SDK version,
flickerAqwill returnH265FlickerAq.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromflickerAqAsString().- Returns:
- If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.
- See Also:
-
framerateDenominator
Framerate denominator.- Returns:
- Framerate denominator.
-
framerateNumerator
Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.- Returns:
- Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.
-
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:
- 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.
-
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:
- 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.
-
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.If the service returns an enum value that is not available in the current SDK version,
gopSizeUnitswill returnH265GopSizeUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgopSizeUnitsAsString().- Returns:
- 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.
- See Also:
-
gopSizeUnitsAsString
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.If the service returns an enum value that is not available in the current SDK version,
gopSizeUnitswill returnH265GopSizeUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgopSizeUnitsAsString().- Returns:
- 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.
- See Also:
-
level
H.265 Level.If the service returns an enum value that is not available in the current SDK version,
levelwill returnH265Level.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlevelAsString().- Returns:
- H.265 Level.
- See Also:
-
levelAsString
H.265 Level.If the service returns an enum value that is not available in the current SDK version,
levelwill returnH265Level.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlevelAsString().- Returns:
- H.265 Level.
- See Also:
-
lookAheadRateControl
Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.If the service returns an enum value that is not available in the current SDK version,
lookAheadRateControlwill returnH265LookAheadRateControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlookAheadRateControlAsString().- Returns:
- Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
- See Also:
-
lookAheadRateControlAsString
Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.If the service returns an enum value that is not available in the current SDK version,
lookAheadRateControlwill returnH265LookAheadRateControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlookAheadRateControlAsString().- Returns:
- Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
- See Also:
-
maxBitrate
For QVBR: See the tooltip for Quality level- Returns:
- For QVBR: See the tooltip for Quality level
-
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:
- 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
-
parDenominator
Pixel Aspect Ratio denominator.- Returns:
- Pixel Aspect Ratio denominator.
-
parNumerator
Pixel Aspect Ratio numerator.- Returns:
- Pixel Aspect Ratio numerator.
-
profile
H.265 Profile.If the service returns an enum value that is not available in the current SDK version,
profilewill returnH265Profile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprofileAsString().- Returns:
- H.265 Profile.
- See Also:
-
profileAsString
H.265 Profile.If the service returns an enum value that is not available in the current SDK version,
profilewill returnH265Profile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprofileAsString().- Returns:
- H.265 Profile.
- See Also:
-
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:
- 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
-
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.If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnH265RateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- 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.
- See Also:
-
rateControlModeAsString
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.If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnH265RateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- 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.
- See Also:
-
scanType
Sets the scan type of the output to progressive or top-field-first interlaced.If the service returns an enum value that is not available in the current SDK version,
scanTypewill returnH265ScanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanTypeAsString().- Returns:
- Sets the scan type of the output to progressive or top-field-first interlaced.
- See Also:
-
scanTypeAsString
Sets the scan type of the output to progressive or top-field-first interlaced.If the service returns an enum value that is not available in the current SDK version,
scanTypewill returnH265ScanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanTypeAsString().- Returns:
- Sets the scan type of the output to progressive or top-field-first interlaced.
- See Also:
-
sceneChangeDetect
Scene change detection.If the service returns an enum value that is not available in the current SDK version,
sceneChangeDetectwill returnH265SceneChangeDetect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsceneChangeDetectAsString().- Returns:
- Scene change detection.
- See Also:
-
sceneChangeDetectAsString
Scene change detection.If the service returns an enum value that is not available in the current SDK version,
sceneChangeDetectwill returnH265SceneChangeDetect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsceneChangeDetectAsString().- Returns:
- Scene change detection.
- See Also:
-
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:
- 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.
-
tier
H.265 Tier.If the service returns an enum value that is not available in the current SDK version,
tierwill returnH265Tier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtierAsString().- Returns:
- H.265 Tier.
- See Also:
-
tierAsString
H.265 Tier.If the service returns an enum value that is not available in the current SDK version,
tierwill returnH265Tier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtierAsString().- Returns:
- H.265 Tier.
- See Also:
-
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 ConfigIf the service returns an enum value that is not available in the current SDK version,
timecodeInsertionwill returnH265TimecodeInsertionBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimecodeInsertionAsString().- Returns:
- 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
- See Also:
-
timecodeInsertionAsString
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 ConfigIf the service returns an enum value that is not available in the current SDK version,
timecodeInsertionwill returnH265TimecodeInsertionBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimecodeInsertionAsString().- Returns:
- 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
- See Also:
-
timecodeBurninSettings
Timecode burn-in settings- Returns:
- Timecode burn-in settings
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<H265Settings.Builder,H265Settings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-