FEATURE: Keep chapters and metadata when processing files
All checks were successful
Publish Python Package to PyPI / deploy (push) Successful in 17s

This commit is contained in:
2025-06-06 10:54:13 -04:00
parent 6613fe0a7a
commit 6e13ce070f
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ def process_file_with_ffmpeg(
base_filename = os.path.basename(input_filepath)
output_filename = os.path.basename(final_output_filepath)
ffmpeg_cmd = ["ffmpeg", "-nostdin", "-i", input_filepath]
ffmpeg_cmd = ["ffmpeg", "-nostdin", "-i", input_filepath, "-map_metadata", "0"]
map_operations = []
output_audio_stream_ffmpeg_idx = 0 # For -c:a:0, -c:a:1 etc.