Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-27-2004, 11:42 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Question Setting up mplayer

I will keep this direct and just ask for help in setting up mplayer from anyone who might be able to offer me some sort of a walk-through of the full procedure including any downloading needed. I am sorry for needing more then just a quick answer to an easy question but until yesterday all I have know is Windows and well anything microsoft.

Thanks for any help anyone given.
Old 11-28-2004, 12:16 AM   #2
LQ Newbie
Registered: May 2004
Location: ferndale, mi
Distribution: fedora, ubuntu
Posts: 18

Rep: Reputation: 0
what distro are you using?? there may be an easy way to get mplayer up and running??
Old 11-28-2004, 02:40 AM   #3
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
1) From your CD, install the gcc (compiler), object code, kernel source code, gtk headers, qt3 headers, X11 (aka XFree86 or Xorg) headers. You do not need gtk and qt3 headers if you are not going to use the gui mode of MPlayer.
2) Download either tgz or bzip files of MPlayer at
3) Open up a terminal (konsole, rxvt, xterm) or hit CTL+ALT+F1
4) Decompress the file
5) Go into MPlayer's directory
6) Type ./configure && make
7) If there is no errors after make, type su and then type root's password.
8) Type make install. This will copy the binaries and put them in their designated directories. Usually its placed in /usr/local/bin, so make sure your PATH looks at that directory too.
9) Find a video file or audio file and type mplayer file name goes
10) You should see/hear mplayer playing the video or audio.

If you want to play DVD, mp3, flac, ogg, mov you have to install those libraries and repeat step 6 to 10. You may have to do make clean before running make.

DVD needs mpeg2dec and dvdcss.

mp3 needs lame or other compatible mp3 decoder.

flac needs the flac decoder.

ogg needs the ogg decoder.

mov just needs the dll files to be placed in the codecs directory, so you do not need Quicktime4Linux. Read the documentatin at MPlayer's site to know how to do this. The codecs can be downloaded from MPlayer's site too.

Though you can install MPlayer through RPM (Redhat Package Manager) files but MPlayer is a good start to practice compiling.


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
sound setting in mplayer hraposo Linux - Software 3 10-19-2004 07:15 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 11:44 AM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 11:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration