Converting MP4 video to FLV


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.

Job done!

=-=-=-=-=
Powered by Bilbo Blogger

Advertisements

2 thoughts on “Converting MP4 video to FLV

  1. Hi Mark

    I agree. WordPress is great. You need to activate the RSS subscription (unless I’m missing something?) so people can subscribe to your posts on the new blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s