From 1c371e80a8f749b20b85109bf8478327f8685da9 Mon Sep 17 00:00:00 2001 From: pat-e Date: Thu, 28 Aug 2025 12:59:39 +0200 Subject: [PATCH] don't add metadata when extracting audio --- anime_audio_encoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anime_audio_encoder.py b/anime_audio_encoder.py index 29fa9da..861b3b2 100644 --- a/anime_audio_encoder.py +++ b/anime_audio_encoder.py @@ -55,7 +55,7 @@ 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: