fix: re-encode mp3 on merge to fix format mismatch (intro + edge-tts)

This commit is contained in:
github-actions[bot]
2026-05-10 00:56:06 -04:00
parent 1128900c8e
commit 7f0d2a03da
+1 -1
View File
@@ -184,7 +184,7 @@ def merge_audio(segment_files: list[Path], output: Path):
list_file = f.name
subprocess.run(
["ffmpeg", "-y", "-f", "concat", "-safe", "0", "-i", list_file,
"-c", "copy", str(output)],
"-ar", "44100", "-ac", "2", "-ab", "128k", str(output)],
check=True, capture_output=True
)
os.unlink(list_file)