nvEnc ultra quality settings with no regard for bandwidth

We’re encoding video on the same machine as it will be displayed (UE4.25 to WebRTC), so we wish to use the highest available quality and don’t care about bandwidth at all.

To this end I’ve tried both of the lossless GUID settings (they are most definitely not lossless), upping the min and max bit rates to 100Mb, and other tweaks. The best I’ve found is using the lossless GUID with VBR and setting the min and max qp settings to 20. Unfortunately, this destroys the frame rate (for reasons I do not understand). UE4 is rendering at 30-60fps, but the WebRTC window is rendering at about 5fps and occasionally stalls for tenths of seconds.

My 2070RTX should be able to handle a 20Mbit video stream with no problem? Does the min and max qp force a software fallback?

Recommendations would be appreciated.

Cheers
John

Setting RcParams.enableInitialRCQP = 1 got the encoder to respect the bit rates. The actual RCQP values don’t do anything.

Cheers
John