LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2006, 03:47 AM   #1
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Rep: Reputation: 34
Question Installation of mplayer problem


I just read the mplayer related threads but could not find a soultion.

I download the first two files of mplayer from here:


http://ftp.freshrpms.net/pub/freshrp...hat/9/mplayer/


libpostproc-1.0-0.2.pre2.fr.i386.rpm
mplayer-1.0-0.2.pre2.fr.i386.rpm

On using rpm - i with the first one, I get:
Code:
warning: libpostproc-1.0-0.2.pre2.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
On using rpm - i with the second one, I get:

Code:
warning: mplayer-1.0-0.2.pre2.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
        aalib is needed by mplayer-1.0-0.2.pre2.fr
        alsa-lib is needed by mplayer-1.0-0.2.pre2.fr
        faad2 is needed by mplayer-1.0-0.2.pre2.fr
        lame is needed by mplayer-1.0-0.2.pre2.fr
        libaa.so.1 is needed by mplayer-1.0-0.2.pre2.fr
        libasound.so.2 is needed by mplayer-1.0-0.2.pre2.fr
        libasound.so.2(ALSA_0.9) is needed by mplayer-1.0-0.2.pre2.fr
        libdv is needed by mplayer-1.0-0.2.pre2.fr
        libdv.so.2 is needed by mplayer-1.0-0.2.pre2.fr
        libdvdread is needed by mplayer-1.0-0.2.pre2.fr
        libdvdread.so.3 is needed by mplayer-1.0-0.2.pre2.fr
        libfame is needed by mplayer-1.0-0.2.pre2.fr
        liblirc_client.so.0 is needed by mplayer-1.0-0.2.pre2.fr
        liblzo.so.1 is needed by mplayer-1.0-0.2.pre2.fr
        libmad.so.0 is needed by mplayer-1.0-0.2.pre2.fr
        libmp3lame.so.0 is needed by mplayer-1.0-0.2.pre2.fr
        lirc is needed by mplayer-1.0-0.2.pre2.fr
        lzo is needed by mplayer-1.0-0.2.pre2.fr
        mplayer-fonts is needed by mplayer-1.0-0.2.pre2.fr
On moving one directory up the directory of the URL, I find many more directories with the name mplayer in them. I don't know if they are required but if they are please tell me the names of those directories also.



I downloaded and upgraded apt using:

apt-get upgrade

Running apt-get install mplayer,

I get:
Code:
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package mplayer
Thanks in advance.

Last edited by gregorian; 05-26-2006 at 03:49 AM.
 
Old 05-26-2006, 09:24 AM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
You are missing all of the dependencies related to sound it looks like. GO up a directory in the link you posted, and download and install everything listed under "error: Failed dependencies:". It looks like you didn't set up sound support when you installed your distro, you might also need to configure your kernel for alsa. After you installed all the needed packages, you will need recompile your kernel and enable "Sound Support" as a module", then select alsa and the appropriate device driver beneath it as a module as well. WHen you finished compiling, run 'alsaconf' to configure alsa with your sound device, and 'alsamixer' to set the volume levels. You may also need to add yourself to the 'audio' group depending on your distro.

regards,
...drkstr

**edit**
some of the dependencies listed are included in the other packages (libasound is in alsa-lib for instance), if you can't find one in there, just skip it to see if it works without, or ask for help if you are unsure
**edit**

Last edited by drkstr; 05-26-2006 at 09:28 AM.
 
Old 05-27-2006, 05:32 AM   #3
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Thanks for your help. I did as you instructed but now I get only this error message on executing:

rpm -i mplayer-1.0-0.2.pre2.fr.i386.rpm


Code:
warning: mplayer-1.0-0.2.pre2.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
        libmad.so.0 is needed by mplayer-1.0-0.2.pre2.fr
I downloaded
libmad-0.15.0b-2.fr.i386.rpm


from here:

http://ftp.freshrpms.net/pub/freshrpms/redhat/9/libmad/

I unzipped it and found many files. I don't know how to install it. Any help we be appreciated. Thank you.
 
Old 05-27-2006, 05:38 AM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Ir's an .RPM so it will be installed same as the others you did
Code:
man rpm
make sure you got this one "libmad-0.15.0b-2.fr.i386.rpm"
 
Old 05-27-2006, 05:39 AM   #5
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
You unzipped it?
What about doing:
Code:
rpm -ihv libmad-0.15.0b-2.fr.i386.rpm
 
Old 05-28-2006, 01:07 AM   #6
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Last time, I think I had downloaded the source files accidently in a tarball. I have downloaded the rpm. On executing the command

rpm -ihv libmad-0.15.0b-2.fr.i386.rpm

in the terminal I get nothing, it just remains as it is, I have to close the terminal in order to start another session. No matter how long I wait, nothing is dispayed. It looks like this:

Code:
[root@localhost lib]# rpm -ihv libmad-0.15.0b-2.fr.i386.rpm
 
Old 05-28-2006, 10:51 AM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Well, what can I say.
Download the file again. Maybe you encountered errors in the download process. Also do a
Code:
rpm -qa
this will list you all the installed rpm's. If this stops somewhere with segmentation fault then your rpm database is corrupted and you need to rebuild the database.
 
Old 05-29-2006, 08:52 AM   #8
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Yes!!! It works. Thanks a lot for your help guys. Just one more doubt. Some websites run videos that cannot be displayed by the browser while using Linux.I use Opera and Firefox. On clicking on the download missing plugin, it takes me to Microsoft's website to select the operating system for download. Linux is not there in that menu. I want to know how are we supposed to play such videos in the browser itself.

I know that we have to install some mplayer plugin but when I try and look for downloads, they are all for Fedora Cora versions. I installed mplayer. Does it not come with the plugins too?


Also, flash animations do not play sounds while they run. I can only see the animations. Kindly tell me how do I solve this too.

Thank you in advance.

EDIT:

Some vidoes do not play using MPlayer. The application says that it requires some codec to run. I found this site:

http://www.codec-download.com/module...wnload&sid=134

I downloaded the file and it has some dll's in it. I read the readme and it asked me to place the files in some directories that do not even exist. How am I supposed to know where to put the codecs? Thanks again.

Last edited by gregorian; 05-29-2006 at 09:41 AM.
 
Old 05-29-2006, 11:58 AM   #9
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
You should get the codecs from the MPlayer site and download/compile MPlayer from the source for the most usability of codecs. Follow the directions on the MPlayer site for how to do this.

You can get the MPlayer plugin here. Either of the rpm's might work for you but I would suggest building from the source. Let me know if you need any help with this.



regards,
...drkstr
 
Old 05-29-2006, 01:07 PM   #10
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Rep: Reputation: 15
Yo gregorian, I suggest that the next time you want to install something, try install it using yum. Because yum helps to install all the dependency packages.

Anyway, try to browse to this HOW-TO web page for installing programs using yum: http://stanton-finley.net/fedora_cor...tes.html#Flash
 
Old 05-29-2006, 05:23 PM   #11
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally Posted by jojojo
Yo gregorian, I suggest that the next time you want to install something, try install it using yum. Because yum helps to install all the dependency packages.

Anyway, try to browse to this HOW-TO web page for installing programs using yum: http://stanton-finley.net/fedora_cor...tes.html#Flash
Yum with redhat 9?
I think you are missing something
 
Old 05-30-2006, 12:46 AM   #12
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Rep: Reputation: 15
Oooppsss... sorry. didn't realise he was using RH9. Anyway, try to upgrade to FC5 man....
 
Old 05-31-2006, 03:33 AM   #13
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
I downloaded the essential codecs package from here:

http://www.mplayerhq.hu/design7/dload.html

I unzipped the archive and found a lot of files. I opened the Readme file and found this:

Code:
These are binary codecs for use with MPlayer. They are useless for normal
Windows players (like WMP, QuickTime, RealPlayer, ...) as they only contain
the DLLs without installer and other fancy stuff needed to use them with
common Windows players.

Put the files contained in this archive in a directory where MPlayer will find
them. The default directory is /usr/local/lib/codecs/ ($prefix/lib/codecs/) if
you are compiling from source, but you can change that value by passing the
'--with-codecsdir' option to './configure'.

If you use a prebuilt MPlayer package it will most likely be /usr/lib/codecs,
see the documentation of your package for details.

In the past /usr/local/lib/win32 or /usr/lib/win32 was the default directory,
some packages as well as a few other Unix players like xine and avifile still
use it, refer to their documentation for further details.
I could not find any of the folders mentioned above. I read the documentation but could not get any information regarding installing codecs. What am I supposed to do now? Note that I use RH9.

Thank you for your help.
 
Old 05-31-2006, 03:44 AM   #14
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Create the directory /usr/local/lib/codecs/ and put the files in there, as this is where MPlayer and some other media players look, as the README states, players such as Xine still use another path so you could create symlinks to there if you use a package such as xine.
 
Old 05-31-2006, 08:42 AM   #15
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
also, you might want to get the "all-codec" package if you want full video support. I don't think the essential codec package support some of the newer wmv video codecs a long with a few other things.

regards,
...drkstr
 
  


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
Mplayer Installation problem waelaltaqi Linux - Software 6 12-01-2005 03:39 PM
mplayer installation problem darkangel29 Linux - Newbie 7 12-16-2004 11:32 PM
MPlayer installation problem on SUSE 9.1 rayesteq Linux - Software 10 08-30-2004 08:26 AM
Mplayer Installation Problem! novkhan Linux - Software 5 04-20-2004 03:08 AM
mplayer installation problem captainchainsaw Linux - Software 4 10-29-2002 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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