Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: I am at a loss here

  1. #1
    Join Date
    May 2007
    Posts
    14

    Default I am at a loss here

    Ok - have everything installed ok but can not get ffmpeg-php-0.5.0 installed on the server.

    Keep getting the error.....

    configure: error: ffmpeg headers not found

    Have no idea what I am missing here and getting frustrated. Everything else installed on server ok except this tar

    Here is the whole transcript......

    /home/dancetv/public_html/ffmpeg-php-0.5.0]# ./configure --enable-shared
    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 file name... 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 build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    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 -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
    checking for PHP installed headers prefix... /usr/local/include/php
    checking for re2c... re2c
    checking for re2c version... 0.12.1 (ok)
    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

  2. #2
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    It seems you need to reinstall ffmpeg, then ffmpeg-php

    You can ask in ffmpeg-php mailing list for more help.

    http://groups.google.com/group/ffmpeg-php

  3. #3
    Join Date
    May 2007
    Posts
    14

    Default still having an issue

    ok so did this over ..... and got an error trying to enable shared
    do I have the correct file? MPlayer-1.0rc1

    the ffmpeg site really suxs
    Have also posted to google groups with no response.

    If I have the correct file - MPlayer-1.0rc1 and I simply doing a config / make/ install or is there a special parameter I am missing?


    root@web2 [/home/dancetv/public_html/MPlayer-1.0rc1]# ./configure --enable-shared
    Detected operating system: Linux
    Detected host architecture: i386
    Checking for cc version ... 3.4.6, ok
    Checking for host cc ... cc
    Checking for cross compilation ... no
    Checking for CPU vendor ... AuthenticAMD (6:10:0)
    Checking for CPU type ... AMD Athlon(TM) XP 2600+
    Checking for GCC & CPU optimization abilities ... athlon-xp
    Checking for kernel support of mmx ... yes
    Checking for kernel support of mmxext ... yes
    Checking for kernel support of 3dnow ... yes
    Checking for kernel support of 3dnowext ... yes
    Checking for kernel support of sse ... yes
    Checking for mtrr support ... yes
    Checking for assembler support of -pipe option ... yes
    Checking for compiler support of named assembler arguments ... yes
    Unknown parameter: --enable-shared

  4. #4
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    --enable-shared
    Maybe this option is not available, try

    ./configure --help
    so you will get the list of options.

  5. #5
    Join Date
    May 2007
    Posts
    14

    Default Ok - getting better

    I now have ffmpeg installed and ffmpeg-php installed - configurations took ok this time.

    Everything seems in place. Go to upload a video on end user interface - a .wmv file and get the following error....

    Fatal error: Class 'ffmpeg_movie' not found in /home/dancetv/public_html/upload.php on line 197

    Did I miss a parameter somewhere?

  6. #6
    Join Date
    May 2007
    Posts
    14

    Default Addendum

    http://www.philadelphiadance.tv/phpinfo.php

    I know this error is usually caused by ffmpeg not being installed or ffmpeg-php but both compiled ok now and are on the server.

    Do I need to put something in the command line for php.ini to recognize ffmpeg-php on server boot?

  7. #7
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    ffmpeg-php is not working on the server.

    http://www.philadelphiadance.tv/phpinfo.php

    If you have ffmpeg-php installed and configured properly it will show in phpinfo.

    See

    http://video.bizhat.com/phpinfo.php

  8. #8
    Join Date
    May 2007
    Posts
    14

    Default Ok

    Well still not seeing why this is not taking. It compiled fine - no errors this time, and make / install ran fine.

    So - do you offer paid tech support to get this installed for me. After 2 days of this about at an end.

    Great software but ineffective if I can not get this to run.

  9. #9
    Join Date
    Apr 2007
    Posts
    2,202

    Default

    ffmpeg-php is a php module, you need to enable it in php.ini

    For paid support, refer

    http://www.hostonnet.com/youtube-clone- ... lation.php

  10. #10
    Join Date
    May 2007
    Posts
    14

    Default php.ini

    I had already added

    extension=ffmpeg.so


    is there anything else that needs to be added?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •