ffmpeg-php
Posted by: digitalsadhu
Posted on: 2008-12-04 02:51:00
I'm struggling to get ffmpeg-php working
I've been trying to configure it with --prefix=$HOME
I have set my environment variables PATH to $HOME/bin:$PATH and LD_LIBRARY_PATH to $HOME/lib
whenever I try to configure it complains that it can't find ffmpeg headers.
I found a post on another forum with exactly the problem I've run into but it's solution hasn't worked for me the following is from said forum.........
////------------------------------------------------------------------------
While installing FFMPEG-PHP sometime it gives following error:
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
To fix this problem just copy and paste the following commands on the
shell of your server and re-run the "./configure" for FFMPEG-PHP:
mkdir /usr/local/include/ffmpeg
cp /usr/local/include/libavcodec/* /usr/local/include/ffmpeg
cp /usr/local/include/libavdevice/* /usr/local/include/ffmpeg
cp /usr/local/include/libavformat/* /usr/local/include/ffmpeg
cp /usr/local/include/libavutil/* /usr/local/include/ffmpeg
cp /usr/local/include/libswscale/* /usr/local/include/ffmpeg
////-------------------------------------------------------------------------
I copied the headers files mentioned in the advice above from $HOME/include/.. to $HOME/include/ffmpeg and reran configure but to know avail.
Anyone else have this problem?