mpv is a free media player for the command line. It supports a wide variety of media file formats, audio and video codecs, and subtitle types.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/mpv-player/mpv/archive/refs/tags/v0.36.0/mpv-0.36.0.tar.gz
Download MD5 sum: 3ac8bb1fec1c09293a574e615446bb3b
Download size: 3.3 MB
Estimated disk space required: 38 MB
Estimated build time: 0.4 SBU (Using parallelism=4)
Mesa-23.1.8, FFmpeg-6.1, ALSA-1.2.7, PulseAudio-16.1 and libass-0.17.1
Lua-5.2.4, libjpeg-turbo-3.0.1, uchardet-0.0.8 and libva-2.20.0
libdvdread-6.1.3, libdvdnav-6.1.1, libdvdcss-1.4.3, libbluray,
Install mpv by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr \ --buildtype=release \ -Dx11=enabled \ .. && ninja
This package does not come with a test suite.
Now, as the root
user:
ninja install
This package installs icon files into the /usr/share/icons/hicolor
hierarchy and
desktop files into the /usr/share/applications
hierarchy. You can
improve system performance and memory usage by updating
/usr/share/icons/hicolor/index.theme
and
/usr/share/applications/mimeinfo.cache
. To perform
the update you must have GTK+-3.24.38 installed (for the icon
cache) and desktop-file-utils-0.27 (for the desktop cache)
and issue the following commands as the root
user:
gtk-update-icon-cache -qtf /usr/share/icons/hicolor && update-desktop-database -q
-Dx11=enabled
: allow linking to X11 libraries.
-Ddvdnav=enabled
: support DVD playing.
-Dcdda=enabled
: support cdda (libcdio).
-Dsdl2=enabled
: SDL2 support.