1

Create Animated Gifs from Movie Clips

http://www.ghacks.net

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?

Tags: , , ,

Related posts


Read »
Created by BSOD Created 21 weeks 5 days ago
Category: Software   Tags:
  • Anonymous