aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-28 15:52:44 +0100
committerChocobozzz <me@florianbigard.com>2021-01-28 15:55:39 +0100
commit1896bca09e088b0da9d5e845407ecebae330618c (patch)
tree56041c445c0cd49aca536d0fd6b586730f4d341e /config/default.yaml
parent529b37527cff5203a0689a15ce73dcee6e1eece2 (diff)
downloadPeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.gz
PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.zst
PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.zip
Support transcoding options/encoders by plugins
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index b9e382fa7..283e0ab93 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -223,11 +223,20 @@ user:
223# Please, do not disable transcoding since many uploaded videos will not work 223# Please, do not disable transcoding since many uploaded videos will not work
224transcoding: 224transcoding:
225 enabled: true 225 enabled: true
226
226 # Allow your users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v, .3g2, .3gp, .mts, m2ts, .mxf, .nut videos 227 # Allow your users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v, .3g2, .3gp, .mts, m2ts, .mxf, .nut videos
227 allow_additional_extensions: true 228 allow_additional_extensions: true
229
228 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file 230 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
229 allow_audio_files: true 231 allow_audio_files: true
232
230 threads: 1 233 threads: 1
234
235 # Choose the transcoding profile
236 # New profiles can be added by plugins
237 # Available in core PeerTube: 'default'
238 profile: 'default'
239
231 resolutions: # Only created if the original video has a higher resolution, uses more storage! 240 resolutions: # Only created if the original video has a higher resolution, uses more storage!
232 0p: false # audio-only (creates mp4 without video stream, always created when enabled) 241 0p: false # audio-only (creates mp4 without video stream, always created when enabled)
233 240p: false 242 240p: false
@@ -283,6 +292,11 @@ live:
283 enabled: true 292 enabled: true
284 threads: 2 293 threads: 2
285 294
295 # Choose the transcoding profile
296 # New profiles can be added by plugins
297 # Available in core PeerTube: 'default'
298 profile: 'default'
299
286 resolutions: 300 resolutions:
287 240p: false 301 240p: false
288 360p: false 302 360p: false