hmm i got one better way to go ... this package will install all

  • ffmpeg
  • Mplayer
  • A52decoder
  • Amrnb and Amrwb
  • All codecs
  • facc and faad2
  • Ruby
  • flvtool2
  • ffmpeg-php
  • Mplayer and Mencoder
  • Lame
  • Libogg
  • Libvorbis
  • Libtheora
  • Libwmf
  • opencoreamr
  • vorbistools
  • X264
  • MP4Box
  • Xvidcore
Well the code should go like this ...

1. cd /usr/src/
2.
3. Unzip the file
tar -xzvf ffmpeginstaller.7.0.tar.gz
cd ffmpeginstaller.7.0
4. Run the installer.
./install.sh
The script will find your php.ini, enter the php.ini full path to confirm the installation.
This process will take about 30 minutes and it will install the following packages:

  • ffmpeg
  • Mplayer
  • A52decoder
  • Amrnb and Amrwb
  • All codecs
  • facc and faad2
  • Ruby
  • flvtool2
  • ffmpeg-php
  • Mplayer and Mencoder
  • Lame
  • Libogg
  • Libvorbis
  • Libtheora
  • Libwmf
  • opencoreamr
  • vorbistools
  • X264
  • MP4Box
  • Xvidcore

5. Reboot the server.
6. Verify ffmpeg module listing in php and other modules.
php -m | grep ffmpeg
ls -lah /usr/local/cpffmpeg/bin/
Thanks