Knowledgebase

Undefined Symboles when installing ffmpeg-php?

Posted by Chris`, 04-06-2009, 04:56 AM
Has anyone else here installed ffmpeg? I'm almost done getting it setup when I ran into an error which I don't understand. My theory is that I have a version conflict, but I'm not sure how to fix this or what software is conflicting. Here's the error: I get this on "make test" for ffmpeg-php-0.5.1. All test's fail. Any ideas? Please help..

Posted by Chris`, 04-06-2009, 05:10 AM
I also tried to install ffmpeg-php-0.6.0 and I was returned with the following:

Posted by SparkSupport, 04-06-2009, 08:29 AM
edit the file ffmpeg-php.c in the source avcodec_build (), CONST_CS | CONST_PERSISTENT); to LIBAVCODEC_BUILD, CONST_CS | CONST_PERSISTENT);

Posted by Chris`, 04-06-2009, 04:33 PM
Now I get this:

Posted by SparkSupport, 04-07-2009, 01:45 AM
which version are you trying to use 0.6 or 0.5? From the error it is clear that the problem is with the versions of ffmpeg you have already installed and the ffmpeg-php you are trying to compile.

Posted by Chris`, 04-07-2009, 02:26 AM
I tried to install ffmpeg using yum, and it looked like it worked. How do I check what version of ffmpeg is installed? And, I don't really care what version of ffmpeg-php I use, I just want ffmpeg to work.

Posted by oservd, 04-08-2009, 10:02 PM
Not sure if this is proper or not, but I was able to get it to compile with the latest trunk from both FFMPEG & PHP-FFMPEG. In PHP-FFMPEG edit ffmpeg_frame.c, replace all instances of PIX_FMT_RGBA32 to PIX_FMT_RGB32 instead. Compiles fine, and all the resources seem to be available without any issues. Cheers.

Posted by Chris`, 04-08-2009, 11:37 PM
Great, now version 0.6.0 compiled and configured correctly with that edit. But now I get this error when running "make test". More Details? ..

Posted by technical_staff, 04-09-2009, 10:34 AM
Hi, For the below error, make: *** [ffmpeg_frame.lo] Error 1 Under source directory where you run "make", move ffmpeg_frame.loT to ffmpeg_frame.lo and again run "make" If it produces similar error to other modules, repeat the same. Regards, We3cares tech

Posted by Chris`, 04-12-2009, 06:00 AM
So, what about the Warning: Module 'ffmpeg' already loaded in Unknown on line 0 error?

Posted by net, 04-12-2009, 06:16 AM
You will keep on getting this error continually because ffmpeg itself is not properly installed. You need to check carefully that the modules are there.

Posted by Chris`, 04-12-2009, 06:24 AM
I just figured out that It's looking for libavformat.so.51 and I have libavformat.so.52..



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read


Language:

Client Login

Email

Password

Remember Me

Search