diff options
Diffstat (limited to 'server/lib/video-transcoding-profiles.ts')
-rw-r--r-- | server/lib/video-transcoding-profiles.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/video-transcoding-profiles.ts b/server/lib/video-transcoding-profiles.ts index 76d38b6ca..b7f9178c4 100644 --- a/server/lib/video-transcoding-profiles.ts +++ b/server/lib/video-transcoding-profiles.ts | |||
@@ -28,6 +28,7 @@ const defaultX264VODOptionsBuilder: EncoderOptionsBuilder = async ({ input, reso | |||
28 | 28 | ||
29 | return { | 29 | return { |
30 | outputOptions: [ | 30 | outputOptions: [ |
31 | `-preset veryfast`, | ||
31 | `-r ${fps}`, | 32 | `-r ${fps}`, |
32 | `-maxrate ${targetBitrate}`, | 33 | `-maxrate ${targetBitrate}`, |
33 | `-bufsize ${targetBitrate * 2}` | 34 | `-bufsize ${targetBitrate * 2}` |
@@ -40,6 +41,7 @@ const defaultX264LiveOptionsBuilder: EncoderOptionsBuilder = async ({ resolution | |||
40 | 41 | ||
41 | return { | 42 | return { |
42 | outputOptions: [ | 43 | outputOptions: [ |
44 | `-preset veryfast`, | ||
43 | `${buildStreamSuffix('-r:v', streamNum)} ${fps}`, | 45 | `${buildStreamSuffix('-r:v', streamNum)} ${fps}`, |
44 | `${buildStreamSuffix('-b:v', streamNum)} ${targetBitrate}`, | 46 | `${buildStreamSuffix('-b:v', streamNum)} ${targetBitrate}`, |
45 | `-maxrate ${targetBitrate}`, | 47 | `-maxrate ${targetBitrate}`, |