ffmpeg is open source project that produce different audio and video Codecs, players, conversion tools, broadcasting application for live streaming and so on. These all packages are released under GPL License.
This HowTo explains how to install ffmpeg on centos distro linux and audio conversion short tutorial.
All commands are run as root.
Internet should be available on Linux box.
Before we install ffmpeg, we need to install dependencies which requires external repository. We will use popular centos repo RPMForge.
rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
yum install faac faac-devel faad2 faad2-devel lame lame-devel
Download FFmpeg source code at /usr/local/src/
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
Configuration and compilation
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-libfaac --enable-libmp3lame
Sample conversion of audio file from wav to mp3 using ffmpeg
ffmpeg -i audio.wav -y audio.mp3
If you are still unable to install it, leave us a comment. We will help you out.