Create Animated Gifs from Movie Clips
Animated gif files are a great way to get your profile pic or avatar to really stand out from the rest of the crowd. Iâ€™ve seen software that will make gifs for you but Noah has figured out a method to create animated gifs from a video clip using two of the most popular open source programs, Mplayer and Gimp. Noahâ€™s method is primarily written for the Linux user but it works fine on Windows as well.
Before I give Noahâ€™s method, Iâ€™d like to mention that there is a way to create animated gifs directly with MPlayer. However, the resultant gif file can sometimes be very strange-looking so itâ€™s not very reliable. Anyway, once you figure out what video clip to use, letâ€™s begin. Fire up MPlayer and switch to command-line operation. Then type in the following command:
mplayer -ao null -loop 0 -ss 0:11:22 -endpos 5 file.avi
This command allows you to preview what your final gif will look like. In this instance, Iâ€™ve selected a 5 second clip and looped it so it keeps repeating. If youâ€™re satisfied with the clip, proceed to the next step.
mplayer -ao null -ss 0:11:22 -endpos 5 file.avi -vo jpeg:outdir=gifmovie
This command tells MPlayer to export your 5-second clip as a series of jpeg images to the specified folder, which in this case is â€˜gifmovieâ€™. After this step, MPlayerâ€™s work is done and itâ€™s time to switch to Gimp. This is where you convert the jpeg files into your gif.
Open the first jpeg image in your directory using Gimp. Then, open the rest of the images in the folder as layers (File > Open as layer). Now, all you have to do is save the file as a gif (File > Save As). In the resultant dialog box, check the â€˜save as animationâ€™ and â€˜loop foreverâ€™ options. Then, click on â€˜Exportâ€™ and your animated gif is ready.
You need to play around a bit with the options in Gimp if you want to add fancy effects and things like that. I tried this out and I was quite happy with my gif file. It requires a bit of practice but once you have a basic idea of where things are, itâ€™s a breeze. Have you ever tried making an animated gif file? What program did you use? What do you think of Noahâ€™s method?Advertisement