Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Location: San Pedro - Los Angeles Harbor, California, USA
Distribution: CentOS 5 64bit
Posts: 4
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.