How to convert mp4 video to flv on ubuntu

The ffmpeg package doesn’t support mp3 (nor xvid) encoding by default due to licensing. So if you want to convert a video file in mp4 format from for example your mobile phone to flv format to use with flash you need to fix your ffmpeg package.

The easiest way to do that is to follow this excellent guide.