
How do I encode my video to flash for my website?
You don’t need any adobe or other over-priced software. On Linux (and OS X) you can use FFmpeg which is free!
On Ubuntu, I suggest you first enable the medibuntu repo.
Then install the following:
sudo apt-get install ffmpeg libavcodec-extra-52
The following command will create a high quality flash (.flv) file from pretty much any video source:
ffmpeg -i video.mov -r 25 -ac 2 -ab 128kb -ar 44100 -s 480x360 -qscale 5 video.flv
The main options you may want to be aware of are the specification of 480×360. This is to resize your video DOWN to that size. Please alter this as desired!
Also good to note is the quality settings. -qscale of 5 is a reasonable setting.
Here is a video encoded with ffmpeg and the above options:
[flv:http://scottlinux.com/tcos_sm_2.flv https://scottlinux.com/tcospreview.png 480 300]
Original trailer audio was replaced here with audio by Scott Miller for
demonstrational purposes. Trailer footage is (c) www.tcos.com