Saturday, September 3, 2011

error: 'PIX_FMT_RGBA32' undeclared

Advertisements

You may get this error while installing ffmpeg.
The solution is
#vi /usr/local/src/ffmpeg-php-0.6.0/ffmpeg_frame.c
and

:%s/PIX_FMT_RGBA32/PIX_FMT_RGB32
The thing is you have to replace
 “PIX_FMT_RGBA32″ by  “PIX_FMT_RGB32″ in the file ffmpeg_frame.c
save the file and you can proceed with installation.

No comments:

Post a Comment

Be nice. That's all.