Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to install

  • LAME MP3 Encoder
  • Libogg + Libvorbis
  • Mencoder and also Mplayer
  • FFMpeg-PHP

For a script called PHPmotion. I do have root access so please does anyone have a step by step. I am fairly comfortable with linux commands, but I am not a pro by any means.

share|improve this question
up vote 0 down vote accepted

Our internal wiki page at work on doing this references–-the-easy-way/ (you'll have to fix up the URL manually, I have NFI what they've put in the middle of it) -- I haven't tried it myself, and the page is looking a bit old now, but it should at least get you on the right track.

share|improve this answer

Install the rpmforge release for RHEL (CentOS) 5.

rpm -Uhv

Then install ffmpeg package

yum -y install ffmpeg

The rest of the packages should also be in the rpmforge release.

share|improve this answer

I don't generally need media/codecs stuff for my Centos boxes, but I definitely do on my Fedora desktops. For the latter case, I get them from RPMFusion, which just happens to have repositories for RHEL5-compatible releases so I would suggest looking there first.

share|improve this answer

The automated installer over @ will have everything you need. Although if you don't have root access that would be an issue. Try and bubble this up to your host, should be an easy addition for them as long as you're not on shared hosting. I'd imagine PHPMotion will be utilizing shell_exec as well to execute ffmpeg commands so be sure to clarify that with them as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.