So OBS has NEW CQP settings...

Squirting

New Member
Hello all!

I checked recently after not recording for a while and noticed that the CQP settings for recording on the GPU has new control features such as presets (like x264 has) and Multipass Mode.

I'm not sure if I should continue to stick with CQP when recording or switch to Lossless? If anyone has suggested settings with an RTX 3070 Ti and Ryzen 9 3900x, that would be amazing!

EDIT: I want videos to be in 1080p (will be upscaled to 2k when rendering) and 120fps (for frame blending)

Thanks in advance.
 
Last edited:

Squirting

New Member
Okay so looking at this table, I am able to understand.

Since I have an RTX 3070 Ti GPU, I belong on the Ampere section for CQP (which is at the very bottom of the H264 section).
From my understanding, CQP is already lossless from this table, so selecting Lossless from OBS is pointless.

There are (2) settings I can choose from - either P2 or P3
As for the MultiPass Mode, it shows that it does not matter whatsoever.

I appreciate the link as that saves so much time.
 

sandrix

Member
Yep, stick with CQP.

Lossless no no longer a Preset, it's now a Tune. CQP is the correct mode for the Lossless Tune.

Nobody else seems to be able to figure out the migration guide, maybe you can.

Sir, I think you'll be interested

This is how the settings now look compared to the old presets. The settings are completely transferred and changed strictly according to the NVIDIA documentation.

In lossless mode, I still do not understand how it works now.
It appears to be using P5 or P3 presets with the -lossless preset, which includes CQP=0
 

Squirting

New Member
Sir, I think you'll be interested

This is how the settings now look compared to the old presets. The settings are completely transferred and changed strictly according to the NVIDIA documentation.

In lossless mode, I still do not understand how it works now.
It appears to be using P5 or P3 presets with the -lossless preset, which includes CQP=0
I noticed that technically since CQP is being changed with this, it basically is already lossless.
What should the CQ Level be then?
 

sandrix

Member
Looks like it now works like this for h.264
Code:
            if (astrcmpi(rc, "lossless") == 0 &&
                astrcmpi(preset, "mq")) {
                obs_data_set_string(data, "preset2", "p3");
                obs_data_set_string(data, "tune", "lossless");
                obs_data_set_string(data, "multipass",
                            "disabled");

            } else if (astrcmpi(rc, "lossless") == 0 &&
                   astrcmpi(preset, "hp")) {
                obs_data_set_string(data, "preset2", "p2");
                obs_data_set_string(data, "tune", "lossless");
                obs_data_set_string(data, "multipass",
                            "disabled");
 

sandrix

Member
I also noticed that CABAC entropy coding is now used, previously CAVLC was used for lossless coding. Okay, so now it's really just using a preset with CQP=0 and Tune lossless.

UDP: CRF/CQP is incompatible with 2pass or multipass modes. 2-pass modes is for video encoding when using an average bitrate target CBR, VBR, ABR.
 
Last edited:
Top