Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Hello does any know about/or have a mpv package compiled for 13.04?

I have searched for a PPA without any luck.

share|improve this question

3 Answers 3

No. Seems that you should compile from source the package. There is a pretty straight forward guide (if you want to jump to build the sources skip this section):

Compiling with full features requires development files for several external libraries. Below is a list of some important requirements. For more information see the output of ./configure --help for a list of options, or look at the list of enabled and disabled features printed after running ./configure. If you think you have support for some feature installed but configure fails to detect it, the file config.log may contain information about the reasons for the failure.

Essential dependencies (incomplete list):

  • gcc or clang
  • X development headers (xlib, X extensions, libvdpau, libGL, libXv, ...)
  • Audio output development headers (libasound, pulseaudio)
  • fribidi, freetype, fontconfig development headers (for libass)
  • libass
  • FFmpeg libraries (libavutil libavcodec libavformat libswscale libpostproc)
  • libjpeg
  • libquvi if you want to play Youtube videos directly
  • libx264/libmp3lame/libfdk-aac if you want to use encoding (has to be explicitly enabled when compiling ffmpeg)

Most of the above libraries are available in suitable versions on normal Linux distributions. However FFmpeg is an exception (distro versions may be too old to work at all or work well). For that reason you may want to use the separately available build wrapper (mpv-build) that first compiles FFmpeg libraries and libass, and then compiles the player statically linked against those.

So lets use the helper

As you have read in the previous section, you can use mpv-build to build automatically from sources, and it works on Debian-based system, like Ubuntu!

So, what's the deal:

  1. First you must be sure that you have git installed:

    sudo apt-get install git build-essentials
  2. Clone the sources:

    git clone
    cd mpv-build
  3. Prepare your build tree

  4. Install the dependencies

    sudo apt-get install devscripts
    mk-build-deps -s sudo -ir
  5. Start building

    make clean
  6. Here you can decide if install or using the program as is:

    • If you don't want to install it, just run ./mpv/mpv
    • If you want to install it you should run sudo make install && mpv
  7. Done.

This is a pretty obscure package, and through the instructions are accurate, sometimes something might not work. Good Luck!

share|improve this answer
How do I make a .deb package out of this? – user191274 Sep 11 '13 at 18:24
@user191274 you can use checkinstall or do a full debian package. Is up to you. – Braiam Oct 31 '13 at 13:20

This ppa seems to work (I just tried it):

There is also a bug and I hope they sync it for Trusty, it really looks promising.

share|improve this answer
only you cannot set mpv as default to open video files. – sup Nov 13 '13 at 1:35
with gtk-3.10 (trusty), .desktops that contain NoDisplay=true can now show up in Details > default apps.. mpv itself needs a better .desktop than supplied to be available, the ones in my ppa are adjusted for this by adding 2 mimes, 1 for video, 1 for audio (and also extended for DnD on most supported mimetypes. – doug Dec 25 '13 at 18:32

Here is a ppa.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.