NVEnc icon indicating copy to clipboard operation
NVEnc copied to clipboard

Parameters to obtain more grain

Open Einst1969 opened this issue 1 year ago • 4 comments

Hi, I'm new here. I'm using this encoder on staxrip 2.35. I have a video that has a certain bitrate and I need to re-encode it to permanently add forced subtitles. I tried CQP and QVBR mode, H.265 codec, Preset p7, output depth 8 and 10, both with and without AQ 0. Example paramenters :"--cqp 21 --codec h265 --preset P7 --output-depth 10 --aq" .I made sure to have the same bitrate as the source but the resulting file is a bit "blurry" which means it removes some grain. Are there any parameters that can help me? Thanks

Einst1969 avatar Feb 04 '24 13:02 Einst1969

Unfortunately, I found it difficult to keep the grains in NVENC encoding. --aq-temporal or simply increasing size might change but very difficult to avoid getting blurry.

rigaya avatar Feb 05 '24 11:02 rigaya

Hi, I found a solution. Much grain is kept with AQ spatial + AQ Strengh 15 for the same used bitrate. 15 is the maximum? Then another thing: I tried QVBR, and compared to QCP creates images with more blur. I had already noticed before but with the old version. It seems that even with this version QVBR it creates images with more blur than QCP. I tried to use more bitrate, from 5200 to 7700 but there is still a little blur in QVBR mode (7700b/sec) compared to CPQ (5200b/sec). It's normal or there is a problem? Thank you

Einst1969 avatar Feb 06 '24 12:02 Einst1969

Yes, --aq-strength 15 is the strongest possible.

I'm not sure with qvbr vs cqp, but generally cqp allows to follow temporal changes better, however bitrate spikes can occur and there is no control over the maximum bitrate.

rigaya avatar Feb 07 '24 09:02 rigaya

I have also tried many settings to try to maintain the grain of the video but without much result, what I was able to avoid a little was the blur. By deactivating the insertion of adaptive B frames and other parameters that affect the image such as temporal filters

Aesthermortis avatar Aug 04 '24 03:08 Aesthermortis