diff --git a/dist/main.js b/dist/main.js index 83f3ec0..030d9ac 100644 --- a/dist/main.js +++ b/dist/main.js @@ -166,7 +166,7 @@ async function vodBuilder(params) { `-b:v${streamSuffix} ${targetBitrate}`, `-bufsize ${targetBitrate * 2}`, `-profile:v${streamSuffix} high`, - `-cq 24`, + `-cq 18`, `-rc:v vbr`, `-c:v${streamSuffix} h264_nvenc`, `-bf 4` @@ -198,7 +198,7 @@ async function liveBuilder(params) { `-r:v${streamSuffix} ${fps}`, `-profile:v${streamSuffix} high`, `-c:v${streamSuffix} h264_nvenc`, - `-cq 24`, + `-cq 18`, `-g:v${streamSuffix} ${fps * 2}`, `-b:v${streamSuffix} ${targetBitrate}`, `-bufsize ${targetBitrate * 2}`,