Sign inSign up

cordlesswool/subtitle_extraction

By cordlesswool

•Updated about 8 years ago

Script to match mkv and mp4 files in two folders and extract subtitles from mkv

Image
0

378

cordlesswool/subtitle_extraction repository overview

⁠Subtilte Extration

This script try to match file names from a source folder and a destination folder. Subfolders are included. The subtitles will extract from mkv files in source folder to the destination folder with name of matched file in destination folder + language name. (e.x. name.lang.sub).

Docker could be run with: docker run --rm -d \
-u \
-v :/data/src \
-v :/data/dest \
cordlesswool/subtitle_extraction:latest


To run python script install first mkvtoolnix via apt:
pip3 install regex
python3 ./extract_sub.py <source> <destination>

Tag summary

Content type

Image

Digest

Size

362.5 MB

Last updated

about 8 years ago

docker pull cordlesswool/subtitle_extraction