2022-04-02 18:47:39 +02:00
2022-04-02 18:13:46 +02:00
2019-11-21 23:44:31 +01:00
2022-04-02 18:36:13 +02:00
2022-04-02 18:47:39 +02:00
2022-04-02 18:36:13 +02:00
2022-04-02 18:36:13 +02:00

Table of content

  • Introduction
  • Requirements
  • Running
  • config.yml example

Introduction

This program helps changing audio and subtitle lines of mkv files.

Requirements

  • Java 8 or higher
  • mkvtoolnix installation

Running

Opening terminal / cmd in the directory of the jar and the config file and execute following command:

java -jar mkvaudiosubtitleschanger.jar -l [path to mkv or dir with mkv]

Additional arameters

 -c,--config                 path to config
 -h,--help                   "for help this is" - Yoda
 -k,--forcedKeywords <arg>   Additional keywords to identify forced tracks
 -l,--library <arg>          path to library (Required)
 -s,--safe-mode              Test run (no files will be changes)
 -t,--threads <arg>          thread count

config.yml example

Config file needs to be placed in the same directory as the jar or path to config has to be passed via command line argument.

mkvtoolnixPath: C:\Program Files\MKVToolNix
# Recommendations for data stored on HDDs, increase when using SSDs
threads: 2
#forcedKeywords: ["forced", "signs"]
config:
  1:
    audio: ger
    subtitle: OFF
  2:
    audio: eng
    subtitle: ger

Subtitle lanes recognized as forced will be set as one. Already existing ones will not be overwritten or changed.

Description
Languages
Java 100%