mpv is a free and open source media player for Windows, Linux BSD and MacOS. It is a fork of popular mplayer2 and MPlayer. It does not have an official GUI, but you can control via on screen mouse movement. It provies OpenGL based video output and uses FFmpeg hwaccel APIs to support VDPAU, VAAPI, DXVA2, VDA and VideoToolbox video decoding acceleration. You can embeds the the player into other applications using its C API.
Install mpv on Ubuntu Linux
You can install mpv via default Ubuntu repository, flatpak and PPA. Open the terminal application using ctrl+alt+t keys and run below mpv apt installation command. It will install the latest version fo mpv on your system.
sudo apt install mpv -y
You can check installed version number using this command.
mpv [options] [url|path/]filename
Install mpv via flatpak:
First install the latest version of flatpak and flathub on your system and restart it after the installation. Now run below mpv flatpak install command.
flatpak install flathub io.mpv.Mpv
After that open mpv using below command.
flatpak run io.mpv.Mpv
And uninstall using this command,
sudo flatpak uninstall io.mpv.Mpv
Install mpv via PPA:
The official PPA for mpv is available on launchpad. First add its PPA by opening your terminal app by searching terminal in ubuntu dash and run the below command
sudo add-apt-repository ppa:mc3man/mpv-tests
Then type your Ubuntu password. And hit enter key confirm the installation. Then type the below command and hit enter.
sudo apt-get update
Then run the below command in terminal to install mpv media player on Ubuntu.
sudo apt-get install mpv
Type Y and hit enter to confirm the mpv media player installation. After the successful installation of mpv media player restart your system.