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()