FFmpeg with amr support

To enable amr support in ffmpeg, you will need to rebuild it, ffmpeg version numbers may be different and you may need to adjust this when following the guide.

 

Install the tools

su -
yum -y install rpmdevtools yum-utils

Download ffmpeg source from your normal user terminal (not root) and create a build enviroment

 

 yumdownloader --source ffmpeg
rpmdev-setuptree

Now we download the dependencies to build ffmpeg

To enable amr support in ffmpeg, you will need to rebuild it.

Install the tools

su -c 'yum -y install rpmdevtools yum-utils'

Download ffmpeg source from your normal user terminal (not root) and create a build enviroment

 yumdownloader --source ffmpeg
rpmdev-setuptree

Now we download the dependencies to build ffmpeg

 su -c 'yum-builddep ffmpeg-0.8.7-1.fc16.src.rpm'

Now we install the src.rpm into the build enviromet and rebuild it, again a normal user terminal not root.

rpm -ivh ffmpeg-0.8.7-1.fc16.src.rpm
rpmbuild -ba /home/$(logname)/rpmbuild/SPECS/ffmpeg.spec

Now we just need to install the new rpms, theses are in your home directory /rpmbuild/RPMS and you need to install ffmpeg and ffmpeg-libs, 

if you already have them installed the use yum reinstall --nogpgcheck /...............

Below is a 64 bit  rpms i have built