From c738c78659b6562559e7a5caa8128129ce1e1654 Mon Sep 17 00:00:00 2001 From: pat-e Date: Sat, 9 Aug 2025 10:06:53 +0200 Subject: [PATCH] Updated ffmpeg audio processing to remove unneeded meta-data --- anime_audio_helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/anime_audio_helper.py b/anime_audio_helper.py index c44a4f3..08b1f7e 100755 --- a/anime_audio_helper.py +++ b/anime_audio_helper.py @@ -53,7 +53,8 @@ def convert_audio_track(index, ch, lang, audio_temp_dir, source_file, should_dow print(f" - Extracting Audio Track #{index} to FLAC...") ffmpeg_args = [ - "ffmpeg", "-v", "quiet", "-stats", "-y", "-i", str(source_file), "-map", f"0:{index}" + "ffmpeg", "-v", "quiet", "-stats", "-y", "-i", str(source_file), + "-map", f"0:{index}", "-map_metadata", "-1" ] if should_downmix and ch >= 6: if ch == 6: