aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-07 16:44:22 +0200
committerChocobozzz <me@florianbigard.com>2018-06-07 16:44:22 +0200
commit09f35e2a6fa71d593c9b22f90109e91fc6be89a1 (patch)
tree1a326b530236a323ca45ab2c37ab336daec76873 /config
parentfbd2ad19b64a07de3baca87cbd2505d1c141f449 (diff)
downloadPeerTube-09f35e2a6fa71d593c9b22f90109e91fc6be89a1.tar.gz
PeerTube-09f35e2a6fa71d593c9b22f90109e91fc6be89a1.tar.zst
PeerTube-09f35e2a6fa71d593c9b22f90109e91fc6be89a1.zip
Add warning regarding transcoding
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml4
-rw-r--r--config/production.yaml.example5
2 files changed, 5 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 5868ba002..88a2f2aab 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -74,11 +74,11 @@ user:
74 74
75# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag 75# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
76# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions. 76# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.
77# Uses a lot of CPU and increases storage! 77# Please, do not disable transcoding since many uploaded videos will not work
78transcoding: 78transcoding:
79 enabled: true 79 enabled: true
80 threads: 1 80 threads: 1
81 resolutions: # Only created if the original video has a higher resolution 81 resolutions: # Only created if the original video has a higher resolution, uses more storage!
82 240p: false 82 240p: false
83 360p: false 83 360p: false
84 480p: false 84 480p: false
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 8012134cc..ac5e2a739 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -87,11 +87,12 @@ user:
87 video_quota: -1 87 video_quota: -1
88 88
89# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag 89# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag
90# Uses a lot of CPU! 90# In addition, if some resolutions are enabled the mp4 video file will be transcoded to these new resolutions.
91# Please, do not disable transcoding since many uploaded videos will not work
91transcoding: 92transcoding:
92 enabled: true 93 enabled: true
93 threads: 1 94 threads: 1
94 resolutions: # Only created if the original video has a higher resolution 95 resolutions: # Only created if the original video has a higher resolution, uses more storage!
95 240p: false 96 240p: false
96 360p: false 97 360p: false
97 480p: false 98 480p: false