replace -crf 30 with -cq 30 (no difference)

This commit is contained in:
matty 2024-04-13 17:12:51 -04:00
parent 1bd02a4902
commit 72d52d1580
1 changed files with 2 additions and 2 deletions

4
dist/main.js vendored
View File

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