complete replacement of all: did not work properly
This commit is contained in:
@@ -24,7 +24,7 @@ REQUIRED_TOOLS_MAP = {
|
||||
"ffprobe": "extra/ffmpeg", # Part of ffmpeg package
|
||||
"mkvmerge": "extra/mkvtoolnix-cli",
|
||||
"mkvpropedit": "extra/mkvtoolnix-cli", # Part of mkvtoolnix-cli
|
||||
"sox_ng": "extra/sox-ng",
|
||||
"sox": "extra/sox",
|
||||
"opusenc": "extra/opus-tools",
|
||||
"mediainfo": "extra/mediainfo",
|
||||
"alabamaEncoder": "pipx install alabamaEncoder"
|
||||
@@ -76,7 +76,7 @@ def convert_audio_track(index, ch, lang, audio_temp_dir, source_file, should_dow
|
||||
|
||||
print(f" - Normalizing Audio Track #{index} with SoX...")
|
||||
run_cmd([
|
||||
"sox_ng", "--show-progress", str(temp_extracted), str(temp_normalized), "--temp", str(audio_temp_path), "loudness", "-18"
|
||||
"sox", str(temp_extracted), str(temp_normalized), "-S", "--temp", str(audio_temp_path), "--guard", "gain", "-n"
|
||||
])
|
||||
|
||||
# Set bitrate based on the final channel count of the Opus file.
|
||||
|
||||
Reference in New Issue
Block a user