News for hackers. Stuff that matters.
Re:Show HN: Put “GIF” in front of any YouTube URL and hit enter by superasn on Monday August 18, 2014 @02:22AM (#8191599)
This may not be 100% accurate, but this is one way of doing it:

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.