Installing Mplayer in 64 bit platform

From K12LTSP Wiki

Jump to: navigation, search

For K12LTSP 6.0:

First you need to download these packages to resolve dependencies problems

yum install --enablerepo=livna xvidcore libmpcdec lirc

Then install Mplayer:

yum install --enablerepo=livna mplayer mplayer-gui

Thats it, mplayer icon should be located in the multimedia tab in the launch menu.

For K12LTSP 5.0EL:

You will need to enable the rpmforge repository. It comes installed by default with 6.0/5.0EL

Install multimedia apps

yum -y install --enablerepo=rpmforge libdvdcss libdvdread libdvdplay livdvdnav lsdvd \
mplayer mplayerplug-in mplayer-gui compat-libstdc++-33 gstreamer-plugins-bad gstreamer-plugins-ugly

Install some codecs

wget http://www.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.x86_64.rpm
rpm -ivh mplayer-codecs-20061022-1.x86_64.rpm
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.x86_64.rpm
rpm -ivh mplayer-codecs-extra-20061022-1.x86_64.rpm

Now to get the MPlayer Mozilla Plugin to show something

Visit, for example, this CBC clip. You will probably just get a black screen. This is because you need to configure MPlayer's plugin. Right-click on the MPlayer screen, select "Configure".

Choose the following from the pull-down menus at the top:

Video Output: x11

Audio Output: esd

Now you should be able to use MPlayer to view all embedded media players. You might have to restart Firefox.

Personal tools