Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How can I get ffmpeg to convert a .mov to a .gif?

I'm looking for any console utility which can convert principally wmv files (or avi) to animated gif. Preferably the program would be a console application, because I'm going to call it within a C# or C++ program.

Note, it will be used on Windows only.

share|improve this question

marked as duplicate by slhck Sep 18 '12 at 20:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
FFmpeg will read almost anything, so whether it's MOV or WMV doesn't matter. Please note that Zeranoe hosts FFmpeg builds for Windows. – slhck Sep 18 '12 at 20:50
up vote 4 down vote accepted

FFmpeg can do this in Unix and Windows. You can download FFmpeg for Windows from here.

In the most simple case, the conversion would work as follows:

ffmpeg -i input.wmv output.gif
share|improve this answer
    
Do you exactly mean it can convert video to animated(!) gif ? – Oskar K. Sep 18 '12 at 20:54
    
That is what it claims it can do. See for example this website: catswhocode.com/blog/19-ffmpeg-commands-for-all-needs – Vincent Sep 18 '12 at 20:57
    
Hm, it converts avi (not wmv) to animated gif. – Oskar K. Sep 18 '12 at 20:58
    
Are you sure (roundup.libav.org/issue1159)? What about first converting wmv to avi (using ffmpeg's -sameq parameter) and then to animated gif? – Vincent Sep 18 '12 at 21:17
    
It's not good I think. It doesn't allow to convert wmv to animated gif directly, right? – Oskar K. Sep 19 '12 at 15:03

Not the answer you're looking for? Browse other questions tagged .