Quantcast
Viewing all articles
Browse latest Browse all 10

Best method to install ffmpeg and ffmpeg-php?

Image may be NSFW.
Clik here to view.
Question

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!

Image may be NSFW.
Clik here to view.
Answer

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/


Viewing all articles
Browse latest Browse all 10

Trending Articles