Solved

How to install mplayer on Centos.

Posted on 2006-07-02
2
2,167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

688 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