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

Possible Duplicate:
FFMpeg-PHP Installation Error

I'm able to get FFmpeg installed on my server but ffmpeg-php NEVER installs correctly. This happens every time:

FFMpeg-PHP Installation Error

Is there something wrong with the ffmpeg installation?

How should I install ffmpeg on CentOS 5.5 32-bit? What method is preferred knowing that ffmpeg-php needs to be installed later?

This has been bothering me for weeks and I need to find a solution soon.


share|improve this question

marked as duplicate by EEAA, mailq, Zoredache, Ward, Shane Madden Sep 13 '11 at 15:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

@ErikA I just linked to that... This is a different question. I'm asking for advisable methods of installing ffmpeg and ffmpeg-php (not on how to fix that error). – tundoopani Sep 12 '11 at 22:35
This is essentially the same question. The other question suggested you try and install using yum. Did you do that? – EEAA Sep 12 '11 at 22:52
up vote 1 down vote accepted

You have two options.

  1. Install using RPM
  2. Compile from source

For installing RPM, you can enable any third-party repo like DAG and then simply do

yum install ffmpeg

To enable DAG repo, simply install the RPM,

rpm -ivh

Note: you still need to install ffmpeg-php from source or you may need to update php from the DAG repo itself (which I don't advise).

For compiling from source, you need to download each and every ffmpeg & related modules which you want to install and then compile it. Or, you can simple use any autoinstaller scripts available in the net to compile ffmpeg for you.


share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.