LinuxQuestions.org
Visit Jeremy's Blog.
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-04-2006, 03:48 PM   #1
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Rep: Reputation: 31
Question video media player (mplayer, vlc) in RHEL4?


I know certain media formats are disabled in Red Hat, but this is another story entirely...

I can't seem to find a video player package (RPM or otherwise) for RHEL4, and I get tons of dependency errors when I try to compile one myself, particularly mplayer and vlc-client. Even tried installing the Fedora Core packages with the --nodeps flag, and that installs, but it throws dependency errors when I run it (surprise!).

Does anyone have a quick-and-dirty way of getting one of these up and running?

Thanks!
 
Old 10-04-2006, 03:57 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Unless you track down all needed dependencies for it then I would a precompiled rpm file will not work for you. If you know all the requirements for mplayer but the dependencys just looking for newer versions of already installed rpms you can download a srpm file and use that to build an rpm from that matching your current rpm versions of the other files. But the srpm my be looking for certain files though.

Another way is install the source file from mplayer home page. Build it yourself. If you are missing something it will complain as well.

Another way is to install older version of mplayer. It may not require the latest and greatest software.

One other way is using a tool like yum or apt and setup repositories that contain rpms that can be installed this way.

Brian
 
Old 10-04-2006, 04:24 PM   #3
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Original Poster
Rep: Reputation: 31
Is there an unobtrusive/safe method of using yum or apt with repositories? I recall trying to get yum working with my RHEL4 system was an ordeal, and when I finally got it installed and working (using a Fedora procedure, and CentOS RPMs and repositories), it altered my redhat-release config and up2date stopped working. But maybe that was just one particular set of instructions.

I think I have yum installed now, just no repositories.

Anyway, after failing a common RPM install, I tried installing the dependencies separately, but I got stuck. For instance, after installing mplayer-common, I tried to install an mplayer rpm, and I got:
Code:
error: Failed dependencies:
        libdv.so.2 is needed by mplayer-0.90rc2-1.i386
        liblzo.so.1 is needed by mplayer-0.90rc2-1.i386
So, I installed via source, and got no complaints, but when I try to run it...
Code:
# mplayer
mplayer: error while loading shared libraries: libmad.so.0: cannot open shared object file: No such file or directory
Tried installing a libmad RPM, and that complained about failed dependencies...

All this to watch some $#@% video media!!
 
Old 10-04-2006, 04:43 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Thats the way RPMs work. It is design to install compiled applications for certain distros and verify other rpms are installed to make sure the app will run. It is a big pain. Goto http://rpm.pbone.net for finding rpms. Set your search to cover redhat, fedora, rhel, centos.

I sometimes use apt with the gui synaptic just to install a few misc rpms mostly. I usually compile my own or build my own rpms from source or srpm. Update only what is needed. Many rpms I have are newer by one whole level than what is in the repos.

Brian
 
Old 10-05-2006, 01:19 PM   #5
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Download and install the rpmforge-release rpm package for RHEL4 also get and install the yum rpm package, install them both at the same time;

http://dag.wieers.com/home-made/apt/FAQ.php#B
http://dag.wieers.com/packages/yum/

To install type something (as root) from where the downloaded files reside like;

rpm -Uvh rpmforge*.rpm yum*.rpm

After both are installed as root do something like; yum install mplayer

Also grab the codecs for mplayer, you can get them (in rpm format) here;

ftp://ftp.icm.edu.pl/vol/wojsyl/greysector/yum/all/i386

Install them both, again as root from where the downloaded files reside;

rpm -Uvh mplayer*.rpm
 
Old 10-05-2006, 03:37 PM   #6
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
That is the one I was trying to think of. Thanks there Lenard.

Brian
 
Old 10-03-2007, 06:55 PM   #7
dreamcarrior
Member
 
Registered: Nov 2005
Location: Waco, TX
Distribution: Fedora and DSL
Posts: 49

Rep: Reputation: 15
Quote:
Originally Posted by Lenard View Post
Download and install the rpmforge-release rpm package for RHEL4 also get and install the yum rpm package, install them both at the same time;

http://dag.wieers.com/home-made/apt/FAQ.php#B
http://dag.wieers.com/packages/yum/

To install type something (as root) from where the downloaded files reside like;

rpm -Uvh rpmforge*.rpm yum*.rpm

After both are installed as root do something like; yum install mplayer

Also grab the codecs for mplayer, you can get them (in rpm format) here;

ftp://ftp.icm.edu.pl/vol/wojsyl/greysector/yum/all/i386

Install them both, again as root from where the downloaded files reside;

rpm -Uvh mplayer*.rpm
The site that you provided ftp://ftp.icm.edu.pl/vol/wojsyl/greysector/yum/all/i386 requests username and password. Is there other site that has the codec?

Thanks!
 
Old 10-06-2007, 04:08 PM   #8
natureday
LQ Newbie
 
Registered: Jan 2007
Location: WA state in the US
Posts: 6

Rep: Reputation: 0
Error

I use Nero to watch anythign from avi files to dvds, ohh and listeneing to music. It is better then what you are using and you never get error messages.
Anna23@gigp.com
 
Old 10-07-2007, 08:18 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Visit pbone: http://rpm.pbone.net/

Get: mplayer-codecs-20061022-1.i386.rpm & mplayer-codecs-extra-20061022-1.i386.rpm
 
Old 10-31-2007, 11:51 AM   #10
krishna_1980
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Rep: Reputation: 0
Hi

I am using rhel5 eval version, i have downloaded apt and yum frm http://dag.wieers.com/ and tried to install mplayer but i am unable to install
the follwing errors r coming, can anyone help me.

apt-get install mplayer
Code:
apt-get install mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  mplayer: Depends: libfribidi.so.0 but it is not installable
E: Broken packages
and when i type this apt-get install mplayer*.rpm


Code:
Reading Package Lists... Done
Building Dependency Tree... Done
E: Package mplayer-1.0-0.34.rc1try2.el5.rf.i386.rpm is a virtual package with no good providers.
and i tried with yum install mplayer also no use, can anyone pls tell me whats the problem

regards
 
Old 10-31-2007, 02:40 PM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Try using the freshrpms yum repo with the FC6 repos, sample /etc/yum.repos.d/ files below. When the files are in place as root try:

yum install mplayer --enablerepo=fc6* --enablerepo=freshrpms

FC6.repo file;
Code:
[fc6-base]
name=Fedora Core 6 Updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0

[fc6-updates]
name=Fedora Core 6 Updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc6&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0

[fc6-extras]
name=Fedora Core 6 Extras
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-6&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=0
freshrpms.repo file;
Code:
[freshrpms]
name=Fedora Core 6 - $basearch - Freshrpms
mirrorlist=http://ayo.freshrpms.net/fedora/linux/6/mirrors-freshrpms
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=0
 
  


Reply

Tags
mplayer, rhel4, video, vlc


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
VLC Media Player marvin00001 Linux - Laptop and Netbook 5 09-12-2006 06:04 AM
Unable to install VLC media player hokckey Linux - Software 2 05-09-2006 11:10 AM
VLC Media Player carlosinfl Linux - Software 2 05-04-2006 03:24 PM
cant install vlc media player liljhand Mandriva 5 02-13-2005 04:44 AM
VLC media player problems unclejessie77 Linux - Software 0 10-26-2003 02:19 PM


All times are GMT -5. The time now is 05:13 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