Thinking Web Publishing? Think www.YouNeedItAll.com!

Website Search

Social Media Networking

Geo Twitter Map
See who Twits in your area

web design, web development and web technology news
Business Networking and Social Media Networking Clients and Partners:
Nikolay Web DesignerNikolay Mikychkin History of Paintings sharper web design Think Beyond Labels HD RADIO USA - HD   TV Used   Cars Syracuse 2012   Phenomenon Beyond Web Design Custom Design   labels CATERING in New   York Attorney At Law Web Site Domain   Name Video News Search cars arriveVashchenko Family Leonardo   da Vinci  custom FOOD labels and personalised CRAFT LabelsCatering in  SyracusePersonalized  Labels European Food in   CNYSyracuse Web Designer, New York website designer Custom Web Design Custom Design Labels Renaissance HistorySoftware on the Fly Upstate Pizza Web Search Engines Laser Cut it All Web Site Design Agency in New Yorktwitter user directory Verified AccountFree Web Templates, free css styles ideasI do Web Design NY Web Search Engines Visual Search, how searsh engines work? fundrasing ideas

Personalize Your Business

Da Vinci Art Gallery

LEONARDO DA VINCI's Art Gallery, Live, Paintings, Inventions, Secrets and History of Renaissance

Web Templates Sale

History of Painting


Stylistic Periods in Western Art History Major Art Movements in Western Art History
Stylistic Periods in Western Art History Major Art Movements in Western Art History

Site Statistics

Content View Hits : 635028
How to install FFMPEG on web server
Web Development and Web Technology
Written by Nikolay Gul   

How to install FFMPEG on web server

Here is the procedure that installs the FFMPEG on a Linux server.

Connect to the site with your main ID and password.

When you are at the command promt then enter

su -

Enter the root password for the server.

After that just copy each command from here line by line and right click in the session window.

cd /usr/local/src

wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2

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

tar zxvf flvtool2_1.0.5_rc6.tgz

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

mkdir /usr/local/lib/codecs/

up2date -i gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran

yum install gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran

up2date -i subversion

up2date -i ruby

up2date -i ncurses-devel

iptables -t filter -I OUTPUT -p tcp –dport 3690 -j ACCEPT

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

mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/

chmod -R 755 /usr/local/lib/codecs/

mkdir /usr/local/src/tmp

chmod 777 /usr/local/src/tmp

export TMPDIR=/usr/local/src/tmp

cd /usr/local/src/lame-3.97

./configure

make && make install

cd /usr/local/src/

cd /usr/local/src/libogg-1.1.3

./configure && make && make install

cd /usr/local/src/

cd /usr/local/src/libvorbis-1.1.2

./configure && make && make install

cd /usr/local/src/

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/

cd /usr/local/src/mplayer

./configure && make && make install

cd /usr/local/src/

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

cd /usr/local/src/

cd /usr/local/src/ffmpeg-php-0.5.0/

phpize

./configure

make

make install

echo ‘extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so’ >> /usr/local/etc/php.ini

service httpd restart

cd /usr/local/src

I think this much will be enough. If you still cannot figure out then contact your hosting provider and I think they will do it on a chargeable basis. Don’t know if every hosting provider will allow it. But yes most of them will do it.

To verify that the above things do work

You can test it like this

php -r ‘phpinfo();’ | grep ffmpeg

If it returns this message

ffmpeg
ffmpeg support (ffmpeg-php) => enabled
ffmpeg-php version => 0.5.0
ffmpeg.allow_persistent => 0 => 0

The End

 
Web Templates Sale, Full site templates Sale, flash templates sale


Email or Call:(315) 378-9729 and Search for www.YouNeedItAll.com @ Nikolay Gul 2009 © All rights reserved