From 7791100b7bed024a179a1032b2bccc13ce649aac Mon Sep 17 00:00:00 2001 From: Floke Date: Mon, 16 Feb 2026 11:57:28 +0000 Subject: [PATCH] [30988f42] feat(transcription-tool): Add M4A audio support by re-encoding to MP3 --- transcription-tool/backend/services/ffmpeg_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/transcription-tool/backend/services/ffmpeg_service.py b/transcription-tool/backend/services/ffmpeg_service.py index e1b86bae..1c6b84c3 100644 --- a/transcription-tool/backend/services/ffmpeg_service.py +++ b/transcription-tool/backend/services/ffmpeg_service.py @@ -21,7 +21,8 @@ class FFmpegService: "ffmpeg", "-i", input_path, "-f", "segment", "-segment_time", str(settings.CHUNK_DURATION_SEC), - "-c", "copy", + "-c:a", "libmp3lame", # Re-encode to MP3 for compatibility + "-b:a", "256k", # Set a reasonable bitrate for quality output_pattern ]