With the help of this guide, I am trying to install ffmpeg using these commands:
# cd ffmpeg-php/branches/ffmpeg-php/ffmpeg-php-0.6.1/
# replace 'PIX_FMT_RGBA32' 'PIX_FMT_RGB32' -- *
# phpize
# ./configure --with-ffmpeg=/usr/local/cpffmpeg
# make
# make install
But when I run this replace 'PIX_FMT_RGBA32' 'PIX_FMT_RGB32' -- *
I get this error:
replace: Error reading file 'autom4te.cache' (Errcode: 21) replace: Error reading file 'build' (Errcode: 21) ffmpeg_frame.c converted replace: Error reading file 'include' (Errcode: 21) replace: Error reading file 'modules' (Errcode: 21) replace: Error reading file 'tests' (Errcode: 21)
And when I run make
and skip that line I get:
/root/ffmpeg-php/branches/ffmpeg-php/ffmpeg-php-0.6.1/ffmpeg-php.c:171: error: expected '{' at end of input
make: *** [ffmpeg-php.lo] Error 1
Any ideas?
#
normally implies that the command is ran as root. – tshepang Jan 29 '11 at 09:35