Today when I googled “Convert FLV” ,I found out some lamers selling software at high price that would convert a FLV file to a desired format. Now here is a tutorial that teaches you how to convert a flv file to a desired format for free.
To convert FLV files we will be using an OpenSource software popularly known as “ffmpeg”.
For Windows User:
Download binary of the software from
http://www.videohelp.com/download/ffmpeg-0.5.7z
After downloading the software unpack it and then copy it to the system path.
For Linux User:
Install the package ffmpeg. As I’m using Ubuntu (9.04) in my machine if you are ubuntu user then type in the code below in your terminal
sudo apt-get install ffmpeg
Common For All:
Now after you have install a copy of ffmpeg then we will start the tutorial. Here we are basically going to learn how to convert FLV files to various formats such as MPG, AVI etc…
To convert from FLV to MOV
In the terminal goto the directory where the downloaded FLV file exists. Then type following command in your terminal(command prompt)
ffmpeg -i downloaded.flv -ab 56 -ar 22050 -b 500 -s 640x480 converted.mpg
Here,
-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 160×128 )
Now you will notice that the flv is converted into mpg format without paying money to some lamers.
You can also force to use specific type of video codec as
ffmpeg -i downloaded.flv -ab 128 -b 1200 -vcodec mpeg4 converted.avi
You can also convert the video to mp3
ffmpeg -i downloaded.flv -vn -ab 256 converted.mp3
Even can remove the audio from the downloaded video
ffmpeg -i downloaded.mpg -an -b 1200 converted.avi
Enjoy FLV conversion.

{ 1 comment… read it below or add one }
Great. I did not know it could be done so easily.
Thank you.