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

@ -1,6 +1,6 @@
[metadata]
name = surround-to-eac3
version = 0.3.2
version = 0.3.3
author = Jonathan Rampersad
author_email = jonathan@jono-rams.work
description = A CLI tool to transcode 5.1 audio in video files to E-AC3.

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.