Given any number of video files and matching subtitle files it will generate gifs for every single (complete) line of dialogue.
install pre-reqs on your machine:
- ffmpeg
install requirements:
$ pip3 install -r requirements.txt
run it:
$ python3 videos_to_gif_python3.py /path/to/video /path/to/subtitles