PDA

View Full Version : HowTo: Install mplayer in Breezy


verzonnen
October 15th, 2005, 10:37 AM
To install mplayer in breezy I had to add the uncomment the universe repositories and add the "multiverse" repositories.

deb http://ca.archive.ubuntu.com/ubuntu breezy universe
deb-src http://ca.archive.ubuntu.com/ubuntu breezy universe
deb http://ca.archive.ubuntu.com/ubuntu breezy multiverse

I am posting this in the hope it will help others

aysiu
October 15th, 2005, 11:00 AM
Can you give a little more step-by-step than that?

verzonnen
October 15th, 2005, 01:18 PM
Well I'll try to add more detail, but I am not good at writing documentation, nor do I know apt, anyway this is what I did.

1) edit /etc/apt/sources.list and uncomment the lines for universe
(remove the "#" in front of the lines)

2) add a line similar to universe see the example; http://ca.archive.ubuntu.com/ubuntu breezy multiverse
(note I am in Canada, I sugest you get a miiror closer to you)

3) download any extra codecs; wget http://www2.mplayerhq.hu/MPlayer/releases/codecs/all-20050412.tar.bz2

4) unpack the codecs; tar -xvjf all-20050412.tar.bz2

5) become root ; su - root

6) change directory to /tmp; cd /tmp

7) create the directory for the codecs; mkdir /usr/lib/win32

8) move the "codecs" to the new directory; mv all-20050412/* /usr/lib/win32

9) install mplayer; apt-get install mplayer-586

Good luck

soulestream
October 15th, 2005, 01:52 PM
you also need a

sudo apt-get install mplayer-fonts

other than that cool


soule

Sale
October 16th, 2005, 07:02 AM
Does
sudo apt-get install mplayer-fonts
retrieve the fonts available at:
http://www2.mplayerhq.hu/homepage/design7/dload.html
If not, where do I put those after I manually download them?

TIA

Sale

rush_ad
October 16th, 2005, 08:36 AM
anyone having full screen problem? it goes full screen but picture size stayes the same and borders are black.

djkork
October 16th, 2005, 10:26 AM
This is because you are using X11 video output option... that doesn't support hw scaling
Change video output option to XV...

Omnios
October 16th, 2005, 07:45 PM
verzonnen Wrote:
Well I'll try to add more detail, but I am not good at writing documentation, nor do I know apt, anyway this is what I did.

1) edit /etc/apt/sources.list and uncomment the lines for universe
(remove the "#" in front of the lines)

2) add a line similar to universe see the example; http://ca.archive.ubuntu.com/ubuntu breezy multiverse
(note I am in Canada, I sugest you get a miiror closer to you)

3) download any extra codecs; wget http://www2.mplayerhq.hu/MPlayer/rel...050412.tar.bz2

4) unpack the codecs; tar -xvjf all-20050412.tar.bz2



tom@main:~/dtemp$ wget http://www2.mplayerhq.hu/MPlayer/rel...050412.tar.bz2
--19:43:42-- http://www2.mplayerhq.hu/MPlayer/rel...050412.tar.bz2
=> `rel...050412.tar.bz2'
Resolving www2.mplayerhq.hu... 193.225.187.202
Connecting to www2.mplayerhq.hu|193.225.187.202|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
19:43:43 ERROR 404: Not Found.

Got an 404 error can anyone confirm this hope they didnt drop this file

bored2k
October 16th, 2005, 08:18 PM
You have to copy and paste the URL. The link automatically gets shrinked by the forums.

afnola
October 16th, 2005, 08:20 PM
Yea, Im getting that error also....

Omnios
October 16th, 2005, 08:40 PM
K got it to work had to copy link location the original link from the original post and type wget in front of it and past in the address.

Thanks

afnola
October 16th, 2005, 10:53 PM
If you have trouble with dead link (like I did) you should put those repositories in that were listed in the first post... Then go into synaptic and search for mplayer and it will be there to download.

Murgle
October 16th, 2005, 10:59 PM
anyone having full screen problem? it goes full screen but picture size stayes the same and borders are black.

to get fullscreen in mplayer just add -zoom at the commandline

arnieboy
October 16th, 2005, 11:09 PM
to get fullscreen in mplayer just add -zoom at the commandline
or change zoom=no to zoom=yes in /etc/mplayer/mplayer.conf

rush_ad
October 16th, 2005, 11:45 PM
or change zoom=no to zoom=yes in /etc/mplayer/mplayer.conf

your solution works but gnome top and bottom panels are still visible. full screen only overlaps the desktop area

arnieboy
October 16th, 2005, 11:48 PM
your solution works but gnome top and bottom panels are still visible. full screen only overlaps the desktop area
do u run mplayer (from terminal) or gmplayer (the GUI version of mplayer with the fancy controls and stuff)?

t2kburl
October 17th, 2005, 02:04 AM
trying to do this using adept in kubuntu and it keeps coming up broken

era
October 17th, 2005, 06:07 AM
To reiterate, the link which is displayed in the forum is shortened automatically by the forum software, so you can't just copy and paste the "wget" command line from here. The URL you should "wget" is

http://www2.mplayerhq.hu/
MPlayer/releases/codecs/
all-20050412.tar.bz2

all on one line of course.

As you can tell, it's a version from April of this year. It's probably be replaced by a newer version some day.

rush_ad
October 17th, 2005, 08:44 AM
This is because you are using X11 video output option... that doesn't support hw scaling
Change video output option to XV...

thanks, it worked

rush_ad
October 17th, 2005, 09:19 AM
how do i fix that full screen error in vlc?

Azrael
October 17th, 2005, 09:35 AM
double post

Azrael
October 17th, 2005, 09:48 AM
1) edit /etc/apt/sources.list and uncomment the lines for universe (remove the "#" in front of the lines)

2) add a line similar to universe see the example; http://ca.archive.ubuntu.com/ubuntu breezy multiverse
(note I am in Canada, I sugest you get a miiror closer to you)

[...]

9) install mplayer; apt-get install mplayer-586
I chose the multiverse repositories like you suggested, but "sudo apt-get update", "sudo apt-get install mplayer-586" gives me:

sudo apt-get install mplayer-586
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mplayer-586: Depends: libpolyp0 but it is not installable
Depends: libsvga1 but it is not installable or
svgalib-dummyg1 but it is not installable

Mastodront
October 17th, 2005, 03:10 PM
I'm getting "mplayer-586:
Beror (Depends): libdirectfb-0.9-20 but it is not installable"

:(

kayas80
October 17th, 2005, 03:45 PM
This is because you are using X11 video output option... that doesn't support hw scaling
Change video output option to XV...

Thanks for teh fix tip djkork, that was really annoying me.

Garde
October 18th, 2005, 03:27 PM
I actually have to use X11 or the OpenGL args instead of XV, because the video won't display. I've installed all the codecs like you said, but it won't play with -vo xv... Can anyone tell me how to fix this?

Edit: I have both mplayer (command line) and mplayer-k6 installed.

I installed mplayer-586 over it, and it can't play with xv either, though it can play with x11 and gl.

Azrael
October 18th, 2005, 05:28 PM
I actually have to use X11 or the OpenGL args instead of XV, because the video won't display. I've installed all the codecs like you said, but it won't play with -vo xv... Can anyone tell me how to fix this?

Edit: I have both mplayer (command line) and mplayer-k6 installed.

I installed mplayer-586 over it, and it can't play with xv either, though it can play with x11 and gl.
xv doesn't work with all video cards. Google for mplayer and <your video card model> to find out which video output option you should use. also do: man mplayer for more info and mplayer -vo help for available options.

Luggy
October 24th, 2005, 09:50 AM
About the whole mpalyer-586 thing, this is what it says if you read about it in synaptic.
This version is for Pentium Pro/Celeron/Pentium II/Pentium IIIPentium
Pro/Celeron/Pentium II/Pentium III/Pentium IV
So unless you are running those processors, I would just use the mplayer-386 version.

If you are having trouble getting fullscreen to work, edit /etc/mplayer/mplayer.conf and change the default video mode to xv. That will make the non-graphical version work.

cledus
October 24th, 2005, 03:13 PM
I need help installing mplayer.
I still can't get it to work.
Can someone explain it like this post for java:
http://www.ubuntuforums.org/showthread.php?t=76754&highlight=java
It worked for me.
I am trying to convert my kids over to Linux, but half the sites they visit don't work.
The latest is www.wwe.com.
I am using Kubuntu.

oskude
November 3rd, 2005, 07:45 PM
hi,
I'm getting "mplayer-586:
Beror (Depends): libdirectfb-0.9-20 but it is not installable"
had the same problem CAUSE i forgot to change "hoary" to "breezy" in the linedeb http://archive.ubuntu.com/ubuntu hoary multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary multiversethat i copy'n'pasted from here http://ubuntuguide.org/#extrarepositories

:oops:

cheers
osku[de]

Vetto
December 18th, 2005, 11:52 PM
OK...what repository is mplayer actually in? I cant find it in breezy universe or multiverse. Was is removed?

Here is my sources.list

deb http://us.archive.ubuntu.com/ubuntu breezy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted

deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu breezy universe
deb-src http://us.archive.ubuntu.com/ubuntu breezy universe

deb http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe

htinn
December 25th, 2005, 06:11 PM
I haven't been able to install mplayer at all. I ran this:

sudo apt-get install mplayer-386

and it returned this:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mplayer-386: Depends: libfribidi0 (>= 0.10.5-4) but 0.10.5-2 is to be installed
Depends: libgcc1 (>= 1:4.0.2) but 1:4.0.1-4ubuntu9 is to be installed
Depends: libjack0.100.0-0 (>= 0.100.0) but it is not installable
Depends: libstdc++6 (>= 4.0.2-3) but 4.0.1-4ubuntu9 is to be installed
E: Broken packages

EDIT: Never mind. Found the answer here:

http://www.ubuntuforums.org/showthread.php?t=105479

aptsonic
December 25th, 2005, 07:20 PM
or change zoom=no to zoom=yes in /etc/mplayer/mplayer.conf

when i do this i get an error message from mplayer, detailing its crash..

i've tried its default driver output as x11, and gl, i'm running amd64. with a nvidia 6600gt

manishsingh4u
March 30th, 2006, 10:38 PM
To install mplayer in breezy I had to add the uncomment the universe repositories and add the "multiverse" repositories.

deb http://ca.archive.ubuntu.com/ubuntu breezy universe
deb-src http://ca.archive.ubuntu.com/ubuntu breezy universe
deb http://ca.archive.ubuntu.com/ubuntu breezy multiverse

I am posting this in the hope it will help others

Thanks for the help guys, with your help, I successfully installed Mplayer on my Kubuntu 5.10.
It works really smooth this way.

manishsingh4u
March 30th, 2006, 10:39 PM
when i do this i get an error message from mplayer, detailing its crash..

i've tried its default driver output as x11, and gl, i'm running amd64. with a nvidia 6600gt

Choose Xv instead of X11 for video output and it will work fine in fullscreen.

tk40775
April 5th, 2006, 12:05 PM
I actually have to use X11 or the OpenGL args instead of XV, because the video won't display. I've installed all the codecs like you said, but it won't play with -vo xv... Can anyone tell me how to fix this?

Edit: I have both mplayer (command line) and mplayer-k6 installed.

I installed mplayer-586 over it, and it can't play with xv either, though it can play with x11 and gl.

I've had the same problem and adding the following lines to my /etc/X11/xorg.conf under the "Device" section solved the it:

Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"

Btw, I have ATI Radeon 9100 graphic card with fglrx driver installed.