diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-06 14:45:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-06 14:45:57 +0200 |
commit | ad3405d087b306efa5eb62a69c9b797b04eab4ce (patch) | |
tree | fd81a190cc0c5fe80a2d70465dcb4a4789b62a5f /server/helpers/ffmpeg-utils.ts | |
parent | a6dbbf03865a955caaedc3b12f3de3e386fe850f (diff) | |
download | PeerTube-ad3405d087b306efa5eb62a69c9b797b04eab4ce.tar.gz PeerTube-ad3405d087b306efa5eb62a69c9b797b04eab4ce.tar.zst PeerTube-ad3405d087b306efa5eb62a69c9b797b04eab4ce.zip |
Improve 4K video quality after transcoding
Diffstat (limited to 'server/helpers/ffmpeg-utils.ts')
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index c180da832..8041e7b3b 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -18,7 +18,8 @@ function computeResolutionsToTranscode (videoFileHeight: number) { | |||
18 | VideoResolution.H_360P, | 18 | VideoResolution.H_360P, |
19 | VideoResolution.H_720P, | 19 | VideoResolution.H_720P, |
20 | VideoResolution.H_240P, | 20 | VideoResolution.H_240P, |
21 | VideoResolution.H_1080P | 21 | VideoResolution.H_1080P, |
22 | VideoResolution.H_4K | ||
22 | ] | 23 | ] |
23 | 24 | ||
24 | for (const resolution of resolutions) { | 25 | for (const resolution of resolutions) { |