Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My son has made some animations with Pivot Stickfigure Animator which we'd like to upload to YouTube. The problem is Pivot saves as animated GIFs which I can't upload to YouTube.

The Wikipedia article recommends using Windows Movie Maker to convert GIF to WMV, but unfortunately I'm using Windows 7 for which you can get the new Windows Live Movie Maker which doesn't seem to support GIFs.

I Googled and found an article which said to use Beneton Movie GIF to convert animated GIF to AVI, but this seemed to rely on a 3rd Party application which wasn't installed and so failed. Installing the missing application - pjBmp2Avi - by hand and adding it to the path still didn't allow Beneton to do the conversion.

I hoped FFmpeg might do the trick but this only outputs to animated GIFs, it won't read from then.

Further Googling found lots of applications with 30 day trials and so on but I was hoping for something free.

So any suggestions on how I can convert an animated GIF to a movie file on Windows using free (as in beer) software?

share|improve this question
    
superuser.com/questions/5730/… should work if you write a small batch script that asks for the file name as input and then performs those steps. Really, it's not that scary if you have it echo a little box with some text in it to indicate what you're supposed to do... –  RCIX Jul 23 '09 at 13:00
add comment

10 Answers

up vote 17 down vote accepted
+150

Try this Open Source software http://www.virtualdub.org

Open your .gif as a video file... then save as .avi

share|improve this answer
2  
Works great, thanks. And as a bonus I think we can use the same tool to add voices to to the stick men. –  Dave Webb Jul 25 '09 at 7:26
add comment

The ImageMagick convert program can split up animated GIFs. e.g. given the existence of a file 'foo.gif', I can run:

convert foo.gif foo.png

and it will create files foo-0.png, foo-1.png, etc, one for each frame. If you have more digits, then use the following syntax, for example with 4 digits:

convert foo.gif foo%04d.png

You could then use FFmpeg to build those into a movie.

ffmpeg -f image2 -r framerate -i foo-%d.png -c:v libx264 -pix_fmt yuv420p output.mp4

To change the quality of the resulting video, add the -crf option, e.g. -crf 23, where lower means better quality. Sane values are between 18 and 28, but since the GIF quality shouldn't be too good in the first place, you probably won't need this option.

As of 2013, recent versions of ffmpeg can accept animated gifs as input directly.

ffmpeg -r framerate -i input.gif -c:v libx264 -pix_fmt yuv420p output.mp4
share|improve this answer
    
ffmpeg is smart enough to infer most of those options: ffmpeg -i input.gif output.mp4 –  framp Jun 22 at 17:49
add comment

You can try AviSynth. It has several encoding options for images. You may also want to ask this on VideoHelp.com.

share|improve this answer
    
I've had a quick look and to use animated GIFs with AviSynth I'll need to install AviSynth, the Immaavs plug-in and ImageMagick, and something like VirtualDub to actually see and save the converted GIF. Oh and write an AviSynth script for each GIF I want to convert. So it's a possibility, but I was hoping for something a little less convoluted, ideally a simple GUI that my son could use himself. –  Dave Webb Jul 16 '09 at 16:37
add comment

If you have the older Windows Movie Maker for XP, etc., you can easily load your animated GIF and convert it to a movie file. So, if you have an older computer, you can set it up this way.

For some reasons, animated GIFs show up as still shots in windows Movie Maker Live. Don't know why.

Here is a FREE way to change this. Download CAMSTUDIO (The free open source version) (or go to CNET and find a download).

  • Once you've set it up, you can open Pivot in the project pivot mode (not the animated gif).
  • Set Camstudio so you can just grab around the screen of the pivot picture itself.
  • Play your pivot and it will record it like a movie in AVI format.
  • Then you can use Zamzar (or other online video converter sites) to convert for YouTube.

I teach Pivot in my class and sometimes students projects won't convert to animated gifs so that's how I fix the problem.

share|improve this answer
add comment

MediaCoder is free and can do this for you.

MediaCoder is a free universal media transcoder since 2005. It integrates most popular audio/video codecs and tools in an elegant and transparent manner into an all-in-one transcoding solution. With a flexible and extendable architecture, latest codecs and tools are updated added in constantly. MediaCoder intends to be the swiss army knife for media transcoding in all time.

share|improve this answer
1  
This works a treat. If I could split bounty 50/50 I'd have given you half. –  Dave Webb Jul 25 '09 at 7:24
add comment

I'm sure you've found this product already, but it appears that http://www.gamani.com/ will do exactly what you are looking for, converting a gif to a avi.

It does have a 30 day trial, and is $30 after that. A price of $30 seems like a very good deal to me considering the time it will save you and your son. I'm sure you've invested way more than $30 into this already by spending the time finding and trying other products out there.

Cut your losses by picking up the tool you need to accomplish the task at hand vs spending more time searching for it.

share|improve this answer
1  
Bah. Throwing $30 dollars at a problem instead of 2 weeks of hard mental labor to create a partial solution? Where's the fun in that? ;-) –  pcapademic Jul 19 '09 at 22:47
    
Thankfully my bounty has got some other people to do the work for me and have found me some good free solutions. :-) –  Dave Webb Jul 25 '09 at 7:25
add comment

CamStudio (http://camstudio.org/).

Not a true "conversion", in that you use your current player (a webbrowser?) to play the animated gif and then use CamStudio to do a screen capture.

I have done something similar with Camtasia, for which our department purchased a license. I have used CamStudio, and it does 90% of what I needed Camtasia for.

share|improve this answer
    
This worked OK but was a pain to line up with the window. Jing - jingproject.com - seems to do the lining up automatically but thankfully some people have posted some tools which do the conversion more directly. –  Dave Webb Jul 25 '09 at 7:23
add comment

There is a quite exhaustive list of tools here.

Total video converter supports animated GIFs and has a trial version.

Online tools for editing animated GIFs.

Yet another software tool.

I really think that the best solution would be online file converters, but I could't find anyone that supports animated GIFs, so I guess you'll have to download a tool.

share|improve this answer
add comment

If you upload your pivot animation on Pivot Stickfigure Animator the save it in a Gif. Format. Then go to a microsoft web and download windows Movie Maker(you should be able to do that). In WMV(windows movie maker) click upload video. The click on All Files instead of Video Files then save. You should be able to upload the video to youtube from then on.

share|improve this answer
    
Unfortunately I'm using Window 7 for which you can get only the new Windows Live Movie Maker which doesn't seem to support GIFs. –  Dave Webb Apr 6 '10 at 14:42
add comment

Just go find and download windows movie maker as opposed to movie maker live they are distinct and the windows movie maker for windows 7 (6.1) converts them quite well. just did a bunch of these creepy gifs:

http://www.wired.com/underwire/2012/04/antique-photos-animated-gifs/?pid=6573

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.