LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 10-05-2008, 04:08 AM   #1
mitesh.ever
LQ Newbie
 
Registered: May 2006
Posts: 22

Rep: Reputation: 15
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
 
Old 10-06-2008, 01:00 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,492
Blog Entries: 54

Rep: Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910Reputation: 2910
So what's your question?
 
Old 10-06-2008, 01:02 PM   #3
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 43
If you have root access try yum, you can install many if not all those apps with yum. Might have to enable extra repos.
 
Old 10-15-2008, 09:59 AM   #4
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Rep: Reputation: 30
Do you have to add a repository because yum can not find many of those packages for RHEL5?
 
Old 05-16-2009, 11:50 AM   #5
jjrjr1
LQ Newbie
 
Registered: May 2009
Location: San Pedro - Los Angeles Harbor, California, USA
Distribution: CentOS 5 64bit
Posts: 4

Rep: Reputation: 0
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.

Anyway you can find it here: removed advertising

I hope this is helpful.

Let me know.

John

Last edited by XavierP; 05-17-2009 at 01:46 AM.
 
Old 05-16-2009, 12:14 PM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,836

Rep: Reputation: 2637Reputation: 2637Reputation: 2637Reputation: 2637Reputation: 2637Reputation: 2637Reputation: 2637Reputation: 2637Reputation: 2637Reputation: 2637Reputation: 2637
Quote:
Originally Posted by jjrjr1 View Post
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.

Anyway you can find it here: removed advertising

I hope this is helpful.

Let me know.

John
Yes, for only $50, too...what a deal. Much cheaper than typing in "yum install ffmpeg", or reading some instructions.

Last edited by XavierP; 05-17-2009 at 01:46 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Green screen after video conversion, AVI to MP4 using Mencoder,Mplayer,FFmpeg,x264, manuken Linux - Newbie 4 10-29-2008 06:40 PM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM
ffmpeg mencoder and lavc keratos Ubuntu 2 05-17-2007 01:48 PM
FFMPEG vs MPLAYER vs MENCODER and batch conversions to MP4 ? AngusM Linux - Software 2 11-08-2006 08:20 AM
Using FFMPEG with Xvid and lame mashed Linux - Software 1 04-08-2006 11:42 AM


All times are GMT -5. The time now is 08:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration