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.

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
add comment

1 Answer

up vote 2 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 ? –  Grienders 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. –  Grienders 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? –  Grienders Sep 19 '12 at 15:03
show 1 more comment

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