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

標簽: 瀏覽(14545)  日期:2007-05-05

So, I found a digg on converting flv (Google Video) files to other formats like AVI today...Alas...it was geared for Windows users :P . So, of course, I figured out how to do it painlessly in linux....actually more painless than in Windows.

First, get the ffmpeg CVS source:

 svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk 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 320x240 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 160x128)

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.




-------------------------------------------------
上一篇:FTP server 下一篇:Encoding video to FLV format



  
Are you Bot? How you know that?ofcz no.