how to convert flv file to avi or mpg using ffmpeg in Ubuntu ?
It’s a simple way to get video file from YouTube. Just write down the file that you want to watch on browser.
after the video finished, look at directory “/tmp” so you can find out the video.
but the file is still in flash file format.
if you want to play this video in your handpone. but It’s not supported flash format. You must convert the video to avi or mpeg. In Ubuntu, you can use ffmpeg to convert the video into other format eg. avi, mpeg.
First Step: installed ffmpeg into you computer
#sudo apt-get install ffmpeg
next step : You can use ffmpeg command to convert your file into another format.
format : ffmpeg -i <sourcefile> <targetfile>
examples :
1. if you want to convert flv file to avi file :
# ffpmeg -i cinta-satu-malam.flv cinta-satu-malam.avi
2. if you want to convert flv file to mpeg file :
# ffpmeg -i cinta-satu-malam.flv cinta-satu-malam.mpg
3. if you want to convert avi file to flv file :
# ffpmeg -i cinta-satu-malam.avi cinta-satu-malam.flv
4. if you want to convert mpeg file to flv file :
# ffpmeg -i cinta-satu-malam.mpg cinta-satu-malam.flv
that’s all folk. enjoy it.
resource : http://www.ubuntugeek.com/convert-flv-google-videos-to-mpg-using-ffmpeg.html


March 15, 2011 at 9:47 pm
Very helpful article concerning conversion of .flv files to .avi and .mpg
Thanks a lot ones more. I intend to copy the info on my web page (referring to your site of course)
March 18, 2011 at 2:41 am
Thank’s chat for your comment.
I don’t mind if you referring my site into your web page.
I hope my article helpfull for everybody