fix default -preset with h265 enabled

This commit is contained in:
matty 2024-04-14 15:12:36 -04:00
parent 0b066aaa3a
commit 2168bc72d0

2
dist/main.js vendored
View File

@ -194,7 +194,7 @@ async function vodBuilder(params) {
},
inputOptions: shouldInitVaapi ? buildInitOptions() : [],
outputOptions: [
`-preset ${pluginSettings.hevcQuality}`,
`-preset ${pluginSettings.vodQuality}`,
`-b:v${streamSuffix} ${targetBitrate}`,
//`-b:v${streamSuffix} 0`,
`-bufsize ${targetBitrate * 2}`,