decrease buffer size
This commit is contained in:
parent
1e7cc6961d
commit
dff32f1466
4
dist/main.js
vendored
4
dist/main.js
vendored
@ -164,7 +164,7 @@ async function vodBuilder(params) {
|
|||||||
outputOptions: [
|
outputOptions: [
|
||||||
`-preset ${pluginSettings.vodQuality}`,
|
`-preset ${pluginSettings.vodQuality}`,
|
||||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 1.5}`,
|
||||||
//`-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`
|
||||||
]
|
]
|
||||||
@ -196,7 +196,7 @@ async function liveBuilder(params) {
|
|||||||
`-profile:v${streamSuffix} high`,
|
`-profile:v${streamSuffix} high`,
|
||||||
`-g:v${streamSuffix} ${fps * 2}`,
|
`-g:v${streamSuffix} ${fps * 2}`,
|
||||||
`-b:v${streamSuffix} ${targetBitrate}`,
|
`-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
`-bufsize ${targetBitrate * 2}`,
|
`-bufsize ${targetBitrate * 1.5}`,
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user