FFMPEG installation on CentOS 6 32 bit

Posted on 2012-08-16
Last Modified: 2015-11-03
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
Question by:kaskhedikar_tushar
    LVL 87

    Expert Comment

    As far as I know ffmpeg should be included in the CentOS repositories. Try installing using yum or the GUI Add/Remove Software.
    LVL 23

    Accepted Solution

    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

    Then run:
    yum install ffmpeg ffmpeg-devel

    LVL 13

    Expert Comment

    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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now