Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/1-Sisyphe/youCanCodeAGif
Can you make an High Quality Gif from A to Z only by coding? Yes. Do you want to, though?
https://github.com/1-Sisyphe/youCanCodeAGif
Last synced: 17 days ago
JSON representation
Can you make an High Quality Gif from A to Z only by coding? Yes. Do you want to, though?
- Host: GitHub
- URL: https://github.com/1-Sisyphe/youCanCodeAGif
- Owner: 1-Sisyphe
- License: mit
- Created: 2018-05-18T22:00:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-15T01:06:34.000Z (over 6 years ago)
- Last Synced: 2024-10-15T09:41:36.895Z (28 days ago)
- Language: Python
- Size: 214 KB
- Stars: 1,109
- Watchers: 18
- Forks: 46
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# youCanCodeAGif
Could you make a High Quality Gif (like what you find on https://www.reddit.com/r/HighQualityGifs) from A to Z only by coding?
Yes.Do you want to, though?
If yes, then make sure that you have:
- youtube-dl
- ffmpeg
- Python 3, including PIL and numpy
- Linux, because ffmpeg command lines are most likely different on other OSThen you can just run main_script.py, cross fingers and see what you get.
If all work fine, you are suppose to find that gif: https://imgur.com/3tFIv4d.gifv
Or if you changed 'lang' to 'fr' in main_script.py, you will find this one: https://i.imgur.com/Gg7Cz3B.gifvBasically, as the gif says:
- the script download a video from Youtube
- cut it into interesting scenes
- create several terminal-like scenes, via terminal.py. The code you see in the terminal is the actual code from the main_script.py
- concatenates the scenes from the video and from the terminal
- create the subtitles via subtitles.py and burn them into the video
- convert the video into a gifAnd voilà.
But honestly, you might prefer to just stick to KDEnlive or your favorite video editor :)