Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog. we are using CentOS release 5.2 (Final)
I want to install these from SSH. i am using this code but getting problem. WTO - Install ffmpeg and ffmpeg-php on CentOS system Following the laces to be used for installing ffmpeg and ffmpeg-php (and relative codecs and dependences) in a system CENTOS. To suit the run of the file php.ini for the system. cd /usr/src/ mkdir ffmpeg cd ffmpeg/ wget http://www3.mplayerhq.hu/MPlayer/rel...061022.tar.bz2 wget http://rubyforge.org/frs/download.ph..._1.0.5_rc6.tgz wget http://easynews.dl.sourceforge.net/s...me-3.97.tar.gz wget http://superb-west.dl.sourceforge.ne...php-0.5.0.tbz2 wget http://downloads.xiph.org/releases/o...g-1.1.3.tar.gz wget http://downloads.xiph.org/releases/v...s-1.1.2.tar.gz bunzip2 essential-20061022.tar.bz2 tar xvf essential-20061022.tar tar zxvf flvtool2_1.0.5_rc6.tgz tar zxvf lame-3.97.tar.gz bunzip2 ffmpeg-php-0.5.0.tbz2 tar xvf ffmpeg-php-0.5.0.tar tar zxvf libogg-1.1.3.tar.gz tar zxvf libvorbis-1.1.2.tar.gz mkdir /usr/local/lib/codecs/ mv essential-20061022/* /usr/local/lib/codecs/ chmod -R 755 /usr/local/lib/codecs/ yum install -y subversion yum install -y ruby yum install -y ncurses-devel svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer cd lame-3.97 ./configure make make install cd .. cd libogg-1.1.3 ./configure make make install cd .. cd libvorbis-1.1.2 ./configure make make install cd .. cd flvtool2_1.0.5_rc6 ruby setup.rb config ruby setup.rb setup ruby setup.rb install cd .. cd mplayer/ ./configure make make install cd .. cd ffmpeg mkdir /home/tmp export TMPDIR=/home/tmp ./configure --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --enable-shared 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 .. cd ffmpeg-php-0.5.0 phpize ./configure make make install ### for cpanel insert in /usr/lib/php.ini ### for other system insert in /etc/php.ini echo 'extension=ffmpeg.so' >> /usr/lib/php.ini service httpd restart php -r 'phpinfo();' | grep ffmpeg |
So what's your question?
|
If you have root access try yum, you can install many if not all those apps with yum. Might have to enable extra repos.
|
Do you have to add a repository because yum can not find many of those packages for RHEL5?
|
A solution I found for installing FFMPEG and Mencoder and all the required codecs
Hi
I needed to install a complete ffmpeg and mencoder setup including all the codecs to allow conversion of all video formats. I came across this and it was everything I needed for installing ffmpeg and mencoder with all the codecs required for converting all video formats. This package has included in it complete instructions for installing ffmpeg, mencoder, flvtool2, mp3lame, faad, faac, h264, vorbis, 3gp and 3g2 codecs and more. It even included the current ffmpeg-php. All the software was the latest and most current version. Before I found this I found myself spending hours searching, downloading source code and codecs to find out I did not have the proper stuff. After finding this package, I found everything needed for a complete installation of ffmpeg and mencoder including every utility, codec, software, and instructions required to implement it properly. I have already used it a half a dozen times and this thing saved me so much time and money, I actually am making some money on the installation projects. :D Anyway you can find it here: removed advertising I hope this is helpful. Let me know. John |
Quote:
|
All times are GMT -5. The time now is 12:28 AM. |