16
Jun
08

Convert FLV to MPG in Ubuntu

Introduction to ffmpeg Software:

ffmpeg is a cool software to convert .flv file to .mpg format. This software supports most existing file formats like AVI, MPEG, OGG, ASF etc. And encoding formats like MPEG, DivX, MPEG4, AC3, DV etc.

.

Install ffmpeg Ubuntu:

First of all install it into your Ubuntu from Synaptic Package Manager or by using this command:

sudo apt-get install ffmpeg

You have now completed this installation.

.

Convert .flv to .mpg:

Step 1: Download the .flv file which you want to convert.

Step 2: Place the .flv file into a folder (example: Home)

Step 3: Open the terminal window and go to your folder using CD command. Like this:

nick@nick-pc:~$ cd /home
nick@nick-pc:/home$

Step 4: Now you are in Home directory. So use this command:

ffmpeg -i tom.flv -ab 56 -ar 22050 -b 500 -s 320×240 cartoon.mpg

.

Description: In this command tom.flv is the file you want to convert. So the name must be the same (tom.flv) as the source file. At the last section, You have to type a new name for output file. I have used here cartoon.flv file. Now I’m telling you about the switches:

-b means Video Bit Rate – Set the video bitrate in kbit/s (default = 200 kb/s)

-ab means Audio Bit Rate: Set the audio bitrate in kbit/s (default = 64)

-ar means Sample Rate: Set the audio samplerate in Hz (default = 44100 Hz)

-s means Size of Screen: Set frame size. The format is WxH (default 160×128 )

.

So, what are you waiting for!

Download your favorite .flv file and convert them into .mpg format and enjoy…


0 Responses to “Convert FLV to MPG in Ubuntu”



  1. No Comments Yet

Leave a Reply