diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-02 12:20:26 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-03 15:31:26 +0200 |
commit | 40298b02546e8225dd21bf6048fe7f224aefc32a (patch) | |
tree | 0a0b981dbeb2af47810adff6553a0df995a03734 /config | |
parent | f0adb2701c1cf404ff63095f71e542bfe6d025ae (diff) | |
download | PeerTube-40298b02546e8225dd21bf6048fe7f224aefc32a.tar.gz PeerTube-40298b02546e8225dd21bf6048fe7f224aefc32a.tar.zst PeerTube-40298b02546e8225dd21bf6048fe7f224aefc32a.zip |
Implement video transcoding on server side
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/default.yaml b/config/default.yaml index 4c19a5b2d..b53fa0d5b 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -41,7 +41,14 @@ user: | |||
41 | video_quota: -1 | 41 | video_quota: -1 |
42 | 42 | ||
43 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag | 43 | # If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag |
44 | # Uses a lot of CPU! | 44 | # In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions. |
45 | # Uses a lot of CPU and increases storage! | ||
45 | transcoding: | 46 | transcoding: |
46 | enabled: false | 47 | enabled: false |
47 | threads: 2 | 48 | threads: 2 |
49 | resolutions: # Only created if the original video has a higher resolution | ||
50 | 240p: true | ||
51 | 360p: true | ||
52 | 480p: true | ||
53 | 720p: true | ||
54 | 1080p: true | ||