diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-28 15:52:44 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-28 15:55:39 +0100 |
commit | 1896bca09e088b0da9d5e845407ecebae330618c (patch) | |
tree | 56041c445c0cd49aca536d0fd6b586730f4d341e /config/production.yaml.example | |
parent | 529b37527cff5203a0689a15ce73dcee6e1eece2 (diff) | |
download | PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.gz PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.tar.zst PeerTube-1896bca09e088b0da9d5e845407ecebae330618c.zip |
Support transcoding options/encoders by plugins
Diffstat (limited to 'config/production.yaml.example')
-rw-r--r-- | config/production.yaml.example | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/config/production.yaml.example b/config/production.yaml.example index b616c6ced..66c981dd5 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -236,11 +236,20 @@ user: | |||
236 | # Please, do not disable transcoding since many uploaded videos will not work | 236 | # Please, do not disable transcoding since many uploaded videos will not work |
237 | transcoding: | 237 | transcoding: |
238 | enabled: true | 238 | enabled: true |
239 | |||
239 | # Allow your users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v, .3g2, .3gp, .mts, m2ts, .mxf, .nut videos | 240 | # Allow your users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v, .3g2, .3gp, .mts, m2ts, .mxf, .nut videos |
240 | allow_additional_extensions: true | 241 | allow_additional_extensions: true |
242 | |||
241 | # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file | 243 | # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file |
242 | allow_audio_files: true | 244 | allow_audio_files: true |
245 | |||
243 | threads: 1 | 246 | threads: 1 |
247 | |||
248 | # Choose the transcoding profile | ||
249 | # New profiles can be added by plugins | ||
250 | # Available in core PeerTube: 'default' | ||
251 | profile: 'default' | ||
252 | |||
244 | resolutions: # Only created if the original video has a higher resolution, uses more storage! | 253 | resolutions: # Only created if the original video has a higher resolution, uses more storage! |
245 | 0p: false # audio-only (creates mp4 without video stream, always created when enabled) | 254 | 0p: false # audio-only (creates mp4 without video stream, always created when enabled) |
246 | 240p: false | 255 | 240p: false |
@@ -270,7 +279,7 @@ live: | |||
270 | enabled: false | 279 | enabled: false |
271 | 280 | ||
272 | # Limit lives duration | 281 | # Limit lives duration |
273 | # Set null to disable duration limit | 282 | # -1 == unlimited |
274 | max_duration: -1 # For example: '5 hours' | 283 | max_duration: -1 # For example: '5 hours' |
275 | 284 | ||
276 | # Limit max number of live videos created on your instance | 285 | # Limit max number of live videos created on your instance |
@@ -296,6 +305,11 @@ live: | |||
296 | enabled: true | 305 | enabled: true |
297 | threads: 2 | 306 | threads: 2 |
298 | 307 | ||
308 | # Choose the transcoding profile | ||
309 | # New profiles can be added by plugins | ||
310 | # Available in core PeerTube: 'default' | ||
311 | profile: 'default' | ||
312 | |||
299 | resolutions: | 313 | resolutions: |
300 | 240p: false | 314 | 240p: false |
301 | 360p: false | 315 | 360p: false |