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

Advertisement
Explore posts in the same categories: LINUX, Uncategorized

2 Comments on “how to convert flv file to avi or mpg using ffmpeg in Ubuntu ?”

  1. Chat Says:

    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)

    • babeyudi Says:

      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


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 )

Connecting to %s


Follow

Get every new post delivered to your Inbox.