fix prev commit

master
Aevann1 2022-10-06 07:16:24 +02:00
parent 168f18893f
commit 4563a2b18a
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def process_audio(file):
def webm_to_mp4(old, new):
tmp = f"{new}.tmp"
tmp = new.replace('.mp4', '-t.mp4')
subprocess.run(["ffmpeg", "-y", "-loglevel", "warning", "-i", old, "-map_metadata", "-1", tmp, "-threads:v", "1"], check=True, stderr=subprocess.STDOUT)
os.replace(tmp, new)
os.remove(old)