SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-07-27 03:19:00

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Installing mplayer2

I wanted to install mplayer2-2.0 just to test out 10bit h264 (Hi10P) video files, but having trouble installing it.  As far as I know, I don't think it is in the debian Squeeze repositories.  Also not sure if this belongs in this section or Debian unstable section.

http://www.mplayer2.org/

The only progress I have made was findng out what was inside the mplayer2-2.0-linux-x86-glibc27.tar.bz2 which turned out to be just one file "mplayer".

Last edited by sunfizz98 (2011-07-27 03:19:39)

Offline

Be excellent to each other!

#2 2011-07-27 03:57:47

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,360

Re: Installing mplayer2

You downloaded the binary version. You don't need to compile it; it's just an executable.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#3 2011-07-27 15:19:23

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Installing mplayer2

So how exactly would I use it?  I made th file executable but it did nothing...

In the terminal, it still said mplayer command does not exist either.  Am I supposed to install the mplayer found in the repositories and then replace it with this one?  The only problem I would see with that method is unsupported dependencies and missing files.

Last edited by sunfizz98 (2011-07-27 15:22:11)

Offline

#4 2011-07-27 15:22:56

machinebacon
#! unstable
Registered: 2009-07-02
Posts: 6,586

Re: Installing mplayer2

./mplayer

maybe?

Offline

#5 2011-07-27 15:43:54

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: Installing mplayer2

+x for the file, then rename it to something NOT mplayer. run "./somethingnotmplayer". In the terminal. Don't you dare clicking at a binary in a filemanager...


I'm so meta, even this acronym

Offline

#6 2011-07-27 16:13:29

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Installing mplayer2

so I renamed the file to "mplayer_test" and did what Awebb said, but it gave me this in the terminal:

bash: ./mplayer_test: cannot execute binary file

Offline

#7 2011-07-27 16:23:33

machinebacon
#! unstable
Registered: 2009-07-02
Posts: 6,586

Re: Installing mplayer2

chmod +x mplayer_test

Offline

#8 2011-07-27 17:59:22

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: Installing mplayer2

It is statically linked against whatever libraries. Built if from source...


I'm so meta, even this acronym

Offline

#9 2011-07-27 18:05:00

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Installing mplayer2

sunfizz98@sf98laptop:~/downloads$ chmod +x mplayer_test 
sunfizz98@sf98laptop:~/downloads$ mplayer_test
bash: mplayer_test: command not found
sunfizz98@sf98laptop:~/downloads$ ./mplayer_test
Creating config file: /home/sunfizz98/.mplayer/config
MPlayer2 2.0 (C) 2000-2011 MPlayer Team
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
 -vo <drv>        select video output driver ('-vo help' for a list)
 -ao <drv>        select audio output driver ('-ao help' for a list)
 vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>  play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <position>   seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

sunfizz98@sf98laptop:~/downloads$ mplayer
bash: mplayer: command not found
sunfizz98@sf98laptop:~/downloads$ mplayer_test
bash: mplayer_test: command not found

some progress made...I tried talking to the people in the mplayer2 IRC but it seems like they're either asleep or away.

Offline

#10 2011-07-27 18:18:57

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: Installing mplayer2

It runs. It's not some progress, it runs. Now run a file and don't forget the leading "./". It doesn't have a GUI.


I'm so meta, even this acronym

Offline

#11 2011-07-27 18:21:20

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,360

Re: Installing mplayer2

Now that you have it working, just use it. Or if you prefer use a front-end like Gnome-mplayer and then point it to your mplayer_test file.

screenshot_07_27_2011_111951.jpg


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#12 2011-07-27 18:51:19

punk_physicist
#! CrunchBanger
From: ~/
Registered: 2011-05-02
Posts: 160

Re: Installing mplayer2

Just an FYI, mplayer2 is also in the debian-multimedia.org repositories

Offline

#13 2011-07-27 19:34:22

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Installing mplayer2

punk_physicist wrote:

Just an FYI, mplayer2 is also in the debian-multimedia.org repositories

Yea, I tried that method too (not sure which repository), but all the repositories over there told me that it had missing incoming dependencies that were either moved or deleted.  Hence, the package couldn't get installed.

So I ran a file via mplayer2, but I got this message while it was playing the vid file.

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

Offline

#14 2011-07-27 19:44:44

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,360

Re: Installing mplayer2

Are you trying to use VDPAU? Do you have the NVIDIA drivers and nvidia-vdpau-driver installed?


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#15 2011-07-27 20:25:31

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Installing mplayer2

Not really.  I have an HD Radeon 4550 for my desktop and an Intel GMA for my laptop, so I doubt that I have anything nvidia built into my systems.  Just wondering why such a message would appear.

Offline

#16 2011-07-27 20:36:09

Awebb
The Singularity
Registered: 2009-07-23
Posts: 2,812

Re: Installing mplayer2

Then you should recompile it withouth VDPAU support.


I'm so meta, even this acronym

Offline

#17 2011-07-27 21:11:52

punk_physicist
#! CrunchBanger
From: ~/
Registered: 2011-05-02
Posts: 160

Re: Installing mplayer2

sunfizz98 wrote:
punk_physicist wrote:

Just an FYI, mplayer2 is also in the debian-multimedia.org repositories

Yea, I tried that method too (not sure which repository), but all the repositories over there told me that it had missing incoming dependencies that were either moved or deleted.  Hence, the package couldn't get installed.

How exactly did you try to install/where did you get the error? The reason being is a simple

apt-get install mplayer2

seemed to work fine for me...

Offline

#18 2011-08-01 21:54:58

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Installing mplayer2

@punk_physicist
Agh, seems like the problem resolved itself.  Installed mplayer2 successfully from the wheezy repositories at debian-multimedia.org.  It wasn't like that when I initially started this thread.

The only problem is that it doesn't seem to be rendering Hi10P videos correctly, but that might be from having a old release of mplayer2?

Offline

#19 2011-08-02 16:25:57

punk_physicist
#! CrunchBanger
From: ~/
Registered: 2011-05-02
Posts: 160

Re: Installing mplayer2

sunfizz98 wrote:

@punk_physicist
Agh, seems like the problem resolved itself.  Installed mplayer2 successfully from the wheezy repositories at debian-multimedia.org.  It wasn't like that when I initially started this thread.

The only problem is that it doesn't seem to be rendering Hi10P videos correctly, but that might be from having a old release of mplayer2?

Hmm, maybe you tried to install while packages where being upgraded hmm ... anyways glad it's installed fine now.  Good luck on the rendering issue (sorry I have no advice for you there)

Offline

#20 2011-08-12 03:10:55

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Installing mplayer2

At the moment, I am trying to upgrade my mplayer2 from the wheezy version to the sid version, but I'm having problems doing so.

sunfizz98@sf98laptop:~/downloads$ sudo apt-get install mplayer2
Reading package lists... Done
Building dependency tree       
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mplayer2 : Depends: libasound2 (> 1.0.24.1)
            Depends: libbluray1 but it is not installable
            Depends: libbs2b0 but it is not installable
            Depends: libjpeg8 (>= 8c) but 8b-1 is to be installed
            Depends: libpulse0 (>= 0.9.23) but 0.9.21-3+squeeze1 is to be installed
E: Broken packages

This is my sources.list

## CRUNCHBANG
## Compatible with Debian Squeeze, but use at your own risk.
#deb http://packages.crunchbanglinux.org/statler statler main

## DEBIAN
deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
#deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main

## DEBIAN BACKPORTS
#deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free

## Debian Iceweasel
deb http://mozilla.debian.net/ squeeze-backports iceweasel-aurora

## Debian Multimedia
#deb http://www.debian-multimedia.org squeeze main non-free
#deb http://www.debian-multimedia.org wheezy main non-free
deb http://www.debian-multimedia.org sid main non-free

Please keep in mind that my laptop is amd64 or 64bit.  I wasted a good day or two trying to figure this out and it is driving me nuts!

Offline

#21 2011-08-12 03:18:39

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,360

Re: Installing mplayer2

You don't have any Debian Sid repos so apt-get cannot find the appropriate dependencies. You are using Sid for Debian Multimedia but Squeeze for everything else.


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

#22 2011-08-12 20:34:24

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Installing mplayer2

I added the Debian Sid repos and that worked for my 64bit laptop, but not for my 32bit desktop.  Anyway, is there a way to do a dist-upgrade without upgrading to Sid?

Offline

#23 2011-08-12 21:42:50

punk_physicist
#! CrunchBanger
From: ~/
Registered: 2011-05-02
Posts: 160

Re: Installing mplayer2

sunfizz98 wrote:

I added the Debian Sid repos and that worked for my 64bit laptop, but not for my 32bit desktop.  Anyway, is there a way to do a dist-upgrade without upgrading to Sid?

Yes, with a little magic from apt-pinning

Offline

#24 2011-08-13 01:52:20

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,360

Re: Installing mplayer2

@sunfizz98 - Yes you can do "sudo apt-get dist-upgrade" without upgrading to Sid. Why do you think you need Sid to run it?


Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Offline

Be excellent to each other!

#25 2011-08-13 02:00:05

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: Installing mplayer2

@anonymous
I know I don't need sid to run mplayer, but I had a hunch that something was wrong when "sudo apt-get dist-upgrade" prompted me to almost upgrade everything.  That was all before I learned about apt-pinning.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo