FEATURE: Keep chapters and metadata when processing files
All checks were successful
Publish Python Package to PyPI / deploy (push) Successful in 17s
All checks were successful
Publish Python Package to PyPI / deploy (push) Successful in 17s
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = surround-to-eac3
|
name = surround-to-eac3
|
||||||
version = 0.3.2
|
version = 0.3.3
|
||||||
author = Jonathan Rampersad
|
author = Jonathan Rampersad
|
||||||
author_email = jonathan@jono-rams.work
|
author_email = jonathan@jono-rams.work
|
||||||
description = A CLI tool to transcode 5.1 audio in video files to E-AC3.
|
description = A CLI tool to transcode 5.1 audio in video files to E-AC3.
|
||||||
|
@ -118,7 +118,7 @@ def process_file_with_ffmpeg(
|
|||||||
base_filename = os.path.basename(input_filepath)
|
base_filename = os.path.basename(input_filepath)
|
||||||
output_filename = os.path.basename(final_output_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 = []
|
map_operations = []
|
||||||
output_audio_stream_ffmpeg_idx = 0 # For -c:a:0, -c:a:1 etc.
|
output_audio_stream_ffmpeg_idx = 0 # For -c:a:0, -c:a:1 etc.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user