aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/default.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'config/default.yaml')
-rw-r--r--config/default.yaml30
1 files changed, 25 insertions, 5 deletions
diff --git a/config/default.yaml b/config/default.yaml
index dfa43a0aa..986b2e999 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -375,6 +375,12 @@ feeds:
375 # Default number of comments displayed in feeds 375 # Default number of comments displayed in feeds
376 count: 20 376 count: 20
377 377
378remote_runners:
379 # Consider jobs that are processed by a remote runner as stalled after this period of time without any update
380 stalled_jobs:
381 live: '30 seconds'
382 vod: '2 minutes'
383
378cache: 384cache:
379 previews: 385 previews:
380 size: 500 # Max number of previews you want to cache 386 size: 500 # Max number of previews you want to cache
@@ -433,12 +439,18 @@ transcoding:
433 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file 439 # If a user uploads an audio file, PeerTube will create a video by merging the preview file and the audio file
434 allow_audio_files: true 440 allow_audio_files: true
435 441
436 # Amount of threads used by ffmpeg for 1 transcoding job 442 # Enable remote runners to transcode your videos
443 # If enabled, your instance won't transcode the videos itself
444 # At least 1 remote runner must be configured to transcode your videos
445 remote_runners:
446 enabled: false
447
448 # Amount of threads used by ffmpeg for 1 local transcoding job
437 threads: 1 449 threads: 1
438 # Amount of transcoding jobs to execute in parallel 450 # Amount of local transcoding jobs to execute in parallel
439 concurrency: 1 451 concurrency: 1
440 452
441 # Choose the transcoding profile 453 # Choose the local transcoding profile
442 # New profiles can be added by plugins 454 # New profiles can be added by plugins
443 # Available in core PeerTube: 'default' 455 # Available in core PeerTube: 'default'
444 profile: 'default' 456 profile: 'default'
@@ -533,9 +545,17 @@ live:
533 # Allow to transcode the live streaming in multiple live resolutions 545 # Allow to transcode the live streaming in multiple live resolutions
534 transcoding: 546 transcoding:
535 enabled: true 547 enabled: true
548
549 # Enable remote runners to transcode your videos
550 # If enabled, your instance won't transcode the videos itself
551 # At least 1 remote runner must be configured to transcode your videos
552 remote_runners:
553 enabled: false
554
555 # Amount of threads used by ffmpeg per live when using local transcoding
536 threads: 2 556 threads: 2
537 557
538 # Choose the transcoding profile 558 # Choose the local transcoding profile
539 # New profiles can be added by plugins 559 # New profiles can be added by plugins
540 # Available in core PeerTube: 'default' 560 # Available in core PeerTube: 'default'
541 profile: 'default' 561 profile: 'default'
@@ -754,7 +774,7 @@ search:
754 search_index: 774 search_index:
755 enabled: false 775 enabled: false
756 # URL of the search index, that should use the same search API and routes 776 # URL of the search index, that should use the same search API and routes
757 # than PeerTube: https://docs.joinpeertube.org/api/rest-reference.html 777 # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
758 # You should deploy your own with https://framagit.org/framasoft/peertube/search-index, 778 # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
759 # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index 779 # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
760 url: '' 780 url: ''