remove -cq to account for file size issues
This commit is contained in:
parent
3981e65bad
commit
7d6779ecd6
4
dist/main.js
vendored
4
dist/main.js
vendored
@ -165,7 +165,7 @@ async function vodBuilder(params) {
|
|||||||
// `-b:v${streamSuffix} ${targetBitrate}`,
|
// `-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
// `-bufsize ${targetBitrate * 2}`,
|
// `-bufsize ${targetBitrate * 2}`,
|
||||||
// `-cq 21`, // increased 19 to 21, file size massive
|
// `-cq 21`, // increased 19 to 21, file size massive
|
||||||
`-cq 19`,
|
// `-cq 19`,
|
||||||
`-profile:v${streamSuffix} high`
|
`-profile:v${streamSuffix} high`
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
@ -197,7 +197,7 @@ async function liveBuilder(params) {
|
|||||||
`-g:v${streamSuffix} ${fps * 2}`,
|
`-g:v${streamSuffix} ${fps * 2}`,
|
||||||
// `-b:v${streamSuffix} ${targetBitrate}`,
|
// `-b:v${streamSuffix} ${targetBitrate}`,
|
||||||
// `-bufsize ${targetBitrate * 2}`,
|
// `-bufsize ${targetBitrate * 2}`,
|
||||||
`-cq 19` // increase for accessibility
|
// `-cq 19` // increase for accessibility
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
logger.info(`EncoderOptions: ${JSON.stringify(options)}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user