Is there any way to convert an animated gif to a video format (e.g. .avi) on Linux?
.avi
I have already tried
ffmpeg -i thegif.gif thevideo.a
ffmpeg's gif input doesn't work too well. It's usually easier to unpack the gif frames with convert (from ImageMagick) and process these with ffmpeg:
convert some.gif some%05d.png ffmpeg -i some%05d.png some.avi rm some*.png