From 93fe7d3fd777d680a162e11f0c13629a5a7815d9 Mon Sep 17 00:00:00 2001 From: kelciour Date: Fri, 9 Oct 2020 21:16:15 +0300 Subject: [PATCH] Swith to default encoding preset --- playphrase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playphrase.py b/playphrase.py index 2e5f181..743c3bd 100644 --- a/playphrase.py +++ b/playphrase.py @@ -189,7 +189,7 @@ def create_fragments(search_phrase, clips, export_mode, output_dir): t_fade = 0.2 af = "afade=t=in:st=%s:d=%s,afade=t=out:st=%s:d=%s" % (0, t_fade, t - t_fade, t_fade) - video_encoding_mode = "ultrafast" + video_encoding_mode = "medium" if export_mode["audio"]: cmd = ["ffmpeg", "-y", "-ss", str(ss), "-i", video_file, "-t", str(t), "-af", af, fragment_filename + ".mp3"]