修复切割视频参数写错,导致切割失败的问题
This commit is contained in:
parent
2fdfa43654
commit
c1e119f049
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user