NVENC: Use Quality-Optimized 2pass mode if possible
parent
e5ae04bd26
commit
0f55bc7a2f
|
@ -322,7 +322,7 @@ void NVENCEncoder::init()
|
|||
auto filler = AppConfig->GetInt(TEXT("Video Encoding"), TEXT("PadCBR"), 1) != 0;
|
||||
if (is2PassRC)
|
||||
{
|
||||
encodeConfig.rcParams.rateControlMode = filler ? NV_ENC_PARAMS_RC_2_PASS_FRAMESIZE_CAP : NV_ENC_PARAMS_RC_2_PASS_VBR;
|
||||
encodeConfig.rcParams.rateControlMode = filler ? NV_ENC_PARAMS_RC_2_PASS_FRAMESIZE_CAP : NV_ENC_PARAMS_RC_2_PASS_QUALITY;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue