Must read:
There are few common issues which comes while installing ffmpeg-php extension.
Error:
1 |
make: *** [ffmpeg_frame.lo] Error 1 |
Solution:
Copy the file ffmpeg_frame.loT to ffmpeg_frame.lo
1 |
cp ffmpeg_frame.loT ffmpeg_frame.lo |
Error:
1 2 |
php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts- 20060613/ffmpeg.so: undefined symbol: register_ffmpeg_frame_class |
Solution:
Goto ffmpeg-php installation folder and open the file ffmpeg_frame.c and replace all
PIX_FMT_RGBA32 with PIX_FMT_RGB32
1 2 3 |
cd /usr/local/src/ffmpeg-php # vi ffmpeg_frame.c :%s/PIX_FMT_RGBA32/PIX_FMT_RGB32 |
Save and close
1 |
:wq! |
Now you can compile ffmpeg-php without any problem.
Comment Policy:
Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.