Whilst I love the power and simplicity of using FFMPEG http://ffmpeg.org/ there are some things it does badly, like converting MP4 or AVI files to FLV (Flash Video).
However, to the rescue comes Mencoder http://en.wikipedia.org/wiki/MEncoder which is built from the same code as MPlayer, a close Linux alternative to VLC although I feel VLC still has the edge!
Anyway, I found this command line to convert a MP4 file to FLV to Menencoder at http://www.zimbio.com/mp4+Converter/articles/109/Convert+mp4+flv+using+mencoder , it works really well.
The command line is:
mencoder “video.mp4″ -o “video.flv” -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf harddup
Your input file is video.mp4
your output file is video.flv
In each case substitute video for the name of your input and output files and press enter.
Powered by Bilbo Blogger