From 8dd754c76735417305c4b68e2ada6f623e9d7650 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Fri, 5 Nov 2021 10:23:02 +0100 Subject: Added 144p encoding (#4492) * Added 144p encoding Implements https://github.com/Chocobozzz/PeerTube/issues/4428 * Fixed typo in core-utils * Increased BitPerPixel for 144p * Disabled 144p by default in test.yaml * Another try at fixing tests * Fixed test in video-transcoder (api-3) * Fixed test in video-imports (api-4) * Fixed test in live-constraints (api-2) * Tried to fix tests in api-3 again * Revert "Tried to fix tests in api-3 again" This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14. * Fixed test in config.ts (api-2) * Try to fix test in video-hls.ts (api-3) * Fixed test in video-transcoder.ts (api-3) * Fix tests Co-authored-by: Chocobozzz --- config/default.yaml | 2 ++ config/production.yaml.example | 2 ++ config/test.yaml | 2 ++ 3 files changed, 6 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index cf9d69a62..c70e6a205 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -323,6 +323,7 @@ transcoding: resolutions: # Only created if the original video has a higher resolution, uses more storage! 0p: false # audio-only (creates mp4 without video stream, always created when enabled) + 144p: false 240p: false 360p: false 480p: false @@ -382,6 +383,7 @@ live: profile: 'default' resolutions: + 144p: false 240p: false 360p: false 480p: false diff --git a/config/production.yaml.example b/config/production.yaml.example index 70993bf57..0da96f612 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -333,6 +333,7 @@ transcoding: resolutions: # Only created if the original video has a higher resolution, uses more storage! 0p: false # audio-only (creates mp4 without video stream, always created when enabled) + 144p: false 240p: false 360p: false 480p: false @@ -392,6 +393,7 @@ live: profile: 'default' resolutions: + 144p: false 240p: false 360p: false 480p: false diff --git a/config/test.yaml b/config/test.yaml index 3eb2f04d8..e9731d863 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -80,6 +80,7 @@ transcoding: concurrency: 2 resolutions: 0p: false + 144p: false 240p: true 360p: true 480p: true @@ -105,6 +106,7 @@ live: threads: 2 resolutions: + 144p: false 240p: false 360p: false 480p: false -- cgit v1.2.3