From d315a5eb04e087ebfadf3defda8c8aec2780cfef Mon Sep 17 00:00:00 2001 From: Chidi Williams Date: Sat, 28 Jan 2023 13:05:33 +0000 Subject: [PATCH] Log exception --- buzz/transcriber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buzz/transcriber.py b/buzz/transcriber.py index 52b46d07..36a4f4e6 100644 --- a/buzz/transcriber.py +++ b/buzz/transcriber.py @@ -258,7 +258,7 @@ class WhisperCppFileTranscriber(QObject): ffmpeg_cmd = (ffmpeg.input(self.file_path) .output(wav_file, acodec="pcm_s16le", ac=1, ar=whisper.audio.SAMPLE_RATE)) - logging.debug('Running ffmpeg, %s', ffmpeg_cmd.args()) + logging.debug('Running ffmpeg, %s', ffmpeg_cmd.get_args()) ffmpeg_cmd.run(cmd=["ffmpeg", "-nostdin"], capture_stdout=True, capture_stderr=True)