From 5fe978cfabcfa073675f70b2569d12fad678abe1 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Tue, 31 May 2022 17:07:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E7=A0=81=E5=90=8E=EF=BC=8C=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E8=BE=93=E5=87=BA=E5=9C=B0=E5=9D=80?= 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 5f82218..17cfb45 100644 --- a/workflow/video.py +++ b/workflow/video.py @@ -147,7 +147,7 @@ def quick_split_video(file): "-i", file, "-c", "copy", "-f", "mp4", "-t", str(VIDEO_CLIP_EACH_SEC + VIDEO_CLIP_OVERFLOW_SEC), "-fflags", "+genpts", "-shortest", "-movflags", "faststart", - "{}.mp4".format(current_dt) + os.path.join(VIDEO_OUTPUT_DIR, "{}.mp4".format(current_dt)) ], stdout=subprocess.PIPE) handle_ffmpeg_output(split_process.stdout) split_process.wait()