i recently wrote a tutorial on easily installing ffmpeg with just yum and without compiling from source packages. Tutorial Link: see here Leave me a feedback if you like it!
root@server3 [~/ffmpeg-php-0.5.2.1]# ffmpeg --help FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libogg --enable-libtheora --enable-libfaad --enable-libfaac --enable-libgsm --enable-xvid --enable-x264 --enable-liba52 --enable-liba52bin --enable-pp --enable-shared --enable-pthreads --enable-gpl --disable-strip libavutil version: 49.4.0 libavcodec version: 51.40.4 libavformat version: 51.12.1 built on Jun 4 2007 11:02:12, gcc: 4.1.1 20070105 (Red Hat 4.1.1-52) ffmpeg: missing argument for option '--help' root@server3 [~/ffmpeg-php-0.5.2.1]# root@server3 [~/ffmpeg-php-0.5.2.1]# ./configure --with-ffmpeg=/usr/ checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613 checking for PHP installed headers prefix... /usr/local/include/php checking for re2c... no configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for ffmpeg support... yes, shared checking whether to force gd support in ffmpeg-php... no checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option root@server3 [~/ffmpeg-php-0.5.2.1]# Wrong somewhere??
oh! just forgot to ask. did you use yum or compiled the ffmpeg from source?? If you have compiled, see this on how to fix this error.
If you get an error like: Make sure ffmpeg is compiled as shared libraries using the --enable-shared option make sure you yum install ffmpeg-devel -Brian Brian J. Brandon, CCNP vUnity Bonded Internet http://www.vUnity.com