diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-25 10:21:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-25 11:34:43 +0200 |
commit | e318e0ebe11ea6299a861f99a5c1357c93b426b3 (patch) | |
tree | 38dcc306ae573b6cb6cf2cc0e23d6c5e7738897c | |
parent | 008af5c9bb26b6a28db604d10356b4272d9c0432 (diff) | |
download | PeerTube-e318e0ebe11ea6299a861f99a5c1357c93b426b3.tar.gz PeerTube-e318e0ebe11ea6299a861f99a5c1357c93b426b3.tar.zst PeerTube-e318e0ebe11ea6299a861f99a5c1357c93b426b3.zip |
Fix duplicate ffmpeg preset option for live
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index 25d9d4951..e328c49ac 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -236,7 +236,6 @@ async function getLiveTranscodingCommand (options: { | |||
236 | } | 236 | } |
237 | ] | 237 | ] |
238 | 238 | ||
239 | command.outputOption('-preset superfast') | ||
240 | command.outputOption('-sc_threshold 0') | 239 | command.outputOption('-sc_threshold 0') |
241 | 240 | ||
242 | addDefaultEncoderGlobalParams({ command }) | 241 | addDefaultEncoderGlobalParams({ command }) |