Compare commits

...

2 Commits

Author SHA1 Message Date
matty dba92b3043 actually remove -cq shit, it's not really necessary 2024-03-10 17:52:33 -04:00
matty 2bab551803 adjust -cq shit due to file size 2024-03-10 17:52:02 -04:00
1 changed files with 2 additions and 2 deletions

4
dist/main.js vendored
View File

@ -164,7 +164,7 @@ async function vodBuilder(params) {
`-preset ${pluginSettings.vodQuality}`,
`-b:v${streamSuffix} ${targetBitrate}`,
`-bufsize ${targetBitrate * 2}`,
`-cq 19`,
// `-cq 21`, // increased 19 to 21, file size massive
`-profile:v${streamSuffix} high`
]
};
@ -196,7 +196,7 @@ async function liveBuilder(params) {
`-g:v${streamSuffix} ${fps * 2}`,
`-b:v${streamSuffix} ${targetBitrate}`,
`-bufsize ${targetBitrate * 2}`,
`-cq 21`
// `-cq 22` // increase for accessibility
]
};
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);