When you try to install ffmpeg-php module in the server, you can get the error
FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1
There are two fixes for this issue. Try the first one, if it doesnt fix then go to second.
Fix 1:
In the latest ffmpeg-php, you need to modify the file ffmpeg_frame.c
Usually location will be /usr/src/ffmpeginstaller/ffmpeg-php-0.6.0/ffmpeg_frame.c
Open the above mentioned file and replace every instance of PIX_FMT_RGBA32 with PIX_FMT_RGB32
Then try to configure it,.
./configure
make
make install
Fix 2:
If the fix1 didnt fix the issue, you can follow this one.
You need to just copy the file ffmpeg_frame.loT to ffmpeg_frame.lo
cd /path/to/ffmpeg-php-0.6.0 ie cd /usr/src/ffmpeginstaller/ffmpeg-php-0.6.0
cp ffmpeg_frame.loT ffmpeg_frame.lo
make clean
./configure
This should fix the issue/
No comments:
Post a Comment