只输出关键信息,方便程序处理

This commit is contained in:
Jerry Yan 2022-03-29 16:38:11 +08:00
parent 3d6a611626
commit c3f461aa20

View File

@ -43,8 +43,8 @@ if __name__ == '__main__':
print("CUR_DT", current_dt)
print("BIAS_T", current_sec)
split_process = subprocess.Popen([
"ffmpeg", "-y", "-i", input_file,
"-c", "copy", "-f", "mp4",
"ffmpeg", "-y", "-hide_banner", "-progress", "-", "-v", "0",
"-i", input_file, "-c", "copy", "-f", "mp4",
"-t", str(EACH_SEC + OVERFLOW_SEC),
"-ss", str(current_sec),
"{}.mp4".format(current_dt)