Skip to content

A simple Telegram bot to extract hard-coded subtitle from videos using FFmpeg & Tesseract.

License

Notifications You must be signed in to change notification settings

prxpostern/VidSubExtract-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Subtitle Extractor Bot

A simple Telegram bot to extract hard-coded subtitle from videos using FFmpeg & Tesseract.

Note that the accuracy of recognition depends on the subtitle font and its visibility.

Deploy to Heroku

Deploy

Local Deploying

  1. Clone the repo

    git clone https://github.com/samadii/VidSubExtract-Bot
    
  2. Install Tesseract and FFmpeg.

  3. Go to this line and add the PATH where Tesseract is installed.

  4. Also fill this path with the path of the tessdata folder.

  5. Enter the directory

    cd VidSubExtract-Bot
    
  6. Install all requirements using pip.

    pip3 install -r requirements.txt
    
  7. Run the file

    python3 main.py
    

Environment Variables

Devs:

About

A simple Telegram bot to extract hard-coded subtitle from videos using FFmpeg & Tesseract.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%