This commit is contained in:
Lovi-0 2024-07-07 16:03:43 +02:00
parent 511d08bc76
commit 586e862aa6

View File

@ -149,7 +149,7 @@ def capture_ffmpeg_real_time(ffmpeg_command: list, description: str) -> None:
process = subprocess.Popen(ffmpeg_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True) process = subprocess.Popen(ffmpeg_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
# Start a thread to capture and print output # Start a thread to capture and print output
output_thread = threading.Thread(target=capture_output, Parameters=(process, description)) output_thread = threading.Thread(target=capture_output, args=(process, description))
output_thread.start() output_thread.start()
try: try: