diff options
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index 8e4471173..a964abdd4 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -152,7 +152,7 @@ function transcode (options: TranscodeOptions) { | |||
152 | // https://slhck.info/video/2017/03/01/rate-control.html | 152 | // https://slhck.info/video/2017/03/01/rate-control.html |
153 | // https://trac.ffmpeg.org/wiki/Limiting%20the%20output%20bitrate | 153 | // https://trac.ffmpeg.org/wiki/Limiting%20the%20output%20bitrate |
154 | const targetBitrate = getTargetBitrate(options.resolution, fps, VIDEO_TRANSCODING_FPS) | 154 | const targetBitrate = getTargetBitrate(options.resolution, fps, VIDEO_TRANSCODING_FPS) |
155 | command.outputOptions([`-b:v ${ targetBitrate }`, `-maxrate ${ targetBitrate }`, `-bufsize ${ targetBitrate * 2 }`]) | 155 | command.outputOptions([`-maxrate ${ targetBitrate }`, `-bufsize ${ targetBitrate * 2 }`]) |
156 | 156 | ||
157 | command | 157 | command |
158 | .on('error', (err, stdout, stderr) => { | 158 | .on('error', (err, stdout, stderr) => { |