Skip to content
/ VidSubX Public

A program for extracting hard coded (burned in) subtitle from a video and generating an external subtitle.

Notifications You must be signed in to change notification settings

voun7/VidSubX

Repository files navigation

VidSubX

python version support os

A free program that extracts hard coded subtitles from a video and generates an external subtitle file.

Features

  • Detect subtitle area by searching common area.
  • Manual resize or change of subtitle area (click and drag mouse to perform).
  • Single and Batch subtitle detection and extraction.
  • Start and Stop subtitle extraction positions can be selected (use arrow keys for precise selection).
  • Switch between Light and Dark Mode under the View menu.
  • Resize video display (Zoom In (Ctrl+Plus), Zoom Out (Ctrl+Minus)).
  • Non subtitle area of the video can be hidden to limit spoilers.
  • An Nvidia GPU can be used to speed up the extraction of the subtitles.
  • Auto optimization for CPU config for best performance.
  • The released copies can be run without having python installed.
  • Toast Notification available on Windows upon completion of subtitle detection and extraction.
  • Preferences docs available for modification of options when extraction subtitles.
  • Multiple languages supported through PaddleOCR. They will be automatically downloaded as needed.

Supported languages and Abbreviations

Generated subtitles can be translated with this script or SubtitleEdit.

Download

Microsoft Visual C++ Redistributable must be installed. The program will not start without it.

Demo Video

Demo Video

Setup Instructions

Download and Install:

Latest Version of Microsoft Visual C++ Redistributable

Install packages

For GPU

pip install -r requirements-gpu.txt

For CPU

pip install -r requirements-cpu.txt

Note: onnxruntime and onnxruntime-gpu should not both be installed at the same time.

For Linux

sudo apt install python3-tk

Run gui.py to use Graphical interface and main.py to use Terminal.

Compile Instructions

For Linux

sudo apt install binutils

Run compiler.py to build compiled program