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

I've been sent a .avi file that I need to convert to flash format to put online. What free software is there that will do this? I have Ubuntu and Windows 7 to work with so any software for either system will do.

share|improve this question
up vote 7 down vote accepted



/path/to/ffmpeg -i input.avi -f flv output.flv
share|improve this answer
Why the down vote? – Josh Hunt Aug 20 '09 at 4:27
I'm guessing to move my post down O_o – John T Aug 20 '09 at 4:30

ffmpeg is very good and works on Windows.

You'll need something like:

ffmpeg -y -i file.avi -acodec mp3 -ar 22050 -f flv file.flv
share|improve this answer
windows builds (so you don't have to try and compile it yourself): – mpen Aug 20 '09 at 4:43

In addition to John T, mlambie and Chealion's answers, and if you're not so keen on the command line, I would recommend you to try SUPER, which is actually a GUI on top of ffmpeg (and other encoders).

share|improve this answer

Is there a specific codec or does it matter which one is used?

Flash video can use one of three codecs:

  • H.264 (Flash 9 Release 3 or newer)
  • On2VP6 (Flash 7 or newer)
  • Sorenson Spark (Flash 6 or newer)

You can convert into all 3 using ffmpeg and there are several GUIs available to handle the conversion using ffmpeg.

If you want to use Ubuntu you'll want to install ffmpeg first check out the Ubuntu Wiki

Once it's installed you can use a command such as:

/path/to/ffmpeg -i input.avi -ar 22050 -ab 96 -b 1200 -r 12 -f flv -s 320x240 -acodec mp3 -ac 1 output.flv

-ar = Audio rate
-ab = Audio bit rate
-b = bitrate
-s = size
-acodec = audio codec
-f = format

If you're more comfortable using a GUI with Windows you can try a variety of GUI frontends such as MeWiG or AVANTI

share|improve this answer

Media Coder (Windows) is another good encoder - it covers a lot of file formats in both audio and video.

There's only one downside, though: the main interface isn't user-friendly. If you think this one does the job for you, ensure you make use of its browser-based wizard.

share|improve this answer

Any Video Converter is very good

share|improve this answer
haha.. when you don't capitalize it, it sounds like you're referring to any old converter (most of which are crap). – mpen Aug 20 '09 at 4:44
Yes. LoL it is actually a program. I have used it for a while now and I convert all my youtube videos with it – Fastboy42 Aug 21 '09 at 20:28

You must log in to answer this question.

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