Skip to content

📹 Convert your video files to images transcribed with their subtitles

License

Notifications You must be signed in to change notification settings

rhnvrm/SubScribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SubScribe

Python Utility to convert your video files to images transcribed with their subtitles.

##The Idea

  1. Download a video using youtube-dl https://www.youtube.com/watch?v=PTmCxbcRXs4 --write-auto-sub
  2. Run a script that uses the mp4 file and the srt file to generate an image (or a set of images) like this: Image

Usage

  1. Download a video using youtube-dl https://www.youtube.com/watch?v=PTmCxbcRXs4 --write-auto-sub or just have a video file with a corresponding srt file ready.
  2. How to use:
python script.py --help
usage: script.py [-h] video sub

positional arguments:
  video       path to video file
  sub         path to sub file

optional arguments:
  -h, --help  show this help message and exit
  1. Examples: python script.py samples/a/a.webm samples/a/a.srt

Sample Outputs

###Moon Movie Image Image Image Image

###Sample Youtube Videos Image Image

Todo

  • Think of a cool name for the repo.
  • Add an optional youtube-dl wrapper
  • Add to pip
  • Improve text overlay, make it more visible and allow it to be modified using CLI
  • Add demos to readme.
  • Add contributing.md

Contributing

Post issues and send PRs.

About

📹 Convert your video files to images transcribed with their subtitles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages