ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1/. Show all posts
Showing posts with label FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1/. Show all posts

2011/04/19

FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1/

Sometimes you will get the error given below when installing ffmpeg-php in your server.
FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1


Fix:
modify the file ffmpeg_frame.c and replace every instance of PIX_FMT_RGBA32 with PIX_FMT_RGB32


Now run make and make install


Eg: 
  • vi ffmpeg_frame.c
  • :%s/PIX_FMT_RGBA32/PIX_FMT_RGB32
  • :wq!

Another method is 
  • cd /path/to/ffmpeg-php-0.6.0
  • cp -aP ffmpeg_frame.loT ffmpeg_frame.lo
  • make clean
  • ./configure