3 ms·
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%
by superasn 12y ago
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