Python Utility to convert your video files to images transcribed with their subtitles.
##The Idea
- Download a video using
youtube-dl https://www.youtube.com/watch?v=PTmCxbcRXs4 --write-auto-sub
- Run a script that uses the mp4 file and the srt file to generate an image (or a set of images) like this:
- 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. - 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
- Examples:
python script.py samples/a/a.webm samples/a/a.srt
- 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
Post issues and send PRs.