From f56ebb3616606e678b25d8064696c75655dcd2ed Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 5 Dec 2019 15:12:58 +0100 Subject: [PATCH] Improve 4k resolution bitrate --- shared/models/videos/video-resolution.enum.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/models/videos/video-resolution.enum.ts b/shared/models/videos/video-resolution.enum.ts index 98ab3eed2..06e077961 100644 --- a/shared/models/videos/video-resolution.enum.ts +++ b/shared/models/videos/video-resolution.enum.ts @@ -46,12 +46,12 @@ function getBaseBitrate (resolution: VideoResolution) { case VideoResolution.H_1080P: // quality according to Google Live Encoder: 3000 - 6000 Kbps // Quality according to YouTube Video Info: 5081 Kbps - return 5800 * 1000 + return 5200 * 1000 case VideoResolution.H_4K: // fallthrough default: // quality according to Google Live Encoder: 13000 - 34000 Kbps - return 15000 * 1000 + return 22000 * 1000 } }