update shit so it just takes the fuck
This commit is contained in:
parent
dba92b3043
commit
3981e65bad
11
dist/main.js
vendored
11
dist/main.js
vendored
@ -162,9 +162,10 @@ async function vodBuilder(params) {
|
||||
inputOptions: shouldInitVaapi ? buildInitOptions() : [],
|
||||
outputOptions: [
|
||||
`-preset ${pluginSettings.vodQuality}`,
|
||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||
`-bufsize ${targetBitrate * 2}`,
|
||||
// `-b:v${streamSuffix} ${targetBitrate}`,
|
||||
// `-bufsize ${targetBitrate * 2}`,
|
||||
// `-cq 21`, // increased 19 to 21, file size massive
|
||||
`-cq 19`,
|
||||
`-profile:v${streamSuffix} high`
|
||||
]
|
||||
};
|
||||
@ -194,9 +195,9 @@ async function liveBuilder(params) {
|
||||
`-profile:v${streamSuffix} high`,
|
||||
// `-level:v${streamSuffix} `,
|
||||
`-g:v${streamSuffix} ${fps * 2}`,
|
||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||
`-bufsize ${targetBitrate * 2}`,
|
||||
// `-cq 22` // increase for accessibility
|
||||
// `-b:v${streamSuffix} ${targetBitrate}`,
|
||||
// `-bufsize ${targetBitrate * 2}`,
|
||||
`-cq 19` // increase for accessibility
|
||||
]
|
||||
};
|
||||
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user