replace -cq 21 with -cq 23

This commit is contained in:
matty 2024-04-13 17:35:51 -04:00
parent 4c9ee97fb9
commit 84cc3a58cd

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 21`, `-cq 23`,
`-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 21` `-cq 23`
// `-g:v${streamSuffix} ${fps * 2}`, // `-g:v${streamSuffix} ${fps * 2}`,
// `-b:v${streamSuffix} ${targetBitrate}`, // `-b:v${streamSuffix} ${targetBitrate}`,
// `-bufsize ${targetBitrate * 2}`, // `-bufsize ${targetBitrate * 2}`,