Downsample to the closest divisor standard framerate

This commit is contained in:
Rigel Kent 2020-01-14 23:34:03 +01:00 committed by Chocobozzz
parent 0539dba824
commit 06bcfbd9f7
6 changed files with 23 additions and 9 deletions

View file

@ -310,6 +310,8 @@ let CONTACT_FORM_LIFETIME = 60000 * 60 // 1 hour
const VIDEO_TRANSCODING_FPS: VideoTranscodingFPS = {
MIN: 10,
STANDARD: [24, 25, 30],
HD_STANDARD: [50, 60],
AVERAGE: 30,
MAX: 60,
KEEP_ORIGIN_FPS_RESOLUTION_MIN: 720 // We keep the original FPS on high resolutions (720 minimum)