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



