Posted on 13 August, 2008 By Kim Woodbridge

How to Make an Animated Gif from a Video Clip

Last night my friend, ronobvious, sent me a link to this video clip of Cesc Fabregas from Arsenal doing a little dance.

He then said he wished he could make an animated gif of the dance to use as an avatar. I thought that there must be a way, so I started looking for resources.

I immediately found Glickr and was excited because I thought all I would have to was input the URL to the video and that the utility would create the animated gif. Unfortunately, Glickr threw a nasty php error and didn’t work. Ok, this was going to take a little bit more work and would require a software based solution.

Programs like Photoshop CS3 Extended can do this but since I am not a graphic designer and simply use free programs like Irfanview for cropping and resizing, I have no need for expensive software.

I then discovered creating the animated gif would be easy with Gimp and the Animation Package, which is free, open source and cross platform. Now, I am not a big fan of Gimp as I find it unnecessarily complicated without using step-by-step instructions. But it’s free and almost as good as Photoshop for the average home user.

Ok. First I needed to download the YouTube file. TechCrunch has provided a utility to do this.

I then downloaded and installed Gimp and the Animation package. I found a video that shows how to create an animated gif from a video file, followed the instructions and created the animation for my friend. The video is a little quick so you might find that you need to pause when you are learning the process. If you would like written instructions, I have provided them below.

Instructions

  1. Download the Video File.
  2. Download and install the Gimp files for your operating system. Install the main program first and then the Animation Package second.
  3. Go to Xtns > Split Video Into Frames > Extract Videorange.
  4. On the next screen, browse for the video file that you saved and select the button that says Video Range.
  5. Select the frames that you want in the gif. Mine was from frame 1 to frame 62. Then check the Loop and Play Selection Only boxes. You can test this with the Start Playback Button. When you are satisfied with the frames, select the Ok button. The program will then take a couple of seconds extracting the audio and video.
  6. Go to Video > Frames to Image and set the From Frames and To Frames to the numbers you selected earlier. In my case, this would be 1 and 62.
  7. Go to Video > Frames Scale. This will set the size. Make it as small as possible because the animated gif file can be really large.
  8. Go to File > Save As and make sure to select .gif as the file extension.
  9. The next screen will ask you to export. Change the first option to animation and leave the other option on indexed rather than changing to grayscale . Then Save.

And here is the animated gif I created from the above video clip.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Ma.gnolia
  • Reddit
  • TwitThis
  • E-mail this story to a friend!
  • StumbleUpon
  • Technorati

Related Posts:
(Anti) Social-Lists 11/23/08
How to Exclude a Category From the Sidebar List in WordPress
(Anti) Social-Lists 11/16/08
Wordpress - Enhance Search Results with the Search Excerpt Plugin
WordPress - How To Create a Static Front Page
Posted In : Non WordPress Tips


If you enjoyed this post, please subscribe to my RSS Feed

Comments

The youtube link from Techcrunch was worth reading this article for!

I’ve got photoshop myself, though I only use it for resizing images and adding basic text.

You’ve motivated me to go and read some tutorials though to see if I can make similar animations with it.

Scams last blog post - Breaking News : Bigfoot Body Found?

Kim Woodbridge
Gravatar

August 14, 2008

I’m assuming that Photoshop is different that Photoshop CS3 - yes? If so, I have found a number of tutorials for the latter but not the former.

Downloaded YouTube videos are in .flv format, which most players can not handle, and a converter is necessary. VLC, however, can play .flv files.
http://www.videolan.org/vlc/
Of course, none of this matters if you are going to make an animation but it does if you also want to watch the video.

And once again, Scam has given me ideas for future articles :-)

The videos I downloaded played straight off in mediaplayer, but then I do have a huge codec pack installed.

As for ideas.. really?

You must be struggling if you take inspiration from me!!

Scams last blog post - Breaking News : Bigfoot Body Found?

Kim Woodbridge
Gravatar

August 14, 2008

Scam,

It must be the codec pack. But then I rarely use Media Player so sorry for the incorrect info.

You don’t give me direct ideas for articles but your comments make me think. For example, all the different ways to download YouTube videos, video converters, etc … But I’m actually not struggling for ideas but rather for time. I have SO many drafts of ideas …

And currently I have a great idea for demonstrating how to use BlingEasy with a certain photo I acquired yesterday … ;-)

I have 116 draft posts at the moment - I like to make sure I always have something in reserve!

Time-wise I just wait until I am feeling inspired and then sit down and write half a dozen articles, scheduling them to be published at a later date.

OOooooohhhhhh @ THAT photo :P
Scams last blog post - Breaking News : Bigfoot Body Found?

Thank you for a well composed step by step tutorial, just what I needed to make my video to gif, and free too. Kudos to you.

Kim Woodbridge
Gravatar

September 1, 2008

Don - Thanks for stopping by and commenting. Is the animated gif on your myspace page the one that you made?

Yes that is correct, thanks to you!

Hi there , i’m sorry to tell you but the software u said doesn’t work . I mean that i download your software step by step and when i choose to Xtns and get in , i can’t browse my video into the gif maker . may be it doesn’t support my video file type . But u said that to download form youtube right so does it mean in flv format ? cause i download it with flv format and it doesn’t shown in browsing . so if u can please help me with this problem , or u can email me how to do it ,I’m sure your are kind of person that can rely on .

Kim Woodbridge
Gravatar

September 24, 2008

Hi,

Where did you save the youtube video file? Is it on your desktop or another location on your computer? The browse function in Gimp is slightly different than what we are accustomed to in Windows programs.

Does anything show up when you browse? Can you see the video file in Windows explorer?

Hi ,
Finally it show up in c/download and i manage to make it into 24 frame but there is the problem started .I don’t know what to do after this step especially
at the output format under the video input browser , I have no idea what kind of output format should i choose or what to do ,so i click the ok and there is some kind of file open and it is like some soft of video cutter or something and I’m having trouble since then.
If u don’t mind please send me step by step to make some gif.This is my email
tminus.1sec at gmail.com or u can try tminus.1sec at yahoo.com
Even if u can’t send email i still thanks u for helping me out with gif trouble

Kim Woodbridge
Gravatar

September 26, 2008

Hi,

Can you look at my list of instructions in the article and tell me the step # where you are having trouble? If you are at the end, you need to save the file as a .gif

# Go to File > Save As and make sure to select .gif as the file extension.
# The next screen will ask you to export. Change the first option to animation and leave the other option on indexed rather than changing to grayscale . Then Save.

noewayout
Gravatar

October 8, 2008

Hey there ,

I have some bad news!!
It didn’t work out yet ,I don’t know where i got wrong and all i get is just a
simple gif ONE FRAME IMAGE .
So if u have time please send me pacific step by step to make gif or some
video tutorial link or something .I’m counting on you .
THANKS!!

Kim Woodbridge
Gravatar

October 8, 2008

Hi,

Well, it has worked for others who have tried it. These are detailed step by step instructions. If it is not working for you, you are missing a step or there is something wrong with the video. You can always do a google search - I’m sure other sites have similar instructions.

noewayout
Gravatar

October 8, 2008

Hey guss what I finally got it .I should have look at the guide u post earlier .

Last time I thought you said me to go to the video clip instead of the video option on the browser .
Fewwwwww it take me a while to figure it out haha.But I got it now.Thanks for your help .
Beside can gimp software make the video file to go backward ,i mean like 1234321 .

Kim Woodbridge
Gravatar

October 8, 2008

Great! I’m glad you got it to work.

I haven’t tried this out yet so I can’t help if it doesn’t work.

When you extract the frames (go through step #7) from the video, it creates images of the frames. Mine get saved to My Pictures. You can copy 3, 2,1 and rename as 5, 6, 7. Open the first image in Gimp normally and then open the other 6 as layers Then do steps #8 and #9.

RSS feed for comments on this post. | TrackBack URI

Leave a comment



Recent Comments

    • stratosg: this is what i have written http://www.stratos.me/2008/11/its-the-man-my-friend-not-wordpress/ i'd like to add that w...
    • Vered - MomGrind: I've been trying to limit my use of plugins as much as I can. I think they often slow down the site and I also read they...
    • Kim Woodbridge: @Twilight Fan - Thanks for visiting and commenting. The girly ones aren't AS bad but I still think they are ugly....
    • Kim Woodbridge: Hi Matt - Do you think the Duty Fulfillers is accurate? There is some controversy about posting your name like that. ...
    • Twilight Fan: hey, i like your post. i agree with you that the 1st, 2nd and 5th themes are just not most people's type. i especially h...
    • Matt Gio | TheOvernightSite.com: I got this from Typealyzer: ISTJ - The Duty Fulfillers The responsible and hardworking type. They are especially att...
    • Kim Woodbridge: @Stratos - You're welcome. Your plugins are great!...
    • Kim Woodbridge: @Jim - LOL...