Follow each of these commands and proceed with installation instructions thru yum
Installing FFMpeg
shaunak@netlynx.com[/]# yum install ffmpeg ffmpeg-devel
or
shaunak@netlynx.com[/]# yum install ffmpeg.i386
This can be done in six easy steps: Download the latest ffmpeg-php release Extract the archive: tar -xjf ffmpeg-php-X.x.x.tbz2 cd ffmpeg-php-X.x.x/ phpize./configure && make sudo make install. Install ffmpeg, flv2tool, ffmpeg-php August 18, 2010 January 18, 2021 - by Shaunak Sontakke Follow each of these commands and proceed with installation instructions thru yum.
Check the installation by:-
shaunak@netlynx.com[/]# ffmpeg -formats
Installing FFmpeg-PHP extension
Get the latest copy of extension from http://ffmpeg-php.sourceforge.net/
shaunak@netlynx.com[/]#wget http://biznetnetworks.dl.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2
shaunak@netlynx.com[/]# tar -xjf ffmpeg-php-0.6.0.tbz2
shaunak@netlynx.com[/]# cd ffmpeg-php-0.6.0
shaunak@netlynx.com[/]# phpize
shaunak@netlynx.com[/]#./configure
shaunak@netlynx.com[/]# make
shaunak@netlynx.com[/]# make install
Then add the .so extension in your php.ini file.
[ffmpeg]
extension=ffmpeg.so
Installing Mplayer + Mencoder
shaunak@netlynx.com[/]# yum install mplayer
shaunak@netlynx.com[/]# yum install mencoder
Installing LAME MP3 Encoder
shaunak@netlynx.com[/]# yum install lame
Installing flv2tool
shaunak@netlynx.com[/]# tar -xjf ffmpeg-php-0.6.0.tbz2
shaunak@netlynx.com[/]# cd ffmpeg-php-0.6.0
shaunak@netlynx.com[/]# phpize
shaunak@netlynx.com[/]#./configure
shaunak@netlynx.com[/]# make
shaunak@netlynx.com[/]# make install
Then add the .so extension in your php.ini file.
[ffmpeg]
extension=ffmpeg.so
Installing Mplayer + Mencoder
shaunak@netlynx.com[/]# yum install mplayer
shaunak@netlynx.com[/]# yum install mencoder
Installing LAME MP3 Encoder
shaunak@netlynx.com[/]# yum install lame
Installing flv2tool
For installing this you would probably need ruby to be installed.
shaunak@netlynx.com[/]# yum install ruby
Then get the latest gem from :- http://rubyforge.org/frs/?group_id=1096&release_id=9694
shaunak@netlynx.com[/]# wget http://rubyforge.org/frs/download.php/17496/flvtool2-1.0.6.gem
shaunak@netlynx.com[/]# gem installflvtool2-1.0.6.gem
How to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog from source
This article shows how to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog from source. It should work on most systems, however may need some tweaking from system to sytem.
cd /usr/local/src
Download source tarballs:
wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
wget http://www4.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
Extract the tarballs:
tar zxvf lame-3.97.tar.gz
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.1.2.tar.gz
tar zxvf flvtool2_1.0.5_rc6.tgz
tar jxvf essential-20061022.tar.bz2
tar jxvf ffmpeg-php-0.5.0.tbz2
tar zxvf flvtool2_1.0.5_rc6.tgz
Make a directory to store all the codecs:
Install Ffmpeg Mac
mkdir /usr/local/lib/codecs/
Facegen modeller 3.1 2 _verified_ keygen code.
Install any necessary packages:
yum install gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran
yum install subversion ruby ncurses-devel
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
cd /usr/local/src/mplayer
svn update
cd /usr/local/src
Copy codecs for mplayer:
Install Ffmpeg On Windows
mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/
If you are using secure tmp:
mkdir /usr/local/src/tmp
chmod 777 /usr/local/src/tmp
export TMPDIR=/usr/local/src/tmp
Installing Lame:
cd /usr/local/src/lame-3.97
./configure
make && make install
Installing Libogg:
cd /usr/local/src/libogg-1.1.3
./configure && make && make install
Installing libvorbis:
How To Install Ffmpeg-php Prehung
cd /usr/local/src/libvorbis-1.1.2
./configure && make && make install
Installing flvtool2:
cd /usr/local/src/flvtool2_1.0.5_rc6/
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
cd /usr/local/src/mplayer
./configure && make && make install
Installing ffmpeg:
cd /usr/local/src/ffmpeg/
./configure –enable-libmp3lame –enable-libogg –enable-libvorbis –disable-mmx –enable-shared
make && make install
ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51
Installing ffmpeg-php:
cd /usr/local/src/ffmpeg-php-0.5.0/
phpize
./configure
make
make install
Note: Make sure this is the correct php.ini for this server.
echo ‘extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so' >> /usr/local/Zend/etc/php.ini
Restart apache:
service httpd restart