Updated ffmpeg audio processing to remove unneeded meta-data
This commit is contained in:
@@ -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...")
|
print(f" - Extracting Audio Track #{index} to FLAC...")
|
||||||
ffmpeg_args = [
|
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 should_downmix and ch >= 6:
|
||||||
if ch == 6:
|
if ch == 6:
|
||||||
|
|||||||
Reference in New Issue
Block a user