This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] x265 psyrd default value
#2
The x265 command line you used:
x265 --input - --output-depth 10 --y4m --profile main10 --me umh --merange 24 --limit-modes --max-merge 3 --bframes 2 --ref 2 --rc-lookahead 24 --crf 30.00 --qpfile GENERATED_QP_FILE --rd 4 --rdoq-level 2 --range limited --colormatrix bt709 --output "H:\TMP\USERTMP\test.265"
(by applying the medium preset and adjusting a few settings)
Psy-RDO quantizer is grayed out an does nothing, which is correct since 'rdoq-level' is 0.
Quote:Psy-RDO Quantization:
PsyRDO quantization will adjust the distortion cost used in rate-distortion optimized quantization (RDO quant) favoring the preservation of energy in the reconstructed image. This generally improves perceived visual quality at the cost of lower quality metric scores.

At low strength levels, psy-rdoq will influence the quantization level decisions, favoring higher AC energy in the reconstructed image. As psy-rdoq strength is increased, more non-zero coefficient levels are added and fewer coefficients are zeroed by RDOQ’s rate distortion analysis. High levels of psy-rdoq can double the bitrate which can have a drastic effect on rate control, forcing higher overall QP, and can cause ringing artifacts. psy-rdoq is less accurate than psy-rd, it is biasing towards energy in general while psy-rd biases towards the energy of the source image. But very large psy-rdoq values can sometimes be beneficial, preserving film grain for instance.

Note:
It's get's enabled for --rdoq-level 1 and above.

(command line match: --psy-rdoq X, X from 0-50.0; default: --psy-rdoq 1.0Wink
Which is correct since you applied preset 'medium', which sets psy-rdoq to 0. see: http://x265.readthedocs.io/en/default/presets.html
Quote:--rdoq-level <0|1|2>, --no-rdoq-level

Specify the amount of rate-distortion analysis to use within quantization:

At level 0 rate-distortion cost is not considered in quant

At level 1 rate-distortion cost is used to find optimal rounding values for each level (and allows psy-rdoq to be effective). It trades-off the signaling cost of the coefficient vs its post-inverse quant distortion from the pre-quant coefficient. When --psy-rdoq is enabled, this formula is biased in favor of more energy in the residual (larger coefficient absolute levels)

At level 2 rate-distortion cost is used to make decimate decisions on each 4x4 coding group, including the cost of signaling the group within the group bitmap. If the total distortion of not signaling the entire coding group is less than the rate cost, the block is decimated. Next, it applies rate-distortion cost analysis to the last non-zero coefficient, which can result in many (or all) of the coding groups being decimated. Psy-rdoq is less effective at preserving energy when RDOQ is at level 2, since it only has influence over the level distortion costs.
see: http://x265.readthedocs.io/en/default/cl...rdoq-level

=> With '--rdoq-level 0', '--psy-rdoq 1' doesn't do anything. So it looks to me that Hybrid works correctly and you are making a mistake.
If you think I made a mistake in my assessment please let me know. In case there is a bug in Hybrid I'm happy to look into it. But atm. I see no reason problem.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
x265 psyrd default value - by andrewschen - 11.04.2018, 23:11
RE: x265 psyrd default value - by Selur - 12.04.2018, 05:15
RE: x265 psyrd default value - by andrewschen - 12.04.2018, 13:15
RE: x265 psyrd default value - by Selur - 12.04.2018, 16:02
RE: x265 psyrd default value - by Selur - 12.04.2018, 20:33
RE: x265 psyrd default value - by andrewschen - 14.04.2018, 00:42
RE: x265 psyrd default value - by Selur - 14.04.2018, 09:11
RE: x265 psyrd default value - by andrewschen - 14.04.2018, 19:37
RE: x265 psyrd default value - by Midnight44 - 06.05.2018, 15:03
RE: x265 psyrd default value - by Selur - 14.04.2018, 20:22

Forum Jump:


Users browsing this thread: 1 Guest(s)