To install FFMPEG you need to login to VPS by SSH and have root permissions. Once you do that, get the latest version of FFMPEG by using this command:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
Note: If you don’t have svn installed, run the following command:
yum install subversion
Now, when you get the latest FFMPEG, compile it:
cd ffmpeg
./configure –enable-shared
Finally, install it:
make
make install