mardi 11 mai 2010
[ffmpeg-php] Fatal error: failed to convert frame to gd image
Par david techer, mardi 11 mai 2010 à 03:08 :: Multiméda sous GNU/Linux
C'est en tentant de me faire mon propre paquet Debian pour php5-ffmpeg pour la version 0.6.1 que j'ai eu une erreur lors de mes tests
J'ai finalement trouvé un patch à  http://www.hazaah.com/programming/togdimage-broken-patching-ffmpeg-php-060/
Ici je me remets dans le cadre de ce billet lors du cadre de l'utilisation de la librairie ffmpeg.so
Il faut en fait employer le patch suivant http://hazaah.com/download/ffmpeg_frame.c.patch
wget http://hazaah.com/download/ffmpeg_frame.c.patch patch -p0 ffmpeg_frame.c < ffmpeg_frame.c.patchDonc si on reprend ce billet (par exemple sur ma machine monroe)
cd /storage/sources/php-5.2.1/ext rm -rf ffmpeg svn co http://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php/branches/ffmpeg-php/ffmpeg-php-0.6.1 ffmpeg cd ffmpeg wget http://hazaah.com/download/ffmpeg_frame.c.patch patch -p0 ffmpeg_frame.c < ffmpeg_frame.c.patch phpize ./configure --with-ffmpeg=/opt/multimedia && makeLa nouvelle librairie se trouvera dans le sous-répertoire
modules