• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

FFMPEG installation on CentOS 6 32 bit

Hello Experts,

We have a server with cent OS 6.0 with PHP, MySQL, Apache. Now we are installing FFMPEG,
after run ./configure command its giving an error.

configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option

Please help me.

Tushar Kaskhedikar
1 Solution
As far as I know ffmpeg should be included in the CentOS repositories. Try installing using yum or the GUI Add/Remove Software.
There is a much easier way to install it, run the following commands as root:

below command should all be on one line:
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm

Then run:
yum install ffmpeg ffmpeg-devel

LinuxGuruLinux Server AdministratorCommented:
Normally it means you have not installed ffmpeg-devel packages. Try to install the following first and then run the configure command.

yum install ffmpeg-devel

Open in new window

If you are getting the following error:

configure: error: ffmpeg shared libraries not found.

To Fix:

1. First find out the ffmpeg path with ffmpeg --help command. The prefix default path should be like /usr/local/cpffmpeg
2. Configure the FFmpeg-php with --with-ffmpeg option

./configure --with-ffmpeg=/usr/local/cpffmpeg

Open in new window


Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now