From 9bdd4cdcb692daa722543f41fff6ca588131e511 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Tue, 17 May 2022 16:51:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=8F=E5=B0=91output=E9=A2=91=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- workflow/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/video.py b/workflow/video.py index 35a778c..895bfc7 100644 --- a/workflow/video.py +++ b/workflow/video.py @@ -189,7 +189,7 @@ def handle_ffmpeg_output(stderr: IO[bytes]) -> str: if line.startswith(b"speed="): speed = line.replace(b"speed=", b"").decode().strip() _i += 1 - if _i % 60 == 30: + if _i % 120 == 90: print("[>]Speed:", out_time, "@", speed) print("[ ]Speed:", out_time, "@", speed) return out_time