Install mplayer2 on ubuntu using PPA

Sponsored Link
mplayer2 is an advanced general-purpose video player. A fork of the original MPlayer project, it contains significant further development and supports a number of features not available in other Unix players.

Improvements over MPlayer

Better pause handling

In MPlayer executing any commands forced the player to unpause. This is no longer the case; in MPlayer2 you can change settings, seek, or run other commands while paused.
Better Matroska support

MPlayer2 has improved support for Matroska files, including support for ordered chapters and editions.
Easy to use multithreading support

It's easy to build MPlayer2 with FFmpeg-mt support, and threading will be used automatically without requiring any manual configuration. This gives a big performance increase on multicore machines.
Much better support for VDPAU functionality on NVIDIA cards

Removed limitations that prevented switching frames more than once per monitor refresh. With MPlayer2 you can play high-FPS content or use fast forward on a 60 Hz monitor without breaking playback.
Added support for the frame timing functionality of VDPAU.
Improved performance by better buffer handling and smarter subtitle texture uploads (both VDPAU hardware decoding and displaying software decoded video with VDPAU perform better).
Added logic to reduce frame timing jitter in some situations.
Handle frames added by deinterlacing properly.
Several bugfixes.
Various minor improvements (studio level output support, set default deinterlace mode, ...)

Support for precise seeks

It's now possible to seek to any frame in the video; seeks are no longer necessarily limited to keyframes.
Support for gettext-based translations

The message translation support in MPlayer was basically useless for binary Linux distributions, as the message language was hardcoded at compile time and supporting several languages would have required a separate program binary for every one. Runtime-switchable translations with gettext are now supported.
No longer depends on embedded FFmpeg tree or internal FFmpeg symbols

MPlayer required an embedded copy of FFmpeg to compile. This caused a maintenance burden as changes in FFmpeg fairly often broke the compilation of MPlayer. While it could link against shared FFmpeg libraries it would still use some code from the embedded tree instead, and also depended on internal FFmpeg symbols that are not part of the public API, thus making any dynamic-linked binaries liable to break when FFmpeg libraries are updated. MPlayer2 does not depend on embedded FFmpeg library copies and uses FFmpeg only through its public API. This eases maintenance and makes dynamic-linked binaries safe.

Lots of bugfixes
Improvements in audio/video sync handling
Cleaned up and improved various terminal output messages
Support for gapless playback of audio files (option -gapless-audio)
Better responsiveness in certain cases where MPlayer had significant latency before reading or completing commands
Support modifier keys in command bindinds (currently X11-based input only)
Keep fullscreen state by default when switching between files
OSS4 volume control
Various stuff not listed here...

Install mplayer2 on ubuntu using PPA

Open the terminal and run the following commands

sudo add-apt-repository ppa:ripps818/coreavc

sudo apt-get update

sudo apt-get install mplayer

Sponsored Link

You may also like...

19 Responses

  1. Maddox says:

    Doesn’t work for me on lucid.

  2. MikeofEngland says:

    sudo apt-get install mplayer2-build
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package mplayer2-build

    Why? 🙁

  3. Richard Ayotte says:

    @MikeofEngland sudo apt-get install mplayer.

  4. Ripps818 says:

    Yeah, mplayer2-build is the name of the source package. The actual binary package is called mplayer is meant to be a drop-in replacement for vanilla mplayer.

  5. temps says:

    I confirm
    sudo apt-get install mplayer

  6. Dàrent says:

    Perfect, now it can open mkv than used to fail before (crashes and out of sync). Thanks!

  7. Advocato de Diablo says:

    Is it also compatible with the two front ends SMplayer and UMplayer?

  8. Dàrent says:

    @Advocato: I’m using it with smplayer and works perfect. Haven’t tried umplayer but i think it will work since they’re very similar.

  9. Advocato de Diablo says:

    Yes…it does. Quite well and thank you!

  10. MikeofEngland says:

    Thanks Richard Ayotte

  11. Mooniversal studios says:

    Works for me, cheers

  12. Todor says:

    How to make sure future mplayer updates won’t replace it back with mplayer?

  13. saturno says:

    Thanks man, It’s working with ubuntu 64 bits.

  14. Ishwar says:

    Hi, I’m not abe to install mplayer2. Please help

    sudo apt-get install mplayer
    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:
    mplayer : Depends: mplayer2 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

  15. fiend says:

    Try removing mplayer and then installing mplayer2 through synaptic.

  16. bdsisk says:

    same issue add 2 to end of
    sudo apt-get install mplayer

  17. Chocwise says:

    The PPA is not very well put together sadly.
    I tried installing mplayer2 on my Lucid, but it requires me to remove quite some packages which won’t match dependencies anymore, like mencoder and Acidrip for example.
    The transitional mplayer-Package isn’t even installable, even after I deinstalled the old mplayer-package.

    And of course mplayer-gui and gnome-mplayer aren’t installable anymore, because the transitional package mplayer isn’t installable and so they miss on their dependency to that package.

    But frankly speaking, mplayer sucks without any GUI.

    It’s always nice to see people bringing the newest software to Ubuntu. But in this case the PPA lacks proper finishing in critical places. :/

  18. Ripps says:

    Hi, I’m the maintainer of the PPA. I’m aware that the mplayer transitonal package doesn’t seem to install correctly, and I’m looking into it.

    The mplayer2 package when installed standalone should work fine with any of the mplayer gui’s in the Ubuntu repos because it “Provides” the mplayer package. In fact, I have gnome-mplayer and smplayer installed on my Ubuntu 12.04 machine without having the normal or dummy mplayer installed.

    Mencoder and Acidrip seem to install and work just fine without a mplayer package, in fact they should attempt to install the mplayer2 package.

  19. giantjoebot says:

    This totally broke my system. Smplayer doesn’t work any more. Even VLC is having problems. The only thing that does work is mplayer2, which looks amazing I have to admit. Its okay I was planing on doing a fresh install anyways.

Leave a Reply

Your email address will not be published. Required fields are marked *