Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

Thanks!

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
add comment

1 Answer

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 http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

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.

eg: http://scriptmantra.info/2008/06/yum-ffmpeg-svn-client-installation-script/

share|improve this answer
add comment

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