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 ]