X265Codec
Parameters for tuning the x265 encoder
Field |
Type |
Repeated |
Description |
threads |
The number of threads to allocate to the encode |
||
bitrateMode |
oneOf |
||
⮑abr |
Encode in average bitrate mode, specified in kilobits/sec (note, 1 kilobit is 1000 bits). You can make use of the vbv settings to control the bounds on how much the actual bitrate can fluctuate within the bounds of the average |
||
⮑cqp |
Encode in constant quantizer mode. In general, crf will give better results, although cqp can be faster to encode |
||
⮑crf |
Encode in constant rate factor mode. This will give a constant 'quality' to the encode, but with a variable bitrate |
||
profile |
Set the H265 profile of the output |
||
level |
Sets the level flag in the output. Permissible levels are
|
||
key_frame_interval_min |
Sets the minimum length between IDR frames |
||
key_frame_interval_max |
Sets the maximum length between IDR frames |
||
bframes |
Sets the maximum number of concurrent B-frames |
||
tune |
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. |
||
preset |
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. |
||
frame_reference |
Maximum number of reference frames, i.e., the number of previous frames each P-frame can use as references |
||
vbv_max_rate |
Sets the maximum rate the VBV buffer should be assumed to refill at (kbit/s) |
||
vbv_buffer_size |
Sets the size of the VBV buffer in kilobits |
||
scene_cut |
Sets the threshold for I/IDR frame placement. Setting sceneCut to zero disables adaptive I-frame decisioning |
||
aud |
Use access unit delimiters in the output |
||
no_deblock |
Disables the loop filter. Not Recommended. |
||
tier |
Enums defined in this message
Name |
Number |
Description |
X265_PROFILE_UNDEFINED |
0 |
|
X265_PROFILE_MAIN |
1 |
|
X265_PROFILE_MAIN10 |
2 |
|
X265_PROFILE_MAIN444_8 |
3 |
|
X265_PROFILE_MAIN422_10 |
4 |
|
X265_PROFILE_MAIN444_10 |
5 |
Name |
Number |
Description |
X265_PRESET_ULTRAFAST |
0 |
|
X265_PRESET_SUPERFAST |
1 |
|
X265_PRESET_VERYFAST |
2 |
|
X265_PRESET_FASTER |
3 |
|
X265_PRESET_FAST |
4 |
|
X265_PRESET_MEDIUM |
5 |
|
X265_PRESET_SLOW |
6 |
|
X265_PRESET_SLOWER |
7 |
|
X265_PRESET_VERYSLOW |
8 |
|
X265_PRESET_PLACEBO |
9 |
Name |
Number |
Description |
X265_TUNE_UNDEFINED |
0 |
|
X265_TUNE_PSNR |
1 |
|
X265_TUNE_SSIM |
2 |
|
X265_TUNE_GRAIN |
3 |
|
X265_TUNE_ZEROLATENCY |
4 |
|
X265_TUNE_FASTDECODE |
5 |
|
X265_TUNE_ANIMATION |
6 |
Name |
Number |
Description |
X265_TIER_MAIN |
0 |
|
X265_TIER_HIGH |
1 |