X265Codec interface

X265 codec

Signature:

export interface X265Codec

Properties

Property Type Description

aud?

boolean

(Optional) Use access unit delimiters in the output

bframes?

number

(Optional) Sets the maximum number of concurrent B-frames

bitrateMode?

BitrateMode

(Optional)

frameReference?

number

(Optional) Maximum number of reference frames, i.e., the number of previous frames each P-frame can use as references

keyFrameIntervalMax?

number

(Optional) Sets the maximum length between IDR frames

keyFrameIntervalMin?

number

(Optional) Sets the minimum length between IDR frames

level?

X265Level

(Optional) Sets the level flag in the output

noDeblock?

boolean

(Optional) Disables the loop filter. Not Recommended.

preset?

X265Preset

(Optional) Change options to trade off compression efficiency against encoding speed. If you specify a preset, the changes it makes will be applied before all other parameters are applied.

profile?

X265Profile

(Optional)

sceneCut?

number

(Optional) Sets the threshold for I/IDR frame placement. Setting sceneCut to zero disables adaptive I-frame decisioning

threads?

number

(Optional)

tier?

X265Tier

(Optional)

tune?

X265Tune

(Optional) Tune options to further optimize them for your input content. If you specify a tuning, the changes will be applied after 'preset' but before all other parameters.

type

"x265"

vbvBufferSize?

number

(Optional) Sets the size of the VBV buffer in kilobits

vbvMaxRate?

number

(Optional) Sets the maximum rate the VBV buffer should be assumed to refill at (kbit/s)