Skip to content

samadii/VidSubExtract-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 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 recognition accuracy depends on the subtitle font and its visibility.

Deploy to Heroku

Deploy

Local Deploying

  1. Make sure you have Tesseract and FFmpeg.

  2. Clone the repo

    git clone https://github.com/samadii/VidSubExtract-Bot
    
  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 script to extracting hard-coded subtitle from videos by your Telegram bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published