Jan 07

Error:

/download/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zif_ffmpeg_frame_toGDImage’:
/download/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)
/download/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: (Each undeclared identifier is reported only once
/download/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: for each function it appears in.)
/download/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zif_ffmpeg_frame_ffmpeg_frame’:
/download/ffmpeg-php-0.6.0/ffmpeg_frame.c:421: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)
make: *** [ffmpeg_frame.lo] Error 1

Solution:

1. Open the file “/ffmpeg-php-0.5.0/ffmpeg_frame.c”

1. Replace all PIX_FMT_RGBA32 with PIX_FMT_RGB32

written by MG \\ tags: , , , ,


7 Responses to “error: ‘PIX_FMT_RGBA32’ undeclared”

  1. 1. mustang Says:

    Just to say thank you I have trying to get this all day

  2. 2. mohamed Says:

    thanks man it’s work for me

  3. 3. sblob Says:

    Hi, thanks for the trick.
    Just one question: 8 tests skipped and 21 failed on 29 tests: does this mean anything is wrong?

  4. 4. Alireza Says:

    Thank you!

  5. 5. Akhil Suresh Says:

    Thank you! Thank you! Thank you!

  6. 6. CN Says:

    I can’t thank you enough for this fix! Hazzah, one step closer!

  7. 7. Kostas Says:

    Still useful. thank you.

Leave a Reply

*