Solved

How to install mplayer on Centos.

Posted on 2006-07-02
2
2,144 Views
Last Modified: 2013-11-13
I am using Trixbox (AAH) which runs on Centos.  I need to install mplayer, but I am a new user to Linux.  I do not have a GUI front end so I just have command line access.  The reason I would like to download it is I want to be able to stream an mms:// file from an extension in Trixbox (Asterisk@Home).  If someone could detail out the steps how to do this and any codecs which might be needed and how to install those.

Thanks
0
Comment
Question by:kapara
2 Comments
 
LVL 15

Accepted Solution

by:
veedar earned 250 total points
ID: 17028199
From the command line you can try...

yum install mplayer

...if that does not work you can download rpm's from here...
http://www.mplayerhq.hu/design7/dload.html

...and install them with "rpm -i" do a "man rpm" to learn more.
0
 
LVL 4

Assisted Solution

by:Phreonx
Phreonx earned 250 total points
ID: 17072403
Hello kapara,
I'm not familiar with CentOS so I will provide some general guidelines as to how to install mplayer. First download these tarballs:

The MPlayer
  http://www4.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre8.tar.bz2

Essential Codecs Package:
  http://www4.mplayerhq.hu/MPlayer/releases/codecs/essential-20060611.tar.bz2

or follow this link if you require more specific codecs:
  http://www4.mplayerhq.hu/design7/codecs.html

Copy your codecs' tarballs into /usr/local/lib/codecs. If the directory doesn't exist, create it:

  mkdir /usr/local/lib/codecs
  cp /path/to/downloaded/essential-20060611.tar.bz2 /usr/local/lib/codecs

Extract your codec tarball:
  bunzip2 essential-20060611.tar.bz2
  tar -xvf essential-20060611.tar

Move all the codecs from the essential-20060611 directory, up one level and erase the temp directory:
  mv essential-20060611/* .
  rm -r essential-20060611

You should now have a /usr/local/lib/codecs directory containing all your codecs. ATTENTION: The procedure must be completed prior to the  configuration of MPlayer.

Configuration of MPlayer:

Copy your tarball into /usr/local:
  cp /path/to/downloaded/MPlayer-1.0pre8.tar.bz2 /usr/local

Extract your tarball:
  bunzip2 MPlayer-1.0pre8.tar.bz2
  tar -xvf MPlayer-1.0pre8.tar

After completion of the two commands you should have a directory called MPlayer-1.0pre8 under /usr/local. Rename that to something shorter:
  mv MPlayer-1.0pre8 MPlayer

Change to your MPlayer directory:
  cd MPlayer

and do the following:

  ./configure --help

in order to determine the set of compile-time switches to pass to your configure script. After you finalize on your options type:
  make && make install

With a bit of luck you should have a running MPlayer in under 40 minutes.

Hope that helped ;)
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question