From 1bd02a49021fa9d2113b07ebb8bd6b0b30697324 Mon Sep 17 00:00:00 2001 From: matty Date: Sat, 13 Apr 2024 17:07:43 -0400 Subject: [PATCH] add -crf 30 to see if it changes output quality --- dist/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/main.js b/dist/main.js index 44e1660..91cd168 100644 --- a/dist/main.js +++ b/dist/main.js @@ -167,6 +167,7 @@ async function vodBuilder(params) { // `-bufsize ${targetBitrate * 2}`, //`-crf 21`, // increased 19 to 21, file size massive `-profile:v${streamSuffix} high`, + `-crf 30`, `-c:v${streamSuffix} h264_nvenc` ] }; @@ -195,7 +196,8 @@ async function liveBuilder(params) { `-tune ${pluginSettings.liveQuality}`, // `-r:v${streamSuffix} ${fps}`, `-profile:v${streamSuffix} high`, - `-c:v${streamSuffix} h264_nvenc` + `-c:v${streamSuffix} h264_nvenc`, + `-crf 30` // `-g:v${streamSuffix} ${fps * 2}`, // `-b:v${streamSuffix} ${targetBitrate}`, // `-bufsize ${targetBitrate * 2}`,