My Debian/Ubuntu packages - mpv

Description

mpv is a movie player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs, and subtitle types.

These packages include support for the --sub-fonts-dir option, making it possible to load subtitle fonts from a specific directory. (Coupled with my own sub-fonts-dir-auto.lua mpv plugin, this will automatically use any Fonts directory alongside the currently playing file.)

Installation

(Reminder: Make sure you have installed the fbriere-archive-keyring package beforehand!)

Download the .sources file below corresponding to your current release, place it in the /etc/apt/sources.list.d/ directory, and run apt update.

If you prefer, the following command line (run as root) will automatically perform all of the above:
apt-get -y install curl lsb-release && (cd "$(mktemp -d)" && dpkg -i $(curl -# -f -w '%{filename_effective}' -O https://www.fbriere.net/debian/fbriere-archive-keyring.deb)) && (cd /etc/apt/sources.list.d && curl -# -f -O https://www.fbriere.net/debian/sources/$(lsb_release -cs)/fbriere_mpv.sources) && apt-get update

Debian releases

bookworm (stable)

Ubuntu releases

jammy (22.04)

Version pinning

To give these packages precedence over the official ones in Debian/Ubuntu (to prevent any "upgrade" to a more-recent-but-unpatched version), it is recommended that you install the fbriere-archive-pin-mpv package also provided by this component.