切割视频输出位置

This commit is contained in:
Jerry Yan 2022-05-31 17:08:28 +08:00
parent abefe569d2
commit e057d888ca

View File

@ -346,7 +346,7 @@ class WorkerThread(QThread):
"-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))
], **subprocess_args(True))
self.handle_ffmpeg_output(split_process.stdout)
split_process.wait()