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 03-06-2005, 08:04 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Help me with Mplayer.


I used YUM to install MPlayer on Fedora Core 3 Linux and it seems to be working right now but I need to install the "essential codec pack" to support .wmv and some other file extensions.

Here is the download location Link

I don't exactly know where MPlayer is installed so I tried this command...
Code:
[carlos@server ~]$ whereis mplayer
mplayer: /usr/bin/mplayer /etc/mplayer /usr/lib/mplayer /usr/share/mplayer /usr/share/man/man1/mplayer.1.gz
My question is how to I take this file I download "essential-20050216.tar.bz2 in /home/carlos and install it? I am not very good with CLI so if someone could walk me through step by step commands, that would be really nice. I hope I provided enough info here to help me and I am sorry if I missed anything.
 
Old 03-06-2005, 08:26 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
The codecs in mplayer are added only on compilation time. By using yum and installing a pre-compiled version of mplayer you cannot add codecs. Use those instruction and compile mplayer by yourself:
http://www.mjmwired.net/resources/mplayer-fedora.shtml
You need the development packages to compile something. If you haven't done a full installation or haven't picked them manually when selecting packages (gcc, make etc) in fedora instalation you don't have them. Use the add/remove packages utility to install the development packages from the cd, or use yum (i've never done it through yum).

Another option is to use Xine. If xine is installed (i think it is by default) then add the mplayer codecs, after u uncompress then in /usr/lib/win32. You may need to use the options tab in xine to specify the path or alter your .xine/config file which is created the fist time you execute xine, and uncomment the bold line:
# path to Win32 codecs
# string, default: /usr/lib/win32
#decoder.external.win32_codecs_path:/usr/lib/win32
but this path is the default xine win32 path.

But in mplayer you cannot do that after you compile it.

*EDIT*
I would advise you to use the all codecs package from mplayers download page:
http://www1.mplayerhq.hu/homepage/design7/codecs.html

Last edited by perfect_circle; 03-06-2005 at 08:29 PM.
 
Old 03-06-2005, 10:53 PM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
once you put the codecs in /usr/lib/win32 ( you'll probably have to create that directory), xine based players will play anything that mplayer will. I personally believe mplayer is a more powerful program, but you have to be willing to read all of the documentation ( there is alot of it on their site) and spend the time to set it up how you want. if you just want to play movies/music ( including wmv's and such) go with a xine based player after you extract the codecs to /usr/lib/win32.
 
Old 03-06-2005, 11:12 PM   #4
zymos
Member
 
Registered: Mar 2005
Location: Boulder, CO
Distribution: Debian, previously Gentoo
Posts: 39

Rep: Reputation: 15
if that dir doesnt work
try
/usr/local/lib/win32/
or
usr/local/lib/codec/

/usr/local/lib/win32/ was the default for my compile without flags
i think usr/local/lib/codec/ was for an older ver of mplayer
 
Old 03-07-2005, 07:04 AM   #5
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
I just installed mplayer on my machine, i created the codecs dir and pasted all the codecs in there compiled the mplayer and all works well on command line, u need to compile with a gui command to enable gui support. Tip is to pasted codecs in both recommended codecs dir so that mplayer will defo see one of the dir and delete the one it never uses later
 
Old 03-07-2005, 07:43 AM   #6
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
So from what I understand from "Perfect Circle's" post is that since I installed a pre-compiled version of Mplayer via YUM, I am not able to install the directory or the codecs...?
 
Old 03-07-2005, 07:59 AM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally posted by carlwill
So from what I understand from "Perfect Circle's" post is that since I installed a pre-compiled version of Mplayer via YUM, I am not able to install the directory or the codecs...?
Yes. You need to compile mplayer again with the codecs already installed in /usr/local/lib/codecs by default, or in another directory, as long as you specify it when you use the ./configure to compile mplayer. Xine has /usr/lib/win32 as default path for windows codecs, and you can add/remove codecs in xine without compiling it again. I use both (xine and mplayer), so I have a link from one codec directory to the other. The problem is that we do not know with what options and codecs mplayer was compiled, since you have a precompiled version. Maybe the codec mplayer was compiled with are included in mplayer, but i don't know. You may try to umcompress the codecs package u downloaded and put the codecs in /usr/local/lib/codecs, but i doubt that this will work.
 
Old 03-07-2005, 08:01 AM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally posted by ginda
Tip is to pasted codecs in both recommended codecs dir so that mplayer will defo see one of the dir and delete the one it never uses later
you do not need that...Thats why soft links were invented
 
  


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
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 08:12 AM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 12:58 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM
More mplayer issues...no /.mplayer folder?! lt1derful Linux - Software 3 08-03-2003 09:09 PM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 10:55 PM

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

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