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.

link|improve this question

55% accept rate
feedback

6 Answers

up vote 7 down vote accepted

FFMPEG.

example:

/path/to/ffmpeg -i input.avi -f flv output.flv
link|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
feedback

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
link|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
feedback

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).

link|improve this answer
feedback

Media Coder (Windows) is another good encoder, and 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. So if you think this one does the job for you, do make use of its browser-based wizard.

link|improve this answer
feedback

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

link|improve this answer
feedback

Any Video Converter is very good

link|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
feedback

Your Answer

 
or
required, but never shown

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