diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-12 10:37:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-12 10:37:25 +0200 |
commit | f7bb2bb5a753b3f1a37301dcff2d58e434ecd3af (patch) | |
tree | fbc450e2085dd4f76df6fcac92c7eaf5fb363562 /server/initializers | |
parent | 9f430a53be016f8db2736d5d8111282660b50f4c (diff) | |
download | PeerTube-f7bb2bb5a753b3f1a37301dcff2d58e434ecd3af.tar.gz PeerTube-f7bb2bb5a753b3f1a37301dcff2d58e434ecd3af.tar.zst PeerTube-f7bb2bb5a753b3f1a37301dcff2d58e434ecd3af.zip |
Don't use min FPS, throw instead
Avoir creating a big output from a very low FPS input file
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 2fa0aa7bf..facd3b721 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -346,7 +346,7 @@ const VIEW_LIFETIME = { | |||
346 | let CONTACT_FORM_LIFETIME = 60000 * 60 // 1 hour | 346 | let CONTACT_FORM_LIFETIME = 60000 * 60 // 1 hour |
347 | 347 | ||
348 | const VIDEO_TRANSCODING_FPS: VideoTranscodingFPS = { | 348 | const VIDEO_TRANSCODING_FPS: VideoTranscodingFPS = { |
349 | MIN: 10, | 349 | MIN: 1, |
350 | STANDARD: [ 24, 25, 30 ], | 350 | STANDARD: [ 24, 25, 30 ], |
351 | HD_STANDARD: [ 50, 60 ], | 351 | HD_STANDARD: [ 50, 60 ], |
352 | AVERAGE: 30, | 352 | AVERAGE: 30, |