The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FFmpeg-php

Discussion in 'Database Discussions' started by nick1, Mar 11, 2008.

  1. nick1

    nick1 Member

    Joined:
    May 21, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Hiya Helpers,

    today i was trying to install ffmpeg and ffmpeg-php extension.

    Ffmpeg was installed without issue but when I'm installing ffmpeg-php it is showing some errors.

    FFMPEG:
    ========================================
    FFmpeg version SVN-r12406, Copyright (c) 2000-2008 Fabrice Bellard, et al.
    configuration: --enable-shared
    libavutil version: 49.6.0
    libavcodec version: 51.51.0
    libavformat version: 52.9.0
    libavdevice version: 52.0.0
    built on Mar 9 2008 22:17:17, gcc: 3.2.3 20030502 (Red Hat Linux 3.2.3-59)
    ========================================

    ffmpeg-php:

    ========================================
    # ./configure
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking whether gcc and cc understand -c and -o together... yes
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20020429
    checking for re2c... exit 0;
    checking for gawk... gawk
    checking for ffmpeg support... yes, shared
    checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option
    ========================================

    don't know why it's showing that error

    thanks for help
     
  2. nick1

    nick1 Member

    Joined:
    May 21, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    anyone? .......
     
  3. Shiboning

    Shiboning Member

    Joined:
    Sep 18, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Try this method to reinstall ffmpeg and ffmpeg-php:

    nano -w /etc/yum.repos.d/dag.repo

    Insert

    [dag]
    name=Dag RPM Repository for Red Hat Enterprise Linux
    baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
    gpgcheck=1
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/FFMPEG-GPG-KEY



    Exit and Save

    Get the PGP key from here and put in in the file named above

    run:

    yum install ffmpeg-devel

    edit

    nano /etc/ld.so.conf

    add

    /usr/local/lib

    then run

    ldconfig -v


    FFMPEG-PHP Installation.

    #cd /usr/local/src (if no such a directory, create one)

    #wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.1.tbz2
    #tar jxvf ffmpeg-php-0.5.1.tbz2

    #cd /usr/local/src/ffmpeg-php-0.5.1/
    #phpize
    #./configure
    #make
    #make install
     
  4. welo

    welo Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Alternatively:

    WHM > {Software} > Rebuild RPM Database
    WHM > {Software} > Install a RPM > ffmpeg.[platform]
    WHM > {Software} > Install a RPM > ffmpeg-devel.[platform]
    WHM > {Software} > Install a RPM > ffmpeg-libpostproc.[platform]
     
  5. villario

    villario Registered

    Joined:
    Dec 10, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Tried that

    hi i tried

    WHM > {Software} > Rebuild RPM Database
    WHM > {Software} > Install a RPM > ffmpeg.[platform]
    WHM > {Software} > Install a RPM > ffmpeg-devel.[platform]
    WHM > {Software} > Install a RPM > ffmpeg-libpostproc.[platform]

    but none of the ffmpeg.[platform] entries appear in the rpm list. it sounds like the easiest way to install FFMPEG if it would be working. anyone has an idea on this? I can't believe such a popular item still does not offer an easy install routine for the most used servers.

    JV
     
  6. Shyam Mohammed

    Joined:
    Jul 9, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ernakulam, Kerala, IN
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page