Log in

View Full Version : High contrast quality issue


kolak
8th April 2010, 16:11
I have strange problem with high contrast areas on 60i quite noisy source:

http://img24.imageshack.us/img24/4431/55845073.png

Noise is preserved well, but at the bottom, where wall meets bright solid texture noise became flat- no details at all.

cmd:

x264 --preset slower --pass 1 --bitrate 22000 --stats "C:\dd.stat" --deblock -3:-3 --no-dct-decimate --profile high --level 4.1 --tff --bframes 3 --tune film --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 30 --min-keyint 2 --vbv-bufsize 30000 --vbv-maxrate 35000 --sar 1:1 --output "c:\22int.264" "R:\test.avs"

Any suggestion?

Atak_Snajpera
8th April 2010, 17:47
upload source 100mb to www.mediafire.com. Use dgplit

kolak
8th April 2010, 18:09
upload source 100mb to www.mediafire.com. Use dgplit

Can't upload source. I've also noticed the same issue on different frame, but it has simmilar pattern- noisy background next to quite flat area.

Atak_Snajpera
8th April 2010, 18:21
You believe that developers could fix that without sample???

Manao
8th April 2010, 19:17
They don't need a sample to fix it, they are already aware of the issue. It has to do with the way psy-aq works. It lowers the quantizer on uniform but noisy areas, on a macroblock basis. The edge is across a macroblock, which is 16x32 here because it's mbaff. The whole 32-pixels high area, on which the edge is, isn't uniform (because of the edge), thus the quantizer isn't lowered on it. The difference in quantizer is enough to explain the lack of noise close to the edge.

kolak
8th April 2010, 19:39
They don't need a sample to fix it, they are already aware of the issue. It has to do with the way psy-aq works. It lowers the quantizer on uniform but noisy areas, on a macroblock basis. The edge is across a macroblock, which is 16x32 here because it's mbaff. The whole 32-pixels high area, on which the edge is, isn't uniform (because of the edge), thus the quantizer isn't lowered on it. The difference in quantizer is enough to explain the lack of noise close to the edge.

This is exactly what I thought. It will affect only certain sources, but it does not look good and definitely needs some improvement.

LoRd_MuldeR
8th April 2010, 20:06
This is exactly what I thought. It will affect only certain sources, but it does not look good and definitely needs some improvement.

Then try "--tune grain" or lower AQ strength manually. This may hurt overall quality, but should produce a more uniform grain retention...

kolak
8th April 2010, 22:52
Then try "--tune grain" or lower AQ strength manually. This may hurt overall quality, but should produce a more uniform grain retention...

Grain retention is good enough, but this patches are not acceptable.
I think (if I remember correctly) I tried and it didn't keep noise so well. Digital noise and film grain not necessarily have the same nature.
I will try lower AQ.

LoRd_MuldeR
8th April 2010, 22:56
Grain retention is good enough, but this patches are not acceptable.

One of the things "--film tune" does is lowering AQ strength, in order to avoid the issue described in this (http://forum.doom9.org/showpost.php?p=1389872&postcount=5) post.