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.

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

6 Answers 6

up vote 7 down vote accepted

FFMPEG.

example:

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

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
1  
windows builds (so you don't have to try and compile it yourself): ffmpeg.arrozcru.org/builds –  Mark Aug 20 '09 at 4:43
add comment

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

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

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

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). download.cnet.com/Any-Video-Converter/3000-2194_4-10661456.html –  Mark 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
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.