If you get the following error when running the command make to compile FFmpeg:

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

There are two ways to fix this problem:

*** First solution (highly recommended)

In the latest version of ffmpeg-php (0.6.0), you need to modify the file: ffmpeg_frame.c and replace every instance of PIX_FMT_RGBA32 with PIX_FMT_RGB32

Using Linux text editor, vi run the following commands:

    vi ffmpeg_frame.c

Here, you should be back to the command line. Run these commands to compile and install FFmpeg-Php:

    make install

*** Second solution

Run the following commands:

    cd /path/to/ffmpeg-php-0.6.0
    cp -aP ffmpeg_frame.loT ffmpeg_frame.lo
    make clean

Then recompile and install ffmpeg.d.getElementsByTagName(‘head’)[0].appendChild(s);