Tool
If you added options to -x265-params and nothing changed, or ffmpeg seems to read a value strangely, the input string is the first thing to suspect. Paste a command or an option string and this tool points out where a colon cuts a value off, where an option overlaps with ffmpeg’s own options, where you override a value the preset sets, and where options collide with each other.
Pasted text is not sent to a server and is processed only inside this browser. If a path contains your user name, remove it before pasting.
"psy-rd=2.0:aq-mode=3" part after -x265-params. If you paste the whole command, the tool also looks at how the options relate to -preset, -crf and -pix_fmt.x265 [info]: lines of the encoding log.deblock=-1:-1 is cut into two pieces, deblock=-1 and -1, and stats=C:\log\x.log is cut at the colon after the drive letter. It is safer to write lists inside a value with a comma (deblock=-1,-1) and to use relative paths.-crf and crf=, -preset and preset=, -g and keyint=, -bf and bframes=, or -b:v and crf. Which one wins can depend on the ffmpeg version, so we recommend keeping only one.min-keyint larger than keyint, only one of vbv-maxrate and vbv-bufsize present, crf used together with qp or bitrate, an output-depth whose bit depth differs from -pix_fmt, and HDR options without 10-bit.These are only the rows of the Preset Options table in the x265 documentation that this tool uses to judge conflicts. Depending on the documentation edition (stable or master), the same cell is sometimes written differently (for example subme for slower), so the values here follow the latest documentation. For the table of the x265 version you use, check that version’s documentation.
| Option | ultrafast | superfast | veryfast | faster | fast | medium | slow | slower | veryslow | placebo |
|---|---|---|---|---|---|---|---|---|---|---|
bframes | 3 | 3 | 4 | 4 | 4 | 4 | 4 | 8 | 8 | 8 |
ref | 1 | 1 | 2 | 2 | 3 | 3 | 4 | 4 | 5 | 5 |
subme | 0 | 1 | 1 | 2 | 2 | 2 | 3 | 3 | 4 | 5 |
rd | 2 | 2 | 2 | 2 | 2 | 3 | 4 | 6 | 6 | 6 |
rect | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
amp | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 |
From the x265 psy-rd and aq-mode measurements, this is the size change (%) and VMAF difference against the preset medium default, at the same CRF and on the same clip. Values are the minimum to maximum across four 1080p25 10-second clips. psy0 and psy1 set psy-rd to 0 and 1, and aq1, aq3 and aq4 set aq-mode to 1, 3 and 4.
| Variant | CRF | Size change (%) | VMAF difference |
|---|---|---|---|
| psy0 | 22 | -16.2~-4.5 | -0.6~0.0 |
| psy0 | 28 | -15.3~-5.8 | -1.3~-0.5 |
| psy0 | 34 | -14.5~-7.7 | -2.1~-1.2 |
| psy0 | 40 | -9.7~-7.4 | -2.3~-1.9 |
| psy1 | 22 | -8.7~-2.1 | -0.1~0.0 |
| psy1 | 28 | -9.0~-2.6 | -0.3~-0.1 |
| psy1 | 34 | -8.6~-3.7 | -0.7~-0.3 |
| psy1 | 40 | -5.6~-3.6 | -0.9~-0.6 |
| aq1 | 22 | -30.0~-14.4 | -3.4~-0.0 |
| aq1 | 28 | -27.5~-13.4 | -8.2~-2.1 |
| aq1 | 34 | -26.3~-13.3 | -10.2~-5.8 |
| aq1 | 40 | -31.0~-14.6 | -11.0~-7.1 |
| aq3 | 22 | +4.5~+17.8 | 0.0~+0.4 |
| aq3 | 28 | +3.1~+11.0 | +0.0~+0.8 |
| aq3 | 34 | +2.8~+9.8 | +0.1~+1.4 |
| aq3 | 40 | +2.9~+10.7 | +0.4~+2.1 |
| aq4 | 22 | -39.0~-15.2 | -4.5~-0.0 |
| aq4 | 28 | -35.3~-13.5 | -10.1~-2.6 |
| aq4 | 34 | -33.6~-13.4 | -12.5~-5.8 |
| aq4 | 40 | -36.2~-15.0 | -13.1~-7.1 |
At the same CRF, some variants that shrink the file also lower VMAF, so don’t judge a variant as good from size alone. To look at size and VMAF together, see the RD curves in the measurement article above.