ffmpeg phpffmpeg

Discussion in 'Linux VPS/Dedicated - cPanel' started by gameutopia, Sep 23, 2007.

  1. gameutopia

    gameutopia New Member

    I need to know how to install ffmpeg and php ffmpeg on my vps whm/cpanel like yesterday. I've tried and tried using yum and assorted guides from the net, but nothing but errors and failures. Am I missing something or what?

    Anyone got a simple easy to install directions for ffmpeg and phpffmeg please post them asap!!

    Thanks in advance!!

  2. khiltd

    khiltd New Member

    No one can really tell what you're missing without knowing what you did and what went wrong.
  3. NeilHerbert

    NeilHerbert YummyHost

    I am currently installing ffmpeg on my own vps. I'm following a tutorial found at - http://www.tuxmachines.org/node/17063

    vi /etc/yum.repos.d/dag.repo

    name=Dag RPM Repository for Red Hat Enterprise Linux

    Followed by
    yum update

    To use the DAG repository you need to have several GPG keys installed, for this you need to install RPMForge which automatically installs required GPG keys and such.

    wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.fc3.rf.i386.rpm

    rpm -ivh rpmforge-release-0.3.6-1.fc3.rf.i386.rpm

    yum install ffmpeg
    Yum will then install all ffmpeg packages including devel.

    Seems there is some lib problems along the way so in /etc/ld.so.conf
    add on a new line
    ldconfig -v

    To install the php extension follow the simple directions on http://ffmpeg-php.sourceforge.net/
    Then you should be all set!"

    I hope this helps.
  4. NeilHerbert

    NeilHerbert YummyHost

    To make sure you cover all your bases make sure you install the FFMPEG-Devel and the relevant rpms for the release of FFMPEG that yum installed.

    yum install ffmpeg-devel

    and you can find the rpm for the source code on dag.

    You will need to install both to avoid issues with the FFMPEG-PHP configuration. You will also need to disable proc_open if you want to get it working so I advise you to install suhosin and disable proc_open only for the domain that will be using ffmpeg_php Tutorial can be found here http://www.webhostingtalk.com/showthread.php?t=623944
  5. lakai

    lakai New Member

Share This Page