add -crf 30 to see if it changes output quality

This commit is contained in:
matty 2024-04-13 17:07:43 -04:00
parent 21b28b35f2
commit 1bd02a4902

4
dist/main.js vendored
View File

@ -167,6 +167,7 @@ async function vodBuilder(params) {
// `-bufsize ${targetBitrate * 2}`, // `-bufsize ${targetBitrate * 2}`,
//`-crf 21`, // increased 19 to 21, file size massive //`-crf 21`, // increased 19 to 21, file size massive
`-profile:v${streamSuffix} high`, `-profile:v${streamSuffix} high`,
`-crf 30`,
`-c:v${streamSuffix} h264_nvenc` `-c:v${streamSuffix} h264_nvenc`
] ]
}; };
@ -195,7 +196,8 @@ async function liveBuilder(params) {
`-tune ${pluginSettings.liveQuality}`, `-tune ${pluginSettings.liveQuality}`,
// `-r:v${streamSuffix} ${fps}`, // `-r:v${streamSuffix} ${fps}`,
`-profile:v${streamSuffix} high`, `-profile:v${streamSuffix} high`,
`-c:v${streamSuffix} h264_nvenc` `-c:v${streamSuffix} h264_nvenc`,
`-crf 30`
// `-g:v${streamSuffix} ${fps * 2}`, // `-g:v${streamSuffix} ${fps * 2}`,
// `-b:v${streamSuffix} ${targetBitrate}`, // `-b:v${streamSuffix} ${targetBitrate}`,
// `-bufsize ${targetBitrate * 2}`, // `-bufsize ${targetBitrate * 2}`,