Replaced "sox" with "ffmpeg" for audio normalization

This commit is contained in:
2025-10-24 17:13:44 +02:00
parent 8fed780dce
commit 46fa0896ae
2 changed files with 40 additions and 7 deletions

View File

@@ -11,7 +11,7 @@
* Remuxes existing `AAC` and `Opus` tracks without re-encoding to preserve quality.
* Re-encodes all other audio formats (DTS, AC3, TrueHD, FLAC, etc.) to Opus.
* **Advanced Downmixing:** Includes an optional `--downmix` flag that converts multi-channel audio (5.1, 7.1) to stereo using a dialogue-boosting formula.
* **Audio Normalization:** Uses `SoX` to normalize audio levels for a consistent listening experience.
* **Audio Normalization:** Uses a 2-pass `ffmpeg` loudnorm process (EBU R128) to normalize audio levels for a consistent and standard-compliant listening experience.
* **Metadata Preservation:** Carefully preserves audio track metadata such as titles, language tags, and delay/sync information.
* **Detailed Logging:** Creates a separate, detailed log file for each processed MKV in the `conv_logs/` directory, capturing the full terminal output and conversion details for easy review.
* **File Organization:** Automatically moves the original source files to an `original/` directory and the newly processed files to a `completed/` directory, keeping your workspace clean.
@@ -24,7 +24,6 @@ The following command-line tools must be installed and available in your system'
* `ffmpeg`
* `ffprobe`
* `mkvmerge`
* `sox`
* `opusenc`
* `mediainfo`