diff --git a/buzz/transcriber/file_transcriber.py b/buzz/transcriber/file_transcriber.py index c6714481d..494d8a4e8 100755 --- a/buzz/transcriber/file_transcriber.py +++ b/buzz/transcriber/file_transcriber.py @@ -37,7 +37,7 @@ def run(self): ydl = YoutubeDL( { - "format": "wav/bestaudio/best", + "format": "bestaudio/best", "progress_hooks": [self.on_download_progress], "outtmpl": temp_output_path, "logger": logging.getLogger() @@ -56,12 +56,12 @@ def run(self): "ffmpeg", "-nostdin", "-threads", "0", - "-f", "s16le", + "-i", temp_output_path, "-ac", "1", - "-acodec", "pcm_s16le", "-ar", str(SAMPLE_RATE), + "-acodec", "pcm_s16le", "-loglevel", "panic", - "-i", temp_output_path, wav_file] + wav_file] result = subprocess.run(cmd, capture_output=True)