LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mplayer Compiling (https://www.linuxquestions.org/questions/linux-newbie-8/mplayer-compiling-248984/)

cxiii 10-29-2004 11:01 PM

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

hw-tph 10-30-2004 12:08 AM

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


Håkan

hw-tph 10-30-2004 12:13 AM

...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

salahuddin_66 10-30-2004 02:51 AM

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

vrdhananjay 10-30-2004 04:42 AM

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

intercodes 10-30-2004 09:32 AM

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

cxiii 10-30-2004 11:45 AM

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

acid_kewpie 10-30-2004 02:21 PM

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 ;))


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