How to convert AVI video files to Animated GIF using ffmpeg (in Linux)

Here is the command-line you can use to conver AVI video to Animated GIF, which then can be embedded in forum or profile signature.

ffmpeg -i video_original.avi gif_animation.gif

Note that ffmpeg must support the video encoding of the AVI file, (usually DiVX or XviD).