参数写错BUG

This commit is contained in:
Jerry Yan 2022-05-26 06:55:00 +08:00
parent 28627e8816
commit 4273849b49

View File

@ -493,7 +493,7 @@ class WorkerThread(QThread):
split_process = subprocess.Popen([ split_process = subprocess.Popen([
FFMPEG_EXEC, "-y", "-hide_banner", "-progress", "-", "-loglevel", "error", FFMPEG_EXEC, "-y", "-hide_banner", "-progress", "-", "-loglevel", "error",
"-ss", str(current_sec), "-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), "-t", str(VIDEO_CLIP_EACH_SEC + VIDEO_CLIP_OVERFLOW_SEC),
"-fflags", "+genpts", "-shortest", "-movflags", "faststart", "-fflags", "+genpts", "-shortest", "-movflags", "faststart",
"{}.mp4".format(current_dt) "{}.mp4".format(current_dt)