How to install mpv media player on Linux mint-18.3
To install mpv media player on Linux Mint 18.3
Mpv is media player software, based on MPlayer and mplayer2. It is free and open-source software released under a mix of licenses including GNU General Public License version 2 or later (GPLv2+), It runs on several operating systems, including the Unix-like variants Berkeley Software Distribution (BSD), Linux, and macOS, and on the non-Unix Windows. It is cross-platform, running on the ARM, PowerPC and MIPS architecture.
Installing mpv
First, make sure the system repository package is up to date by using the following command.
linuxhelp ~ # apt-get update
Ign:1 http://packages.linuxmint.com sylvia InRelease
Hit:2 http://packages.linuxmint.com sylvia Release
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://archive.canonical.com/ubuntu xenial InRelease
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:8 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [737 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [684 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [593 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [548 kB]
Fetched 2,767 kB in 10s (263 kB/s)
Reading package lists... Done
After updating system repository, add the following repository which contains mpv installer package.
linuxhelp ~ # add-apt-repository ppa:mc3man/mpv-tests
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
You are about to add the following PPA:
*Note: any issues regarding ytdl:
Update to the latest upstream version before filing issue with me or at mpv github
The latest min. version required for 16.04 is 2017.08.09
*Note - mpv.conf is the new default for a config file
Best, new default location is ~/.config/mpv/ using mpv.conf
*New -
Now uses a default profile named pseudo-gui
This is used via mpv.desktop, mainly for playback from context menu,
mime associations & DnD on a launcher icon.
The upstream default is idle=once, I' ve set these builds to idle=ye
.
.
*re: cuda*
Now using SDK 8, requires nvidia-378.13 at a min.
Can be gotten here - https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
If any initial issues try,
Remove mpv, install new drivers, reboot, re-install mpv
*re:libmpv for xenial
older version here, for newer go here as latest requires newer ffmpeg libs
https://launchpad.net/~mc3man/+archive/ubuntu/xerus-media
More info: https://launchpad.net/~mc3man/+archive/ubuntu/mpv-tests
Press Enter to continue or Ctrl+C to cancel
Executing: /tmp/tmp.Eb2MH5pAlG/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv-keys
ED8E640A
gpg: requesting key ED8E640A from hkp server keyserver.ubuntu.com
gpg: key ED8E640A: public key " Launchpad PPA for Doug McMahon" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
After adding the mpv repository Update the system repository again.
linuxhelp ~ # apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:2 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu xenial InRelease [17.5 kB]
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Get:4 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu xenial/main Sources [3,628 B]
Get:5 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu xenial/main amd64 Packages [4,532 B]
Get:6 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu xenial/main i386 Packages [4,532 B]
Get:7 http://ppa.launchpad.net/mc3man/mpv-tests/ubuntu xenial/main Translation-en [2,308 B]
Hit:8 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:9 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:10 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:11 http://packages.linuxmint.com sylvia InRelease
Hit:12 http://packages.linuxmint.com sylvia Release
Fetched 32.5 kB in 5s (5,429 B/s)
Reading package lists... Done
After that, install the mpv player by making use of the following command.
linuxhelp ~ # apt-get install mpv
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libbluray1 libbs2b0 libfdk-aac1 libgme0 libmodplug1 libmp3lame0 libmysofa libopenjp2-7 librubberband2v5
libsoxr0 libssh-4 libtwolame0 libuchardet0 libva-drm1 libva-x11-1 libva1 libvdpau1 libxvidcore4
Suggested packages:
libbluray-bdj
Recommended packages:
va-driver-all | va-driver vdpau-driver-all | vdpau-driver i965-va-driver | libva-intel-vaapi-driver | va-driver
mesa-vdpau-drivers | nvidia-vdpau-driver | nvidia-driver-binary | nvidia-current | vdpau-driver
The following NEW packages will be installed:
libbluray1 libbs2b0 libfdk-aac1 libgme0 libmodplug1 libmp3lame0 libmysofa libopenjp2-7 librubberband2v5
libsoxr0 libssh-4 libtwolame0 libuchardet0 libva-drm1 libva-x11-1 libva1 libvdpau1 libxvidcore4 mpv
0 upgraded, 19 newly installed, 0 to remove and 273 not upgraded.
Need to get 10.7 MB of archives.
After this operation, 32.3 MB of additional disk space will be used.
.
.
Setting up libfdk-aac1:amd64 (0.1.4.0-1~xenial1) ...
Setting up libgme0:amd64 (0.6.0-3ubuntu0.16.04.1) ...
Setting up libmodplug1:amd64 (1:0.8.8.5-2) ...
Setting up libmp3lame0:amd64 (3.99.5+repack1-9build1) ...
Setting up libmysofa (0.6.0~xenial2) ...
Setting up librubberband2v5:amd64 (1.8.1-6ubuntu2) ...
Setting up libsoxr0:amd64 (0.1.2-1) ...
Setting up libssh-4:amd64 (0.6.3-4.3) ...
Setting up libtwolame0:amd64 (0.3.13-1.2) ...
Setting up libuchardet0:amd64 (0.0.1-1ubuntu1) ...
Setting up libva-drm1:amd64 (1.8.1-1~xenial) ...
Setting up libva1:amd64 (1.8.1-1~xenial) ...
Setting up libva-x11-1:amd64 (1.8.1-1~xenial) ...
Setting up libvdpau1:amd64 (1.1.1-3ubuntu1) ...
Setting up libxvidcore4:amd64 (2:1.3.4-1) ...
Setting up libbs2b0:amd64 (3.1.0+dfsg-2.2) ...
Setting up libopenjp2-7:amd64 (2.1.0-2.1ubuntu0.1) ...
Setting up mpv (2:0.28.0+git1~xenial3) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
After installation, you can start the mpv player by searching it from the menu, once it appears, click to open the application.
To open Video in the local directory, choose the video, right click on it & choose open with mpv media player.
Your media will open with mpv media player now.
With this, the method to install mpv media player on Linux mint-18.3 comes to an end.
Comments ( 1 )