LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-05-2011, 01:20 PM   #1
rewards
Member
 
Registered: Dec 2010
Posts: 135

Rep: Reputation: 0
Question installing mplayer, Lame mp3 encoder, libogg and more


Hello all,

I need to install these packages LAME MP3 Encoder, Libogg + Libvorbis, Mencoder and also Mplayer, FFMpeg-PHP, GD Library 2, CGI-BIN on a centos . I searched the Google but most of the wget commands are not working because the links are not active links and I get error message failed: Connection timed out. Does anyone know where to get these packages with explanation of how to install them? Thank you
 
Old 06-05-2011, 01:26 PM   #2
saivnoba
Member
 
Registered: Aug 2010
Distribution: Debian Sid, openSUSE, Gentoo, Slackware64
Posts: 68

Rep: Reputation: 2
Have you tried enabling rpmfusion repos? http://www.rpmfusion.org/

Once, you enable it, most of (if not all) the above packages should be available for install with yum.
 
Old 06-05-2011, 01:52 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
rewards
I take it you did not read the centos wiki or forum ?
http://wiki.centos.org/
http://wiki.centos.org/AdditionalResources/Repositories

there is a link to that on the MAIN cent page
http://centos.org/

or any of the other pages for a red hat based system
like fedora or suse

although for fedora 15 it is applicable to cent 5.6 - just edit the commands for cent
http://www.mjmwired.net/resources/mjm-fedora-f15.html


but be warned seeing as music and video are so low a priority for rhel/cent/sl
that some of the needed packages are still in rpmforge and in the 90% incompatible ATrpm
so you MUST use the "yum-protectbase" and the "yum-priories" plugins
and CONFIGURE !!!!!!!! yum-priories in the repo files
otherwise you WILL kill the install - FUBAR it


so pay attention TO ALL and EVERY warning on the cent wiki!!!!!!!!!!!!!
 
1 members found this post helpful.
Old 06-05-2011, 01:58 PM   #4
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Hello and thank you for your response. I did the repositories from here http://www.rpmfusion.org/. Do you know a good site that would have all theses packages (LAME MP3 Encoder, Libogg + Libvorbis, Mencoder and also Mplayer, FFMpeg-PHP, GD Library 2, CGI-BIN) for download and install? Thank you again
 
Old 06-05-2011, 02:17 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
rewards
see the centos wiki link i posted !!!!!!!
http://wiki.centos.org/AdditionalResources/Repositories
 
Old 06-05-2011, 07:48 PM   #6
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Hello,

Thank you for your response. I read the wiki link. I am at the stage of installing ffmpeg-php and unable to install it. I downloaded the ffmpeg from here http://sourceforge.net/projects/ffmp...es/ffmpeg-php/. Untar it to /usr/local/src. It created a folder called ffmpeg-php-0.6.0. I did yum install gcc. Here is the out put,

[root@localhost ffmpeg-php-0.6.0]#./configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking for re2c... re2c
checking for re2c version... 0.12.1 (ok)
checking for gawk... gawk
checking for ffmpeg support... yes, shared
checking whether to force gd support in ffmpeg-php... no
checking for ffmpeg headers...
configure: error: ffmpeg headers not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
 
Old 06-05-2011, 07:53 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
did you read the README file in that source code package for the web page php code
you need to install the -devel rpm's also
the -devel packages are the header files

Code:
yum install ffmpeg ffmpeg-devel
and did you search the cent repos
it is most likely already there
Code:
yum search ffmpeg-php
--- or this ---
yum search ffmpeg

Last edited by John VV; 06-05-2011 at 07:55 PM.
 
Old 06-05-2011, 08:33 PM   #8
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Hello,

They are both installed,

[root@localhost ffmpeg-php-0.6.0]# yum install ffmpeg ffmpeg-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.facebook.net
* epel: epel.mirror.freedomvoice.com
* extras: centos.mirror.freedomvoice.com
* rpmfusion-free-updates: mirrors.tummy.com
* rpmfusion-free-updates-testing: mirrors.tummy.com
* rpmfusion-nonfree-updates: mirrors.tummy.com
* rpmfusion-nonfree-updates-testing: mirrors.tummy.com
* updates: centos.mirror.facebook.net
Setting up Install Process
Package ffmpeg-0.4.9-0.52.20080908.el5.i386 already installed and latest version
Package ffmpeg-devel-0.4.9-0.52.20080908.el5.i386 already installed and latest version
Nothing to do
 
Old 06-06-2011, 02:06 AM   #9
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Hello all,

Thank you for your feedback and your help. I found out that two repository files were conflicting with each other in /etc/yum.repos.d folder. One I had created called repo.dag and one I had downloaded off the Internet. I removed the one I had created and it is all good now. Thank you again.
 
Old 06-06-2011, 02:10 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
that is why in post #3 i posted this
Quote:
so you MUST use the "yum-protectbase" and the "yum-priories" plugins
rhel/centos and multimedia do not mix well
and it is VERY easy to mess up a install trying
 
1 members found this post helpful.
Old 06-07-2011, 03:04 AM   #11
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Yes John,

You are right. I should stick with centos website since I am using centos distribution. Thank you
 
Old 06-07-2011, 06:27 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
rpmforge is fine but do not mix with atrpm
if atrpm is used then ONLY atrpm is used

now some programs can be used from atrpm
mplayer but then turn off that repo


basically it gets very very complicated very quickly
and can lead to dependency issues very very quickly

the standard extra repos are epel and rpmforge


red hat and the clones were NEVER desinged with the home desktop in mind
That is an afterthought . On an office desktop desktop the secretary or accounting,PR,... departments do not need to play videos or play music

the same for the lab . The technicians do not need to play music or videos or video dvd's
 
  


Reply



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
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM
MPlayer and MEncoder (The DVD/Movie/Video/MP3 Player and Encoder for Linux) ComputerGreek Linux - General 6 02-03-2008 09:39 AM
MP3 Batch Encoder? Frontends for Lame? devmoc Linux - Software 12 07-04-2007 01:40 PM
Installing LAME mp3 encoder Valhalla Linux - Software 0 12-09-2004 11:14 AM
Installing lame encoder? Seraph Linux - Newbie 1 07-29-2003 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration