From f4c41f3c4fb61ba43bac74ea09e7c841a099eba7 Mon Sep 17 00:00:00 2001 From: Zen Date: Mon, 7 Dec 2020 03:49:51 +0200 Subject: [PATCH] changed default target quality presets --- TargetQuality/target_quality.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TargetQuality/target_quality.py b/TargetQuality/target_quality.py index a4e6d8f..a5d4c2e 100644 --- a/TargetQuality/target_quality.py +++ b/TargetQuality/target_quality.py @@ -96,7 +96,7 @@ def probe_cmd(chunk: Chunk, q, ffmpeg_pipe, encoder, probing_rate) -> CommandPai elif encoder == 'x265': params = ['x265', '--log-level', '0', '--no-progress', - '--y4m', '--preset', 'medium', '--crf', f'{q}'] + '--y4m', '--preset', 'fast', '--crf', f'{q}'] cmd = CommandPair(pipe, [*params, '-o', probe_name, '-']) elif encoder == 'rav1e': @@ -122,7 +122,7 @@ def probe_cmd(chunk: Chunk, q, ffmpeg_pipe, encoder, probing_rate) -> CommandPai elif encoder == 'x264': params = ['x264', '--log-level', 'error', '--demuxer', 'y4m', - '-', '--no-progress', '--preset', 'slow', '--crf', + '-', '--no-progress', '--preset', 'medium', '--crf', f'{q}'] cmd = CommandPair(pipe, [*params, '-o', probe_name, '-'])