[30988f42] feat(transcription-tool): Add M4A audio support by re-encoding to MP3

This commit is contained in:
2026-02-16 11:57:28 +00:00
parent f0b7b1ef34
commit 59d11fdf26

View File

@@ -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
]