2022-06-16 13:22:42 +02:00
2022-04-19 23:04:48 +02:00
2023-03-01 19:13:07 +01:00
2019-11-21 23:44:31 +01:00
2023-02-21 14:56:16 +01:00
2023-02-21 16:23:36 +01:00
2022-04-02 18:47:39 +02:00
2023-02-21 16:23:36 +01:00
2022-04-19 21:03:14 +02:00

Introduction

This program helps to change audio and subtitle tracks of mkv files without rewriting the file. Only track properties will be updated.

Requirements

  • Java 11 or higher
  • mkvtoolnix installation

Execution

Minimal usage: java -jar mkvaudiosubtitlechanger.jar --library "X:/Files" --attribute-config eng:ger eng:OFF

Safe usage (best for testing before applying to whole library): java -jar mkvaudiosubtitlechanger.jar --library "X:/Files" --attribute-config eng:ger eng:OFF --safe-mode

Attribute-config must be entered in pairs: audio:subtitle; Example: jpn:eng. More about this topic here.

Available parameters

   -l,--library <arg>                Path to library
   -a,--attribute-config <arg>       Attribute config to decide which tracks to choose when
   -p,--config-path <arg>            Path to config file
   -m,--mkvtoolnix <arg>             Path to mkv tool nix installation
   -s,--safe-mode                    Test run (no files will be changes)
   -t,--threads <arg>                Thread count (default: 2)
   -i,--include-pattern <arg>        Include files matching pattern (default: ".*")
   -e,--exclude-directories <arg>    Directories to be excluded, combines with config file
   -fk,--forced-keywords <arg>       Additional keywords to identify forced tracks
   -ck,--commentary-keywords <arg>   Additional keywords to identify commentary tracks
   -v,--version                      Display version
   -h,--help                         "For help this is" - Yoda

All parameters can also be defined in a config file. Please read this wiki page for more information.

Build requirements

  • JDK 11 or higher
  • Maven 3
  • Git

Build from source

git clone https://github.com/RatzzFatzz/MKVAudioSubtitleChanger.git
cd MKVAudioSubtitleChanger
mvn package
Description
Languages
Java 100%