转码后,视频输出地址

This commit is contained in:
Jerry Yan 2022-05-31 17:07:39 +08:00
parent 05a804739f
commit 5fe978cfab

View File

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