aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-01-14 23:34:03 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-01-29 13:42:15 +0100
commit06bcfbd9f715055f2f00bb66149b1dba926d007a (patch)
tree253059fe56f9c1ab818ab60b4871a67a945b229f /server/initializers
parent0539dba824bc3b964faaba358d8e7836e006b899 (diff)
downloadPeerTube-06bcfbd9f715055f2f00bb66149b1dba926d007a.tar.gz
PeerTube-06bcfbd9f715055f2f00bb66149b1dba926d007a.tar.zst
PeerTube-06bcfbd9f715055f2f00bb66149b1dba926d007a.zip
Downsample to the closest divisor standard framerate
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index e01ab8943..64803b1db 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -310,6 +310,8 @@ let CONTACT_FORM_LIFETIME = 60000 * 60 // 1 hour
310 310
311const VIDEO_TRANSCODING_FPS: VideoTranscodingFPS = { 311const VIDEO_TRANSCODING_FPS: VideoTranscodingFPS = {
312 MIN: 10, 312 MIN: 10,
313 STANDARD: [24, 25, 30],
314 HD_STANDARD: [50, 60],
313 AVERAGE: 30, 315 AVERAGE: 30,
314 MAX: 60, 316 MAX: 60,
315 KEEP_ORIGIN_FPS_RESOLUTION_MIN: 720 // We keep the original FPS on high resolutions (720 minimum) 317 KEEP_ORIGIN_FPS_RESOLUTION_MIN: 720 // We keep the original FPS on high resolutions (720 minimum)