From: Chocobozzz Date: Thu, 5 Dec 2019 14:12:58 +0000 (+0100) Subject: Improve 4k resolution bitrate X-Git-Tag: v2.1.0-rc.1~257 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f56ebb3616606e678b25d8064696c75655dcd2ed;p=oweals%2Fpeertube.git Improve 4k resolution bitrate --- 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 } }