LinuxQuestions.org
Register a domain and help support LQ
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 07-22-2004, 12:57 AM   #1
Emanon247
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Rep: Reputation: 0
Mplayer Help!!


I'm trying to install the "essential codecs package" thats available on the Mplayer homepage but im completely lost.. It doesnt come with an installer and I cant seem to find the codec directory. Any help appreciated .. thanks..
 
Old 07-22-2004, 01:08 AM   #2
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
What distro are you using. If you're using Redhat/Fedora, Look in download page and go to rpm download site. Scroll down a bit then you'll find the codecs in rpm format.

Installing the codecs manually needs some extra effort. Take a look here:
http://www.mplayerhq.hu/DOCS/HTML/en/codecs.html
 
Old 07-22-2004, 01:21 AM   #3
Emanon247
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
THANKS! I got the RPM, buuuuttt, I installed it and now my Mplayer FREEZES when I try to play WMV files.. Any idea why? or if there are any better player/codecs for these types of files? thanks!
 
Old 07-22-2004, 01:38 AM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You have to re-compile mplayer to use the extra codecs because it will not compile the library that is used to handle windows codecs if it can not find it.

I suggest just downloading the codecs and extract them to the directory where mplayer can find them.

Using RPM files can be a real pain to install and fix. I suggest copying the codecs to the directory and manually installing mplayer through source code.
 
Old 07-22-2004, 01:42 AM   #5
Emanon247
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
hmmm, i hate to sound like a COMPLETE nOOOOOOOb, but I dont eve know where to begin doing that..I was looking for the directory for Mplayer before with no avail..

Any way you can expand a lil on that? or just point me in the right direction or something??

Thanks..
 
Old 07-22-2004, 01:48 AM   #6
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
So I assume that you use the 1.0pre4 rpm from the site. I myself have problem playing wmv file with that version of mplayer. To play wmv file you'll need mplayer-codecs-win32-dmo package. But the ones supplied from the site seem conflict with each other. I suggest downloading the older releases following from this site: http://sunsite.icm.edu.pl/pub/linux/...3/RPMS.stable/

These packages will do:

mplayer-codecs-extralite-1.0-1.i386.rpm
mplayer-codecs-win32-1.1-1.i386.rpm
mplayer-codecs-win32-dmo-9.0-1.i386.rpm

And also try looking for rpm for mplayer 1.0pre3try2.
This site:
http://luna.cs.ccsu.edu/dominik/apt/7.3/RPMS.testing/

I've that working with wmv files (I seem to get segmentation fault every time I tried with the later version.

But if you want to try compiling the program yourself, get 1.0pre5 tar.bz2 package from mplayer site. I have it work with wmv, and it plays wmv files better than the previous versions. But I'd rather install the rpms though.

Last edited by chii-chan; 07-22-2004 at 01:59 AM.
 
Old 07-22-2004, 02:02 AM   #7
Emanon247
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
ok, how do i uninstall the version i have now?

it wont let me install any older versions with the newer one already installed
 
Old 07-22-2004, 03:33 AM   #8
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
You install rpm files with:

rpm -ivh package-name

right?

so uninstalling:

rpm -e package-name

if you got problem try:

rpm -e --nodeps package-name
 
Old 07-22-2004, 05:58 AM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Emanon247, compiling is pretty basic so do not think it is hard. After you download mplayer's source code, you have to extract it or decompress it. Usually files that you download comes it different formats such as tar, gzip, bzip2. Mplayer's file ends with tar.bzip2, so to extract it type "tar -xvjf MPlayer-1.0pre5.tar.bzip2". The x means extract, the v means print what is going to do, the j means use bzip2 extract library, and the f means file. The f have to be come after all the options that you want or tar going to complain. It will extract file in the same directory where you extract it from. You can add -C/tmp or --directory=/tmp to the line to extract it into /tmp. Some users might tell linux to empty /tmp every time you boot, so if you want to uninstall it you can not unless you put it some where else. Go to mplayer's directory. Read the README file. It will tell you how to compile. Most all programs comes with documentation how to compile the program. Usually the steps are "./configure", the second step is "make", and the third step is "make install". You can combine those steps using &&. For example, "./configure && make && make install". There are some programs like WINE that needs an extra step like "make depend". When you run ./configure, it will tell you what options the program will going to have and what libraries or devel packages you need to install. The ./configure plows and plants seeds. The make is when mplayer or the program is compiling. This can take for a few minutes to several days depending on your system. When you enter make install, the installation process begins. It copies the files to the apporiate places that was pre-written by ./configure. I'm not going to explain about how to download the ffmpeg code from mplayer's cvs directory, because the documentation is pretty basic.

If you want mplayer to use windows codecs, you have to first extract them and copy them to where mplayer will see them before you begin compiling. You will also need to install the devel packages, gcc (C compiler), and maybe the kernel source code.
 
Old 07-22-2004, 11:55 AM   #10
Emanon247
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
wow, electro and everyone else that was SOOO helpful, thanks for explaining all that, I appreciate it.

I'm gonna try that now, Ill keep ya posted
 
Old 07-23-2004, 12:37 AM   #11
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
I you're going to compile the program yourself, take a look at this thread:
http://www.linuxquestions.org/questi...threadid=45094
Good luck.
 
Old 07-29-2004, 10:12 AM   #12
Rathann
Member
 
Registered: Jul 2004
Location: Poland
Distribution: RedHat 7.3/8.0/9, Fedora Core 1/2/3/4
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by chii-chan
So I assume that you use the 1.0pre4 rpm from the site. I myself have problem playing wmv file with that version of mplayer. To play wmv file you'll need mplayer-codecs-win32-dmo package. But the ones supplied from the site seem conflict with each other. I suggest downloading the older releases following from this site: http://sunsite.icm.edu.pl/pub/linux/...3/RPMS.stable/

These packages will do:

mplayer-codecs-extralite-1.0-1.i386.rpm
mplayer-codecs-win32-1.1-1.i386.rpm
mplayer-codecs-win32-dmo-9.0-1.i386.rpm

And also try looking for rpm for mplayer 1.0pre3try2.
This site:
http://luna.cs.ccsu.edu/dominik/apt/7.3/RPMS.testing/

I've that working with wmv files (I seem to get segmentation fault every time I tried with the later version.

But if you want to try compiling the program yourself, get 1.0pre5 tar.bz2 package from mplayer site. I have it work with wmv, and it plays wmv files better than the previous versions. But I'd rather install the rpms though.
If you have any problems with the RPMs, you should report them to the maintaner.
The segfault problem is a known Fedora issue related to library prelinking. See MPlayer FAQ: http://www.mplayerhq.hu/DOCS/HTML/en/faq.html#id2894874
 
  


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


All times are GMT -5. The time now is 06:27 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration