portella.com.br

Blog pessoal de Felipe Portella

Convert Video FLV’s into AVI, MPG etc … in LINUX

without comments

First, get the ffmpeg CVS source: cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg

Then, compile it: ./configure; make; sudo make install

Then, run it like this: ffmpeg -i video.flv -ab 56 -ar 22050 -b 500 -s 320×240 test.mpg

Where all that crap is: -b bitrate: set the video bitrate in kbit/s (default = 200 kb/s) -ab bitrate: set the audio bitrate in kbit/s (default = 64) -ar sample rate: set the audio samplerate in Hz (default = 44100 Hz) -s size: set frame size. The format is WxH (default 160×128)

This will convert your video.flv into a test.mpg!

If you need help, there’s a great resource RIGHT ON YOUR COMPUTER! Type man ffmpeg.

Written by Felipe Portella

dezembro 14th, 2008 at 6:06 pm

Posted in Linux

Leave a Reply

You must be logged in to post a comment.