Install Theme

Your web-browser is very outdated, and as such, this website may not display properly. Please consider upgrading to a modern, faster and more secure browser. Click here to do so.


Mar 9 '13

Creating gifs from Youtube FLVs

It’s quite simple actually, all you need is ImageMagick and ffmpeg.

You first extract all frames from the flv/video using ffmpeg, first you make a directory named whatever

ffmpeg -i video.flv -vcodec png -an -af rawvideo -r 8 whatever/%0d.png

Then you copy over the frames of the part to a separate folder, e.g. 1, then 

convert -set disposal Previous -delay 10 -loop -1 1/*.png 1.gif

All in the command prompt/terminal

  1. shi-ro-ku-ma posted this