BitmovinApiSdk\Models\H265VideoConfiguration

Synopsis

class H265VideoConfiguration extends VideoConfiguration {
  • // Inherited members from BitmovinResponse
  • public string $id;
  • // Inherited methods from CodecConfiguration
  • public void __construct()
  • // Inherited methods from BitmovinResponse
  • public void __construct()
  • // Inherited methods from ApiResource
  • public void __construct()
  • public static $this create()
  • public void toArray()
}

Hierarchy

Members

public

Methods

public

  • __construct()
  • adaptiveQuantizationMode() — Controls the adaptive quantization algorithm
  • adaptiveQuantizationMotion() — Adjust the AQ offsets based on the relative motion of each block with respect to the motion of the frame. Default false.
  • adaptiveQuantizationStrength() — Adjust the strength of the adaptive quantization offsets. Default 1.0.
  • allowedRADLBeforeIDR() — Number of RADL pictures allowed infront of IDR. Requires fixed keyframe interval. Valid values 0 - `bframes`. Default 0.
  • analyzeSourceFramePixels() — Enable motion estimation with source frame pixels, in this mode, motion estimation can be computed independently. Default false.
  • asymetricMotionPartitionsAnalysis() — Enable analysis of asymmetric motion partitions.
  • autoLevelSetup() — Enable/disable automatic calculation of level, maxBitrate, and bufsize based on the least level that satisfies maximum property values for picture resolution, frame rate, and bit rate. In the case the target level is set explicitly, the maximum bitrate and buffer size are calculated based on the defined level. Explicitly setting maxBitrate, or bufsize properties will disable the automatic calculation.
  • bAdapt() — Set the level of effort in determining B frame placement
  • bframeBias() — Bias towards B frames in slicetype decision. The higher the bias the more likely the encoder is to use B frames. Default 0
  • bframes() — Amount of b frames
  • blurComplexity() — Temporally blur complexity. Default 20.0
  • blurQuants() — Temporally blur quants. Default 0.5
  • bufsize() — Size of the VBV buffer (kbits)
  • cea608708SubtitleConfig() — Defines whether CEA 608/708 subtitles are extracted from the input video stream
  • codingUnitLossless() — If enabled, consider lossless mode in CU RDO decisions. Default is disabled.
  • constrainedIntraPrediction() — When generating intra predictions for blocks in inter slices, only intra-coded reference pixels are used. Default false.
  • copyPicture() — Copy buffers of input picture in frame. Default is enabled.
  • crf() — Constant rate factor for quality-based variable bitrate. Either bitrate or crf is required.
  • cutree() — Enables the use of lookahead’s lowres motion vector fields to determine the amount of reuse of each block to tune adaptive quantization factors.
  • dynamicRangeFormat() — Automatically configures the H265 Video Codec to be compatible with the given SDR/HDR format. Bitmovin recommends to use the dynamic range format together with a preset configuration to achieve good results. Explicitly configured properties will take precedence over dynamic range format settings, which in turn will take precedence over preset configurations.
  • dynamicRateDistortionStrength() — Increases the RD level at points where quality drops due to VBV rate control enforcement. Default 0.
  • earlySkip() — Measure 2Nx2N merge candidates first; if no residual is found, additional modes at that depth are not analysed.
  • enableHlgSignaling() — Enable SDR compatible HLG signaling. The container and bitstream will indicate BT.2020 but ARIB STD-B67 will be signaled in the alternative transfer characteristics SEI message.
  • enableHrdSignaling() — Signal hypothetical reference decoder (HRD) information
  • evaluationOfIntraModesInBSlices() — Enables the evaluation of intra modes in B slices.
  • fastSearchForAngularIntraPredictions() — Enable faster search method for angular intra predictions.
  • forceFlush() — Force the encoder to flush frames. Default is DISABLED.
  • gopLookahead() — Number of frames for GOP boundary decision lookahead. Valid values 0 - `rcLookahead`. Default 0
  • grainOptimizedRateControl() — Enables a specialised ratecontrol algorithm for film grain content. Default false.
  • hdr() — Force signaling of HDR parameters in SEI packets. Enabled automatically when masterDisplay or maxContentLightLevel/maxPictureAverageLightLevel are set. Useful when there is a desire to signal 0 values for maxContentLightLevel and maxPictureAverageLightLevel.
  • ipRatio() — QP ratio factor between I and P slices. This ratio is used in all of the rate control modes. Default 1.4
  • level() — level
  • levelHighTier() — If high tier is disabled the encoder will attempt to encode only at the main tier. Default is enabled.
  • limitModes() — When enabled, will limit modes analyzed for each CU using cost metrics from the 4 sub-CUs. This can significantly improve performance when `rectangularMotionPartitionsAnalysis` and/or `asymetricMotionPartitionsAnalysis` are enabled at minimal compression efficiency loss.
  • limitReferences() — If enabled, limit references per depth, CU or both.
  • limitSao() — Limit SAO filter computation by early terminating SAO process based on inter prediction mode, CTU spatial-domain correlations, and relations between luma and chroma. Default false.
  • limitTransformUnitDepthRecursion() — Enables early exit from transform unit depth recursion, for inter coded blocks. Default is DISABLED.
  • lookaheadSlices() — Use multiple worker threads to measure the estimated cost of each frame within the lookahead. The higher this parameter, the less accurate the frame costs will be which will result in less accurate B-frame and scene-cut decisions. Valid range: 0 - 16
  • lowpassDct() — Will use low-pass subband dct approximation instead of the standard dct for 16x16 and 32x32 blocks. Default false.
  • masterDisplay() — Set the mastering display color volume SEI info (SMPTE ST 2086). For example `G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)` describes a P3D65 1000-nits monitor, where G(x=0.265, y=0.690), B(x=0.150, y=0.060), R(x=0.680, y=0.320), WP(x=0.3127, y=0.3290), L(max=1000, min=0.0001). Part of HDR-10 metadata. If used on a Dolby Vision stream, this value must be set to `G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)`.
  • maxBitrate() — Maximum Bitrate
  • maxCTUSize() — maxCTUSize
  • maxContentLightLevel() — Set the max content light level (MaxCLL). Use together with maxPictureAverageLightLevel (which will be 0 if not set). Part of HDR-10 metadata.
  • maxGop() — Maximum GOP length, the maximum distance between I-frames
  • maxKeyframeInterval() — Maximum interval in seconds between key frames
  • maxMerge() — Maximum number of neighbor (spatial and temporal) candidate blocks that the encoder may consider for merging motion predictions. Valid range: 1 - 5
  • maxPictureAverageLightLevel() — Set the maximum picture average light level (MaxFALL). Use together with maxContentLightLevel (which will be 0 if not set). Part of HDR-10 metadata.
  • maximumTransformUnitSize() — Penalty for 32x32 intra transform units in non-I slices. Default DISABLED.
  • minBitrate() — Minimum Bitrate
  • minCodingUnitSize() — Minimum CU size (width and height). By using 16 or 32 the encoder will not analyze the cost of CUs below that minimum threshold, saving considerable amounts of compute with a predictable increase in bitrate. This setting has a large effect on performance on the faster presets.
  • minGop() — Minimum GOP length, the minimum distance between I-frames
  • minKeyframeInterval() — Minimum interval in seconds between key frames
  • motionSearch() — motionSearch
  • motionSearchRange() — Set the Motion search range.
  • noiseReductionInter() — An integer value, which denotes strength of noise reduction in inter CUs. Default 0.
  • noiseReductionIntra() — An integer value, which denotes strength of noise reduction in intra CUs. Default 0.
  • openGop() — Enable open-gop, allows referencing frames from a previous gop
  • pbRatio() — QP ratio factor between P and B slices. This ratio is used in all of the rate control modes. Default 1.3
  • presetConfiguration() — Choose from a set of preset configurations tailored for common use cases. Check out [H265 Presets](https://bitmovin.com/docs/encoding/tutorials/h265-presets) to see which values get applied by each preset. Explicitly setting a property to a different value will override the preset's value for that property.
  • profile() — profile
  • psyRateDistortionOptimization() — Psycho-visual rate-distortion retains fine details like film grain at the expense of more blocking artifacts. Higher values make the video appear sharper and more detailed but with a higher risk of blocking artifacts. Needs to have subMe with RD_IP, RD_ALL, RD_REF_IP, RD_REF_ALL, QPRD or FULL_RD
  • psyRateDistortionOptimizedQuantization() — Strength of psycho-visual optimizations in quantization. Only has an effect in presets which use RDOQ (rd-levels 4 and 5). The value must be between 0 and 50, 1.0 is typical
  • qp() — Quantization factor
  • qpMax() — Maximum quantization factor. Valid value range: 0 - 69
  • qpMin() — Minimum quantization factor. Valid value range: 0 - 69
  • qpOffsetChromaCb() — Offset of Cb chroma QP from the luma QP selected by rate control. This is a general way to spend more or less bits on the chroma channel. Default 0
  • qpOffsetChromaCr() — Offset of Cr chroma QP from the luma QP selected by rate control. This is a general way to spend more or less bits on the chroma channel. Default 0
  • qpStep() — The maximum single adjustment in QP allowed to rate control. Default 4
  • quantizationGroupSize() — Enable adaptive quantization for sub-CTUs. This parameter specifies the minimum CU size at which QP can be adjusted. Default is same as `maxCTUSize`.
  • quantizerCurveCompressionFactor() — Quantizer curve compression factor. It weights the frame quantizer based on the complexity of residual (measured by lookahead). Default 0.6
  • rateDistortionLevelForModeDecision() — Level of rate-distortion optimization in mode decision. The lower the value the faster the encode, the higher the value higher the compression efficiency. Valid range: 0 - 4
  • rateDistortionLevelForQuantization() — Specifies the amount of rate-distortion analysis to use within quantization.
  • rateDistortionPenalty() — Penalty for 32x32 intra transform units in non-I slices. Default DISABLED.
  • rcLookahead() — Number of frames for slice-type decision lookahead
  • rectangularMotionPartitionsAnalysis() — Enable analysis of rectangular motion partitions Nx2N and 2NxN.
  • recursionSkip() — If enabled exits early from CU depth recursion. When a skip CU is found, additional heuristics are used to decide whether to terminate recursion.
  • refFrames() — Amount of reference frames
  • refineRateDistortionCost() — Enable QP based rate distortion refinement. Default is disabled.
  • sao() — Toggle sample adaptive offset loop filter
  • saoNonDeblock() — Specify how to handle depencency between SAO and deblocking filter. When enabled, non-deblocked pixels are used for SAO analysis. When disabled, SAO analysis skips the right/bottom boundary areas. Default false.
  • sceneCutThreshold() — Scene Change sensitivity. The higher the value, the more likely an I-Frame will be inserted. Set to 0 to disable it.
  • scenecutBias() — This value represents the percentage difference between the inter cost and intra cost of a frame used in scenecut detection. Default 5.0.
  • signHide() — Hide sign bit of one coefficient per coding tree unit.
  • skipSplitRateDistortionAnalysis() — Enable skipping split rate distortion analysis when sum of split CU RD cost larger than one split CU RD cost for intra CU. Default disabled.
  • slices() — Encode each incoming frame as multiple parallel slices that may be decoded independently. Default is 1.
  • ssimRateDistortionOptimization() — It is used for mode selection during analysis of CTUs and can achieve significant gain in terms of objective quality metrics SSIM and PSNR. Default false.
  • strictCbr() — Enables stricter conditions to control bitrate deviance from the target bitrate in ABR mode. Bit rate adherence is prioritised over quality. Default false.
  • strongIntraSmoothing() — Enable strong intra smoothing for 32x32 intra blocks. Default true.
  • subMe() — Set the amount of subpel refinement to perform.
  • temporalMotionVectorPredictors() — Enable temporal motion vector predictors in P and B slices. Default true.
  • transformSkip() — Enable evaluation of transform skip (bypass DCT but still use quantization) coding for 4x4 TU coded blocks. Default is NONE.
  • tuInterDepth() — tuInterDepth
  • tuIntraDepth() — tuIntraDepth
  • videoFormat() — Specifies the source format of the original analog video prior to digitizing and encoding
  • wavefrontParallelProcessing() — The encoder may begin encoding a row as soon as the row above it is at least two CTUs ahead in the encode process. Default is enabled.
  • weightPredictionOnBSlice() — Enable weighted prediction in B slices
  • weightPredictionOnPSlice() — Enable weighted prediction in P slices

Inherited from BitmovinApiSdk\Models\VideoConfiguration

public

  • bitrate() — Target bitrate for the encoded video in bps. Either bitrate or crf is required.
  • colorConfig() — colorConfig
  • displayAspectRatio() — Specifies a display aspect ratio (DAR) to be enforced. The sample aspect ratio (SAR) will be adjusted accordingly. If set then sampleAspectRatioNumerator and sampleAspectRatioDenominator are not allowed.
  • encodingMode() — The mode of the encoding. When this is set, `encodingMode` (`liveEncodingMode`) must not be set in the (live) encoding start request.
  • height() — Height of the encoded video in pixels
  • pixelFormat() — Describes the color encoding, bit depth, and chroma subsampling of each pixel in the output image.
  • rate() — Target frame rate of the encoded video. Must be set for live encodings
  • sampleAspectRatioDenominator() — The denominator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioNumerator is set. If set then displayAspectRatio is not allowed.
  • sampleAspectRatioNumerator() — The numerator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioDenominator is set. If set then displayAspectRatio is not allowed.
  • width() — Width of the encoded video in pixels

Inherited from BitmovinApiSdk\Models\BitmovinResource

public

  • customData() — User-specific meta data. This can hold anything.
  • description() — Description of the resource. Can be freely chosen by the user.
  • name() — Name of the resource. Can be freely chosen by the user.

Inherited from BitmovinApiSdk\Common\ApiResource

public