LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MPlayer (https://www.linuxquestions.org/questions/linux-newbie-8/mplayer-372556/)

iAlta 10-13-2005 04:15 AM

MPlayer
 
I have found out Totem doesn't work, and I have heard of MPlayer.
So here is my question: Can anyone give me a steo-by-step tour on how to install MPlayer? (incl. where to get one, I downloaded one and I think it is for Mac)

bigjohn 10-13-2005 04:18 AM

Re: MPlayer
 
Quote:

Originally posted by iAlta
I have found out Totem doesn't work, and I have heard of MPlayer.
So here is my question: Can anyone give me a steo-by-step tour on how to install MPlayer? (incl. where to get one, I downloaded one and I think it is for Mac)

Well my friend, it may be better if you tell us which distro you use, because mplayer is usually available from the various mirrors/repositories.

Plus, most distros have different ways of running the installer(s) e.g. my gentoo install, it's just a case of doing
Code:

emerge mplayer
in a terminal, but you probably have to do something else as that code is gentoo specific.

regards

John

iAlta 10-13-2005 06:40 AM

Re: Re: MPlayer
 
Quote:

Originally posted by bigjohn
Well my friend, it may be better if you tell us which distro you use, because mplayer is usually available from the various mirrors/repositories.

Plus, most distros have different ways of running the installer(s) e.g. my gentoo install, it's just a case of doing
Code:

emerge mplayer
in a terminal, but you probably have to do something else as that code is gentoo specific.

regards

John

You do know taht this is forum(or sub-forum, whatever) is for newbies, right?

There are meny words in your reply thet I don't konw.
I think I know what distro is, can it be... that I use Ubuntu.......?
I know what a mirror is, and i geuss know what a repositorie is... same as mirror right?
gentoo does not ring a bell.

And if it helps I'm not conected to the internet(on my Ubuntu, that is).

iAlta 10-13-2005 06:48 AM

I have tested
Code:

emerge mplayer
And it doesn't do shit!!!:mad:

stimpsonjcat 10-13-2005 07:18 AM

have you tried this? https://wiki.ubuntu.com/MplayerInstallHowto

Emmanuel_uk 10-13-2005 07:25 AM

iAlta I suggest you keep your cool, this will maximise your chance to get some help.

Welcome to LQ
have a look at http://www.linuxquestions.org/rules.php

you were told the emerge command was distro (gentoo) specific,
so you should not be surprised if it did not work for you ;-)

If you google for mplayer hq
you will find faqs there (source code as well there)

(but that means compiling, and you are better of at this stage just getting
a package which is ready to install).

Do you know what compiling means?

It is likely that mplayer is available on your cd / dvds
wherever you distro is coming from.

You can brush up on your google skills when you have time
ubuntu mplayer install howto
returned as #3 (this is a compilation oriented install;
you could download the file separately instead of using wget)
http://www.linuxforums.org/tutorials...ial-25783.html

I am sure there is more out there

Anyhow if you find a tutorial about apt-get
(must be in the help section of your distro anyway)
you will have found out about how to install extra packages
which are on your distro media. This might be the solution or not,
after all this is volontary help, it comes with no guarentees

If you fail that, and show you have been trying, people will help you

Hope it helps

PS: I do not have ubuntu, so I cannot tell you more for now

fieldyweb 10-13-2005 08:35 AM

Relax, Take a deep breath
 
Ok, firstly i understand your fustration, Linux has a huge learning curve, its not Windows, Ubentu as simple as it may be advertised, and be, is still a linux operating system, so sometimes its gonna be tough.. I know i have lost my rag, and reinstalled so many dammed times its unbelivable, but i stuck with it, and now XP is but a fleeting memory...

right you sat Totum doesn't work, What do you mena by that, what are you trying to play? DVD's Movie Clips? MP3's?

Why do i ask? Well being a ex-helpdesk engineer, its stupid question time..

If you want to play DVD's and you don't have a DVD player, well you can't
Totem on Ubentu doesn't automatically play Windows Media Movie clips (WMV files)
Some linus ditros like Redhat don't automatically play MP3's because of licencing issues...

So firstly what do you mean by totem doesn't work?

Ok, now you want to experiment, and use mplayer, ok, its not going to be easy, but as i tell my students anything worth doing never is... so have a look at

http://www.oldskoolphreak.com/tfiles/hack/ubuntu.txt

You said your not on the internet on this box, and well that may be a problem.. however a step by step apperntly goes like this...

The first step towards an Ubuntu multimedia powerhouse is to make sure your
box is up-to-date (dont type in $ this tells you its a new command)

open the command console and login as root

su -
<then enter your root password>

$ apt-get update - This will update your system might take a while
$ apt-get upgrade
$ apt-get dist-upgrade


MPlayer
-------
It's time to grab all of the packages needed to install MPlayer. MPlayer
is the most versatile media player available for GNU/Linux - video, audio,
X, no X - it very well may be the only player you'll need. Let's start with
gcc/g++ and other dependencies, and then grab the MPlayer source.

$ apt-get install manpages-dev
$ apt-get install autoconf
$ apt-get install automake
$ apt-get install libtool
$ apt-get install flex
$ apt-get install bison
$ apt-get install gcc-doc
$ apt-get install g++
$ apt-get install x-window-system-dev
$ apt-get install libgtk1.2-dev
$ apt-get install libpng-dev

Have your Warty Warthog CD handy and accept any extra packages, e.g. the
libtool install will also install gcc. We'll use a US mirror for (most of)
the MPlayer packages and assume you're working in your home directory.
Download MPlayer, codecs, English fonts and the default blue skin.


$ wget http://ftp5.mplayerhq.hu/mplayer/rel....0pre5.tar.bz2
$ wget http://ftp5.mplayerhq.hu/mplayer/rel...040922.tar.bz2
$ wget http://ftp5.mplayerhq.hu/mplayer/rel...8859-1.tar.bz2
$ wget http://www1.mplayerhq.hu/MPlayer/Skin/Blue-1.4.tar.bz2


Using the README from mplayerhq.hu [3] as a baseline, install the codecs
with the following commands.

$ tar -xjf essential-20040922.tar.bz2
$ mkdir -p /usr/local/lib/codecs
$ cp essential-20040922/* /usr/local/lib/codecs/

Time to compile MPlayer. Issue these commands.

$ tar -xjf MPlayer-1.0pre5.tar.bz2
$ cd MPlayer-1.0pre5
$ ./configure --enable-gui
$ make
$ make install

Now install the fonts and skin.

$ cd
$ tar -xjf font-arial-iso-8859-1.tar.bz2
$ cp font-arial-iso-8859-1/font-arial-14-iso-8859-1/* /usr/local/share/mplayer/font/
$ tar -xjf Blue-1.4.tar.bz2
$ mkdir -p /usr/local/share/mplayer/Skin/default
$ cp -r Blue/* /usr/local/share/mplayer/Skin/default/

Finally, copy over the included conf files.

$ cp MPlayer-1.0pre5/etc/* /usr/local/etc/mplayer/

Test your install by launching the graphical version of MPlayer.

$ gmplayer

QuickTime, WindowsMedia, MPEG, avi - you should be able to play just about
anything. Give yourself quick access to MPlayer by adding a launcher to
the top GNOME panel. Right click on the panel and click Add to Panel...
Select Custom Application Launcher and click Add. Use the following
information and click OK.

Ok, some points to note, the actual reame file at http://www.oldskoolphreak.com/tfiles/hack/ubuntu.txt tells you to use the sudo command, however as you yourself pointed out, your a newbie and this is a newbie forum, so i will make an assumption that you haven't set it up... sorry if i am wrong, now back to my earlier questions this readme also tells you how to setup DVD support for Ubentu as well as setting um XMMS the MP3 player, and if you start feeling really brave the Internet Radio streaming...

I hope that helps, and may you have many a fun filled multimedia lovin' evening..

fieldyweb 10-13-2005 08:37 AM

Something else worht noting is that for a distro billed as user friendly, from what i can see, its multimedia cpabilities leave a lot to be desired for those XP converts...

Emmanuel_uk 10-13-2005 08:44 AM

fieldyweb the guy does not have a net connexion,
and your are posting the same info as in the link I posted,

either we help him to get a net connexion,

otherwise is not going to be able to do a wget
and we will have to explain how to transfer files from one OS to another

or we explain to him whether mplayer is on his cd

You have a very valid point about the file format, hardware etc.


Once whatever you wanted to watch is in your drive
type these command one by one in a terninal (one of this icon looking like a small black screen)
Click on the icon first

ls -l /dev/cd* (then type enter / return) You just discovered command line interface, and what was dir in dos
ls -l /dev/dv*
ls -l /mnt/cdrom*

and reports

Alernatively use nautilus, or whatever file browser to tell us what is in the drive


And to come back to totem: If it does not work, what did your try?
What were the messages?
Go and read How to Use LinuxQuestions.org for some advice
on how to ask questions to maximise chances of an answer
http://www.linuxquestions.org/questi...icle&artid=486





fieldyweb 10-13-2005 09:12 AM

Point taken about the net connection, he's not going to have much joy from the CD... also we have all assumed he has installed version of Ubuntu and is not running the Live CD version...

Either way mplayer doesn't appear to be in the CD.. so he WILL need a net connection, to get to http://packages.ubuntu.com/

I guess he must have a network connection somewhere.. or he wouldn't be on this forum would he? 8-)

and yes, i did duplicte your link, one of the things which seems different between linux and XP online "handholding" is XP users seem to want to (and i quote) cut the crap, and install the software, whereas linux users require detailed instructions on exactly what is happening, which can be daunting to a newbie.. So i figured just cut and past the technical bits, and go to exactly what he needed to do.. I would imagine most newbies don't have Sudo installed, or know what Sudo is, so why not just remove all that, and cut to the chase.... login as su and off you go, because lets face it.. it is more logical for a first time user? also links die.. get removed, in a years time when someone is looking at this post, they will see my inablity to type and spell, and some links, which may be broken.... now they have a set of instructions to work from (trust me there are several pages on here from the past which promise so much, but the links they refer to are broken)

Anyway, good luck..

iAlta 10-13-2005 02:47 PM

Hmmm.... what to reply... I only have internet conection on a xp(wich is't mine, I can go online in my room, but only via PSP and its slow) my PC can't go online cuz of hardware.
I have sudo installd, but I dont know what it is.
Totem doesn't. can't play anything. I have seen others with the same prob.
MPlayer is NOT on the CD, and I have installd Ubuntu

Emmanuel_uk 10-14-2005 01:15 AM

fieldyweb, good point about broken links, but at the same time
the information is already there many times. I kind of agree with
you this is an intesting consideration :scratch: at the same time,
this is a bit more work and longer thread. Anyhow...

iAlta you have not answered what you are trying to play.
Maybe lots of people have problem with totem because they
want to read dvd, and they do not have libdvdcss,
it such a common post you would not believe.

have you got broadband or a 56 k modem?

Quote:

PC can't go online cuz of hardware
Is this no modem?
You cannot make it work?
Do not have a cable?
No ethernet card?

start a terminal and type
man sudo
Otherwise try the help section in ubuntu
Then come back and say I do not understand this or that

Either you try to have an internet connection,

or you try another distribution (go for one on dvd, it is likely to have
mplayer, I would says suse 9.2 or 9.3, or mandriva 2005 LE,
or maybe mepis, anyway everybody will suggest different things.
http://distrowatch.com/
Fear not and try a few distro if needed

iAlta 10-14-2005 10:41 AM

wireless 1mbit broadband, but my PC doesn't have a LAN-input or anything. I don't want to play DVD's and I know I can't cuz I don't have a DVD readingdevice. I am trieng to play mp3, avi, and mostly mpeg. Nothing works. N O T H I N G. nothing!

aneel.d 10-14-2005 11:26 AM

Also, when installing MPlayer, don't forget to add configure flags for the various codecs you want. By default, you will get a functional MPlayer build, but it may not support some of the newer codecs, such as Theora. However, adding the necessary configure flags will let you build support.

Emmanuel_uk 10-14-2005 05:13 PM

try xmms
 
iAlta,

http://www.xmms.org/about.php
You have it on your distro. Did you try????????????
XMMS is a multimedia player for unix systems. XMMS stands for X MultiMedia System and can play media files such as MP3, and more

No worries you will get to play all these files, one day
I was going to suggest you switch to a distribution that comes as a dvd because usually there are lots
of packages including mplayer. But, hey you need cds.

Either you get Mandriva, I know it comes with mplayer, on 2 to 4 cds (no idea how many really)
It is beginner friendly. For other ideas go to distrowatch.com

And as said by aneel.d you will need some extra codecs from mplayerhq. It is question of download and copy
in the right directory

OK, your choice now

a) Get another distro
b) Get a friend to download and burn all the files which are in previous posts after the instruction wget
and try to do the install under ubuntu
c) Get a wireless card for your PC (maybe expensive and difficult to get the hardware recognised)
d) you've got xmms in ubuntu distribution, and you try it
What do you want to do?

Re mp3
type in a terminal / console
apropos mp3 You might learn 1 thing or 2

maybe there is a command line mp3 player with ubuntu?


All times are GMT -5. The time now is 04:46 AM.