Skip to content

Convert subtitles in MKV file to VobSub and mux them to new MKV file with tracks of the original file

Notifications You must be signed in to change notification settings

maszaa/mkv-subtitle-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MKV Subtitle Converter

Convert subtitles in MKV file to VobSub and mux them to new MKV file with tracks of the original file

Requirements

Installation

  1. Install requirements listed above
  2. git clone https://github.com/maszaa/mkv-subtitle-converter.git
  3. python3 -m venv <venv-name/path>
  4. source <venv-name/path>/bin/activate
  5. cd mkv-subtitle-converter
  6. pip install -r requirements.txt

Configuration

Configuration is at src/configuration.py. You can override all variables in src/local_configuration.py which is gitignored.

Usage

(asuming current directory is repository root)

python src/main.py <mkv-files-source-path>

The Python script will recursively go through all files and sub directories starting from <mkv-files-source-path>. You can exclude paths and files by providing EXCLUDE_FILE_PATTERNS in src/local_configuration.py.

For example:

EXCLUDE_FILE_PATTERNS = [
  "Music videos"
]

Patterns are case sensitive.

About

Convert subtitles in MKV file to VobSub and mux them to new MKV file with tracks of the original file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages