Skip to content

Commit

Permalink
Merge pull request #232 from rbrisita/fix_ffmpeg-logs
Browse files Browse the repository at this point in the history
Fix FFmpeg Logs
  • Loading branch information
KillianLucas authored May 4, 2024
2 parents c1e8ede + 991cba8 commit a7dc147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/source/server/services/stt/local-whisper/stt.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def stt_wav(service_directory, wav_file_path: str):
temp_dir, f"output_stt_{datetime.now().strftime('%Y%m%d%H%M%S%f')}.wav"
)
ffmpeg.input(wav_file_path).output(
output_path, acodec="pcm_s16le", ac=1, ar="16k"
output_path, acodec="pcm_s16le", ac=1, ar="16k", loglevel="panic"
).run()
try:
transcript = get_transcription_file(service_directory, output_path)
Expand Down

0 comments on commit a7dc147

Please sign in to comment.