LinuxQuestions.org
Review your favorite Linux distribution.
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 10-29-2004, 11:01 PM   #1
cxiii
Member
 
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.

William
 
Old 10-30-2004, 12:08 AM   #2
hw-tph
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.


Håkan
 
Old 10-30-2004, 12:13 AM   #3
hw-tph
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.


Håkan
 
Old 10-30-2004, 02:51 AM   #4
salahuddin_66
Member
 
Registered: Jan 2004
Location: Dhaka, Bangladesh
Distribution: Debian, Gentoo
Posts: 283

Rep: Reputation: 30
download the codecs
www.divx.com
www.xivd.org
lame from sf.net (search lame or mp3lame)
www.xiph.org (ogm too for create ogm)
download win32 codecs from www.mplayerhq.hu

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, 04:42 AM   #5
vrdhananjay
Member
 
Registered: May 2004
Distribution: red hat 9
Posts: 56

Rep: Reputation: 15
hey
may seem outta place..it is actually...but you guys seem to know mplayer wuite well...so here goes
1> how do you save a playlist using mplayer...am 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)
?
thanks
dhananjay
 
Old 10-30-2004, 09:32 AM   #6
intercodes
Member
 
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.

sign
Intercodes
 
Old 10-30-2004, 11:45 AM   #7
cxiii
Member
 
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.

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

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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 )
 
  


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

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

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