mirror of
https://github.com/RatzzFatzz/MKVAudioSubtitleChanger.git
synced 2026-02-11 02:05:56 +01:00
c2f32a30cec171ec265477336f34dacff795f152
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
These properties overwrite already existing values in the config file.
-c,--config path to config
-e,--exclude-directories <arg> Directories to exclude
-h,--help "for help this is" - Yoda
-i,--include-pattern <arg> Include files matching pattern
-k,--forcedKeywords <arg> Additional keywords to identify forced tracks"
-l,--library <arg> path to library
-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.
Languages
Java
100%