ffmpeg command waiting bugfix

main
Jan Beníček 2024-07-06 20:42:57 +02:00
parent 6a3fde461e
commit 71e2857cf7
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import subprocess
def generate_command(ffmpeg: str, params: str, source_file: str, output_file: str): def generate_command(ffmpeg: str, params: str, source_file: str, output_file: str):
command = [ffmpeg, "-y", "-i", source_file] command = [ffmpeg, "-i", source_file]
command.extend(params.split()) command.extend(params.split())
command.append(output_file) command.append(output_file)
return command return command