Create Flv
From Kyle's Wiki
This is a short command I use to convert videos to FLV's for streaming on websites:
ffmpeg -i "mpeg2/$EACH" -ab 128 -ar 44100 -vcodec flv -b 1400k -s 640x360 -bt 100k -qmin 1 -qmax 15 -g 160 -cmp 3 -subcmp 3 -mbd 2 -flags +aic+cbp+mv0+mv4+trell "flv/$flv"
You are going to need the medibuntu repositories for that:
sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list && sudo apt-get -q update && sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring && sudo apt-get -q update
Then you need the new ffmpeg
sudo apt-get install ffmpeg