nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   MPlayer install in Red Hat 9 (http://www.nvnews.net/vbulletin/showthread.php?t=20017)

irreligious80 10-24-03 03:49 AM

MPlayer install in Red Hat 9
I've been trying to install the Mplayer in to my RH, but with no luck. If someone could post a step by step procedure how to do it, I would be in great debt.

mariuz 10-26-03 05:31 AM

Installing from source
You need divx4linux (optional)
tar -zxvf divx4linux-std-20030428.tar.gz
cd divx4linux-std-20030428/

download mplayer from http://www.mplayerhq.hu/homepage/design5/dload.html
and the win32codecs from
1.Copy the win32codecs (after tar -jxvf extralite.tar.bz2) in /usr/lib/win32/ (You need to make that dir first mkdir -p /usr/lib/win32/)
2.Go in the Mplayer dir (After tar -jxvf MPlayer-1.0pre2.tar.bz2 ) and do a :
./configure --prefix=/usr --enable-gui ;make ;make install
3. Install the default skin (else won't work)
Get http://www.mplayerhq.hu/MPlayer/Skin...lt-1.7.tar.bz2
tar -jxvf default-1.7.tar.bz2
and copy the all default dir into /usr/share/mplayer/Skin

If ok then do ./mplayer movie.avi -fs
or gmplayer (visual)
Here is a a bash script compile.sh (You can run it with sh compile.sh as root)

# first install divx4linux;)
wget http://download.divx.com/divx/divx4l...0030428.tar.gz
tar -zxvf divx4linux-std-20030428.tar.gz
cd divx4linux-20030428/
cd ..

#then get mplayer source code and compile it
wget http://ftp3.mplayerhq.hu/MPlayer/rel....0pre2.tar.bz2
wget http://www1.mplayerhq.hu/MPlayer/rel...ralite.tar.bz2
wget http://www.mplayerhq.hu/MPlayer/Skin...lt-1.7.tar.bz2
mkdir -p /usr/lib/win32/
tar -jxvf extralite.tar.bz2
tar -jxvf MPlayer-1.0pre2.tar.bz2
mv extralite /usr/lib/win32/
cd MPlayer-1.0pre2
./configure --prefix=/usr --with-codecsdir=/usr/lib/win32 --enable-gui ;make ;make install
cd ..
mkdir /usr/share/mplayer/Skin
tar -jxvf default-1.7.tar.bz2
mv default /usr/share/mplayer/Skin/default

irreligious80 10-27-03 05:37 AM

I got it to work perfectly(well it complained something about fonts, so I dl:ed a font for it). Now the only thing that I need to get to work, is the kazaalite. Then byebye Windows(allmost).

Zubir 10-30-03 08:37 AM

different approach
i've always got it working by this way:

1) as root, make a directory in /usr/lib called win32, i.e. /usr/lib/win32.

2) go to the mplayer homepage, then download all the codecs, then extract them into the /usr/lib/win32 folder. make sure the "recreate folders" option is not checked when you extract! mplayer won't be able to find the codecs if you do.

3) go to freshrpms.net, get "apt for redhat 9," and "synaptic," then install them.

you'll now be able to install mplayer with apt, and everything will be configured for you. you can also get totem this way, which i prefer over mplayer, but that's a personal preference. i have them both installed.

All times are GMT -5. The time now is 08:15 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.