From 227d02feadbc9b1fc916a12528ccc0623fb3069e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 May 2017 22:02:27 +0200 Subject: Server: add job scheduler to transcode video files --- config/default.yaml | 6 ++++++ config/production.yaml.example | 6 ++++++ config/test-6.yaml | 3 +++ 3 files changed, 15 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index a5ac15794..27eb2a533 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -28,3 +28,9 @@ admin: signup: enabled: false + +# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag +# Uses a lot of CPU! +transcoding: + enabled: true + threads: 2 diff --git a/config/production.yaml.example b/config/production.yaml.example index 8e9d4b32d..c18457df6 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -29,3 +29,9 @@ admin: signup: enabled: false + +# If enabled, the video will be transcoded to mp4 (x264) with "faststart" flag +# Uses a lot of CPU! +transcoding: + enabled: false + threads: 2 diff --git a/config/test-6.yaml b/config/test-6.yaml index d74d3b052..169af973a 100644 --- a/config/test-6.yaml +++ b/config/test-6.yaml @@ -18,3 +18,6 @@ storage: admin: email: 'admin6@example.com' + +transcoding: + enabled: true -- cgit v1.2.3