replace -cq 19 with -cq 21

This commit is contained in:
matty 2024-04-13 17:24:27 -04:00
parent 8fda9f4435
commit 4c9ee97fb9

4
dist/main.js vendored
View File

@ -167,7 +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`,
`-cq 19`, `-cq 21`,
`-c:v${streamSuffix} h264_nvenc` `-c:v${streamSuffix} h264_nvenc`
] ]
}; };
@ -197,7 +197,7 @@ async function liveBuilder(params) {
// `-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`,
`-cq 19` `-cq 21`
// `-g:v${streamSuffix} ${fps * 2}`, // `-g:v${streamSuffix} ${fps * 2}`,
// `-b:v${streamSuffix} ${targetBitrate}`, // `-b:v${streamSuffix} ${targetBitrate}`,
// `-bufsize ${targetBitrate * 2}`, // `-bufsize ${targetBitrate * 2}`,