From c75372aff928fb38ed03aaca95875f4eea95fa69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= <sybren@stuvel.eu> Date: Tue, 18 Dec 2018 15:00:49 +0100 Subject: [PATCH] Reduce video quality for 'create-video' command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed CRF 17 → 23 and GOP 1 → 18 --- flamenco_worker/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flamenco_worker/commands.py b/flamenco_worker/commands.py index d117a63d..78a12b5c 100644 --- a/flamenco_worker/commands.py +++ b/flamenco_worker/commands.py @@ -1049,8 +1049,8 @@ class CreateVideoCommand(AbstractFFmpegCommand): codec_video = 'h264' # Select some settings that are useful for scrubbing through the video. - constant_rate_factor = 17 # perceptually lossless - keyframe_interval = 1 # GOP size + constant_rate_factor = 23 + keyframe_interval = 18 # GOP size max_b_frames: typing.Optional[int] = 0 def validate(self, settings: Settings) -> typing.Optional[str]: -- GitLab