aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorFlorian CUNY <poslovitch@bentobox.world>2021-11-05 10:23:02 +0100
committerGitHub <noreply@github.com>2021-11-05 10:23:02 +0100
commit8dd754c76735417305c4b68e2ada6f623e9d7650 (patch)
treeac08054cc81f7aff812e175443298f287f66b96d /config
parentdd6d2a7ce50e7ff02e00995ccc87f8f929ad9709 (diff)
downloadPeerTube-8dd754c76735417305c4b68e2ada6f623e9d7650.tar.gz
PeerTube-8dd754c76735417305c4b68e2ada6f623e9d7650.tar.zst
PeerTube-8dd754c76735417305c4b68e2ada6f623e9d7650.zip
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 <me@florianbigard.com>
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml2
-rw-r--r--config/production.yaml.example2
-rw-r--r--config/test.yaml2
3 files changed, 6 insertions, 0 deletions
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:
323 323
324 resolutions: # Only created if the original video has a higher resolution, uses more storage! 324 resolutions: # Only created if the original video has a higher resolution, uses more storage!
325 0p: false # audio-only (creates mp4 without video stream, always created when enabled) 325 0p: false # audio-only (creates mp4 without video stream, always created when enabled)
326 144p: false
326 240p: false 327 240p: false
327 360p: false 328 360p: false
328 480p: false 329 480p: false
@@ -382,6 +383,7 @@ live:
382 profile: 'default' 383 profile: 'default'
383 384
384 resolutions: 385 resolutions:
386 144p: false
385 240p: false 387 240p: false
386 360p: false 388 360p: false
387 480p: false 389 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:
333 333
334 resolutions: # Only created if the original video has a higher resolution, uses more storage! 334 resolutions: # Only created if the original video has a higher resolution, uses more storage!
335 0p: false # audio-only (creates mp4 without video stream, always created when enabled) 335 0p: false # audio-only (creates mp4 without video stream, always created when enabled)
336 144p: false
336 240p: false 337 240p: false
337 360p: false 338 360p: false
338 480p: false 339 480p: false
@@ -392,6 +393,7 @@ live:
392 profile: 'default' 393 profile: 'default'
393 394
394 resolutions: 395 resolutions:
396 144p: false
395 240p: false 397 240p: false
396 360p: false 398 360p: false
397 480p: false 399 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:
80 concurrency: 2 80 concurrency: 2
81 resolutions: 81 resolutions:
82 0p: false 82 0p: false
83 144p: false
83 240p: true 84 240p: true
84 360p: true 85 360p: true
85 480p: true 86 480p: true
@@ -105,6 +106,7 @@ live:
105 threads: 2 106 threads: 2
106 107
107 resolutions: 108 resolutions:
109 144p: false
108 240p: false 110 240p: false
109 360p: false 111 360p: false
110 480p: false 112 480p: false