H265Settings

H265 Settings

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.

Link copied to clipboard

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.

Link copied to clipboard

Whether or not EML should insert an Alternative Transfer Function SEI message to support backwards compatibility with non-HDR decoders and displays.

Link copied to clipboard
val bitrate: Int?

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.

Link copied to clipboard
val bufSize: Int?

Size of buffer (HRD buffer model) in bits.

Link copied to clipboard

Includes colorspace metadata in the output.

Link copied to clipboard

Color Space settings

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.

Link copied to clipboard

If set to enabled, adjust quantization within each frame to reduce flicker or 'pop' on I-frames.

Link copied to clipboard

Framerate denominator.

Link copied to clipboard

Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

H.265 Level.

Link copied to clipboard

Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.

Link copied to clipboard

For QVBR: See the tooltip for Quality level

Link copied to clipboard

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

Link copied to clipboard
val minQp: Int?

Sets the minimum QP. If you aren't familiar with quantization adjustment, leave the field empty. MediaLive will apply an appropriate value.

Link copied to clipboard

If you are setting up the picture as a tile, you must set this to "disabled". In all other configurations, you typically enter "enabled".

Link copied to clipboard

If you are setting up the picture as a tile, you must set this to "disabled". In other configurations, you typically enter "enabled".

Link copied to clipboard

Pixel Aspect Ratio denominator.

Link copied to clipboard

Pixel Aspect Ratio numerator.

Link copied to clipboard

H.265 Profile.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

Sets the scan type of the output to progressive or top-field-first interlaced.

Link copied to clipboard

Scene change detection.

Link copied to clipboard
val slices: Int?

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.

Link copied to clipboard

H.265 Tier.

Link copied to clipboard

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

Link copied to clipboard

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".

Link copied to clipboard

Set this field to set up the picture as a tile. See tileHeight for more information.

Link copied to clipboard

Timecode burn-in settings

Link copied to clipboard

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

Link copied to clipboard

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".

Functions

Link copied to clipboard
inline fun copy(block: H265Settings.Builder.() -> Unit = {}): H265Settings
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String