When we tried to upgrade Plesk PHP to 5.3.x ffmpeg-php does not work so we have to upgrade that as well.
Procedure is: login as root
tar -xjf ffmpeg-php-0.6.0.tbz2
OK so we have ffmpeg 0.6.0 (latest, and it was very long time ago since its last commit), now try to compile it:
Here we have errors:
error: 'PIX_FMT_RGBA32' undeclared (first use in this function)
With reference link: http://ubuntuforums.org/showpost.php?p=7022607&postcount=8, thank you Arvand
We solve the problem as follow commands:
Then finally add extension=”ffmpeg.so” inside php.ini, which normally can be found in /etc/php.ini
Or add that as a ffmpeg.ini file in /etc/php.d/ with content
service httpd restart
And done, enjoy!