changed format to webm

This commit is contained in:
Zen 2020-01-09 19:45:10 +02:00
parent 2802994602
commit 8513efa0ae

View file

@ -91,7 +91,7 @@ def concat():
for file in sorted(files): for file in sorted(files):
f.write(f"file '{os.path.join(root, file)}'\n") f.write(f"file '{os.path.join(root, file)}'\n")
cmd = f'ffmpeg -f concat -safe 0 -i {os.getcwd()}/temp/concat.txt -i {os.getcwd()}/temp/audio.aac -c copy output.mp4' cmd = f'ffmpeg -f concat -safe 0 -i {os.getcwd()}/temp/concat.txt -i {os.getcwd()}/temp/audio.aac -c copy output.webm'
subprocess.Popen(cmd, shell=True).wait() subprocess.Popen(cmd, shell=True).wait()
print('File finished') print('File finished')