from http://www.webhostingtalk.com/showthread.php?t=582780
A few people have asked for this to be done so heres a howto for installing:
FFmpeg
FFmpeg-PHP
Mplayer + Mencoder (mencoder is now built into the mplayer svn release )
flv2tool ****REQUIRES RUBY ON RAILS****
LAME MP3 Encoder
Libogg
Libvorbis
cd /usr/local/src
GET CRAP:
wget www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
wget rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
wget easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
wget downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
EXTRACT THE CRAP:
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-20060611.tar.bz2
tar jxvf ffmpeg-php-0.5.0.tbz2
WE NEED A DIR MADE:
mkdir /usr/local/lib/codecs/
WE NEED TO INSTALL SVN + ROR:
up2date -i subversion
up2date -i ruby
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:
mv /usr/local/src/essential-20060611/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/
SECURE TMP IS A PAIN AT TIMES Wink
mkdir /usr/local/src/tmp
chmod 777 /usr/local/src/tmp
export TMPDIR=/usr/local/src/tmp
LAME:
cd /usr/local/src/lame-3.97
./configure
make && make install
cd /usr/local/src/
LIBOGG:
cd /usr/local/src/libogg-1.1.3
./configure && make && make install
cd /usr/local/src/
LIBVORBIS:
cd /usr/local/src/libvorbis-1.1.2
./configure && make && make install
cd /usr/local/src/
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/
cd /usr/local/src/mplayer
./configure && make && make install
cd /usr/local/src/
FFMPEG:
cd /usr/local/src/ffmpeg/
./configure --enable-mp3lame --enable-libogg --enable-vorbis --disable-mmx --enable-shared
######### IGNORE THIS ECHO LINE The dev's fixed the issue in svn. Im only leaveing it here in case it comes up again ###############
echo '#define HAVE_LRINTF 1 '>>config.h
#############################################
###################################
##############################
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/
FFMPEG-PHP:
cd /usr/local/src/ffmpeg-php-0.5.0/
phpize
./configure
make
make install
NOTICE: Make sure this is the correct php.ini for the box!!
echo 'extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so' >> /usr/local/Zend/etc/php.ini
NOTICE: Make sure this is the correct php.ini for the box!!
service httpd restart
cd /usr/local/src
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS
Similar Threads
-
FLV file upload to YouTube Failed
By rishting in forum Newbie / General discussionsReplies: 6Last Post: 4th Feb 2010, 09:14 -
Best way to upload FLV files from other streaming sites to YouTube?
By swiftor in forum Video Streaming DownloadingReplies: 4Last Post: 28th Jan 2009, 11:37 -
How to upload HD Videos on Youtube
By hzgg2 in forum Video Streaming DownloadingReplies: 1Last Post: 9th Jan 2009, 15:23 -
Can I upload on Youtube a AVi format with FLV codec?
By hzgg2 in forum Video Streaming DownloadingReplies: 1Last Post: 26th Sep 2008, 22:54 -
How do I upload videos to youtube for more than 10 min?
By Spritemoney in forum Newbie / General discussionsReplies: 3Last Post: 29th Dec 2007, 15:58