From 2fdfa43654f06136aa61b8799eb00d6261bbc5a6 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 23 May 2022 11:06:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E4=B8=8D=E5=88=87=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E4=BA=86=EF=BC=8C=E5=90=8E=E6=9C=9F=E8=87=AA=E5=B7=B1?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- workflow/worker.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/workflow/worker.py b/workflow/worker.py index 94fa135..076af7e 100644 --- a/workflow/worker.py +++ b/workflow/worker.py @@ -27,12 +27,7 @@ def do_workflow(video_file, danmaku_base_file, *danmaku_files): continue print(result) file_need_split = multi_gpu_encode_video_with_subtitles(video_file, result, start_ts) - for filename in file_need_split: - quick_split_video(filename) # clean files - for filename in file_need_split: - if os.path.isfile(filename): - os.remove(filename) for file in result: if os.path.isfile(file): os.remove(file)