diff --git a/workflow/video.py b/workflow/video.py index 6ab8bca..ad5d70d 100644 --- a/workflow/video.py +++ b/workflow/video.py @@ -209,7 +209,7 @@ def quick_split_video(file): split_process = subprocess.Popen([ FFMPEG_EXEC, *_common_ffmpeg_setting(), "-ss", str(current_sec), - "-i", file_name, "-c", "copy", "-f", "mp4", + "-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)