From 3339d58a93389094bba8d493c1b22b0bb720157f Mon Sep 17 00:00:00 2001 From: matty Date: Sun, 14 Apr 2024 01:29:53 -0400 Subject: [PATCH] remove vbr, bump cq to 26 --- dist/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/main.js b/dist/main.js index 1348d80..eee9c1a 100644 --- a/dist/main.js +++ b/dist/main.js @@ -167,8 +167,8 @@ async function vodBuilder(params) { //`-b:v${streamSuffix} 0`, `-bufsize ${targetBitrate * 2}`, `-profile:v${streamSuffix} high`, - `-cq 25`, - `-rc vbr_hq`, + `-cq 26`, + //`-rc vbr`, //`-c:v${streamSuffix} h264_nvenc`, `-bf 4` ] @@ -199,12 +199,12 @@ async function liveBuilder(params) { `-r:v${streamSuffix} ${fps}`, `-profile:v${streamSuffix} high`, //`-c:v${streamSuffix} h264_nvenc`, - `-cq 25`, + `-cq 26`, `-g:v${streamSuffix} ${fps * 2}`, `-b:v${streamSuffix} ${targetBitrate}`, //`-b:v${streamSuffix} 0`, `-bufsize ${targetBitrate * 2}`, - `-rc vbr_hq`, + //`-rc vbr`, `-bf 4` ] };