Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Put “GIF” in front of any YouTube URL and hit enter. Parent comment
1) youtube-dl ${video-id} video.avi #download youtube to avi
2) ffmpeg -i video.avi -t 10 out%02d.gif #export avi file to gif frames
3) gifsicle --delay=10 --loop *.gif > anim.gif #makes animated looping gif
There are no comments on this comment yet.
1) youtube-dl ${video-id} video.avi #download youtube to avi
2) ffmpeg -i video.avi -t 10 out%02d.gif #export avi file to gif frames
3) gifsicle --delay=10 --loop *.gif > anim.gif #makes animated looping gif