aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-08 10:51:10 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-02-08 15:38:45 +0100
commit9129b7694d577322327ee79e9b9aa64deee92765 (patch)
treeeb23b7a952048c3725f29109d38c36368976dec0 /config/default.yaml
parent81b46cbc3417c46263c210c61b51a84a457abaaa (diff)
downloadPeerTube-9129b7694d577322327ee79e9b9aa64deee92765.tar.gz
PeerTube-9129b7694d577322327ee79e9b9aa64deee92765.tar.zst
PeerTube-9129b7694d577322327ee79e9b9aa64deee92765.zip
Allow to specify transcoding and import jobs concurrency
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 95df2e06c..3bbb3e5c4 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -233,7 +233,10 @@ transcoding:
233 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file 233 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
234 allow_audio_files: true 234 allow_audio_files: true
235 235
236 # Amount of threads used by ffmpeg for 1 transcoding job
236 threads: 1 237 threads: 1
238 # Amount of transcoding jobs to execute in parallel
239 concurrency: 1
237 240
238 # Choose the transcoding profile 241 # Choose the transcoding profile
239 # New profiles can be added by plugins 242 # New profiles can be added by plugins
@@ -312,6 +315,9 @@ live:
312import: 315import:
313 # Add ability for your users to import remote videos (from YouTube, torrent...) 316 # Add ability for your users to import remote videos (from YouTube, torrent...)
314 videos: 317 videos:
318 # Amount of import jobs to execute in parallel
319 concurrency: 1
320
315 http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html 321 http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html
316 enabled: false 322 enabled: false
317 323