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 10-30-2004, 12:01 AM   #1
Registered: Apr 2004
Posts: 45

Rep: Reputation: 15
Mplayer Compiling

I'm wondering if I can configure and compile something a second time if it didn't work the first time.

Specically I talking about Mplayer. Its not coming up when I type the command 'mplayer' and I just found out that I was supposed to install lame, zlib and libavcodec as the website documentation says. I don't know if thats why its not working however.

Can I do it all a second time?
I'm using Slackware 10.0.

Old 10-30-2004, 01:08 AM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Yes, configuring and installing it from source a second time (or the tenth time) shouldn't be any problem.

Old 10-30-2004, 01:13 AM   #3
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
...and just as an afterthought I'll add this, and please excuse me if it is redundant. You say it doesn't "come up". The lame and libavcodec libraries shouldn't have anything to do with this. What is the error message you get (if any)?

The graphical interface of mplayer is started using the command gmplayer. You can enable the GUI by configuring mplayer with --enable-gui as a parameter to the configure script. Use ./configure --help | less to view the tons of compilation options you have. Usually when I compile mplayer from source I'll end up with a configure command line that is several lines long.

Old 10-30-2004, 03:51 AM   #4
Registered: Jan 2004
Location: Dhaka, Bangladesh
Distribution: Debian, Gentoo
Posts: 283

Rep: Reputation: 30
download the codecs
lame from (search lame or mp3lame) (ogm too for create ogm)
download win32 codecs from

after install it configure mplayer with

(this is a sample i have done)

./configure --enable-mencoder --enable-gui --enable-largefiles --enable-xmms --enable-gl --enable-vesa --enable-x11 --enable-xv --enable-i18n --enable-win32 --enable-qtx --with-win32libdir=/usr/local/lib/win32 --enable-xanim --enable-divx4linux --enable-vorbis --enable-xvid --with-xvidlibdir=/usr/local/lib --enable-mp3lib --with-xvidincdir=/usr/local/include --with-codecsdir=/usr/local/lib --with-xanimlibdir=/usr/local/lib/xanim --enable-mmx --enable-mmx2 --enable-sse --enable-sse2
Old 10-30-2004, 05:42 AM   #5
Registered: May 2004
Distribution: red hat 9
Posts: 56

Rep: Reputation: 15
may seem outta is actually...but you guys seem to know mplayer wuite here goes
1> how do you save a playlist using i missing something really basic...
2>also,my x11config says "vesa" as the video output driver
and when i use
mplayer -vo vesa "blah.mpg"
it gets strange lines on the screen and it hangs if i dont exit quickly...does start plaing the file tho...the default vo is x11 which does not gimme a full screen play..
do i need some drivers from the mainboard site (via km 400)
Old 10-30-2004, 10:32 AM   #6
Registered: Aug 2004
Posts: 42

Rep: Reputation: 15
I had the same problem with my mplayer. The default drivers didnt work Gud, no full screens, hangs.. .! But I selected a different video output driver, and it worked fine.
Maybe ,you can try playing videos with different video output drivers, and stick with the efficient one.

Old 10-30-2004, 12:45 PM   #7
Registered: Apr 2004
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks for the advise. I did do ./configure --enable0gui.
I didn't get any error; Mplayer simply won't come up when I type the 'mplayer' command.

I woke up this morning and my internet connection won't work now (this is a different computer). I'm thinking it from a mistake I may have done with Mplayer.

Looks like I may have to reinstall everything. I've done that a lot anyway.

Old 10-30-2004, 03:21 PM   #8
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
when you have finished the ./configure stage, you are presneted with an extremely simple and comprehensive list of what will and what will not be com,piled for you. loko at that list. also scroll through the config list, and see what is there... if you're not getting a gui from "gmplayer" then chacnes are there will be a very clear message in that output saying it's not going to be able to make it. also "mplayer" will not "come up", mplayer has no user interface, you need to run gmplayer (or realise that a ui for a video player is a waste of time )


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
mplayer compiling! ARCIS_house Linux - Newbie 1 02-09-2005 04:38 AM
mplayer not compiling GT_Onizuka Linux - Software 2 10-14-2004 10:16 PM
compiling mplayer dummoi Linux - Software 7 08-30-2004 03:44 PM
compiling mplayer dibblethewrecke Linux - Newbie 4 12-01-2003 05:14 PM
Help with compiling MPlayer cirkut5732 Linux - Newbie 1 04-13-2003 05:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:58 PM.

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