Skip to content

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/Video_Sub_Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Sub Extractor

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)
  • Resize video display (Zoom In (Ctrl+Plus), Zoom Out (Ctrl+Minus))
  • Non subtitle area of the video can be hidden to limit spoilers
  • Toast Notification available on Windows upon completion of subtitle detection and extraction
  • Preferences available for modification of options when extraction subtitles
  • Multiple languages supported. They will be automatically downloaded as needed.

Download

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

Demo

Demo Video

Setup Instructions

Download and Install:

Latest Version of Microsoft Visual C++ Redistributable

Install packages

For GPU

conda install paddlepaddle-gpu==2.6.1 cudatoolkit=11.6 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge

For CPU

pip install paddlepaddle==2.6.2

Other packages

pip install -r requirements.txt

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

Compile Instructions

Install package

pip install Nuitka==2.4.11

Compile command:

nuitka --standalone --enable-plugin=tk-inter --windows-console-mode=disable --include-package-data=paddleocr --include-data-files=VSE.ico=VSE.ico --windows-icon-from-ico=VSE.ico gui.py

Run compiled program:

.\gui.dist\gui.exe

gui.exe can be manually renamed to VSE.exe