1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Add live transcoding bit rate tests

This commit is contained in:
Chocobozzz 2020-11-24 15:22:56 +01:00 committed by Chocobozzz
parent 5a547f69d5
commit ca5c612bfd
12 changed files with 70 additions and 57 deletions

View file

@ -38,7 +38,8 @@ const defaultX264LiveOptionsBuilder: EncoderOptionsBuilder = async ({ resolution
return {
outputOptions: [
`${buildStreamSuffix('-b:v', streamNum)} ${targetBitrate}`,
`-maxrate ${targetBitrate}`, `-bufsize ${targetBitrate * 2}`
`-maxrate ${targetBitrate}`,
`-bufsize ${targetBitrate * 2}`
]
}
}