Install this package:
emerge -a media-video/mpv
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask media-video/mpv
Or alternatively:
emerge --autounmask-write -a media-video/mpv
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux | 0/2 |
<pkgmetadata> <maintainer type="person"> <email>ionen@gentoo.org</email> <name>Ionen Wolkens</name> </maintainer> <use> <flag name="archive">Enable support for various archive formats via <pkg>app-arch/libarchive</pkg></flag> <flag name="bluray">Enable playback of Blu-ray filesystems</flag> <flag name="cli">Enable the command-line player</flag> <flag name="drm">Enable Kernel Mode Setting / Direct Rendering Manager based video outputs</flag> <flag name="gamepad">Enable gamepad input support</flag> <flag name="libmpv">Enable the shared library and headers (used by frontends / plugins)</flag> <flag name="lua">Enable Lua scripting, OSC (On Screen Controller) GUI, and <pkg>net-misc/yt-dlp</pkg> support</flag> <flag name="pipewire">Enable sound support via native PipeWire backend</flag> <flag name="rubberband">Enable high quality pitch correction via <pkg>media-libs/rubberband</pkg></flag> <flag name="sdl">Enable <pkg>media-libs/libsdl2</pkg> based video and audio outputs (Note: these outputs exist for compatibility reasons only, avoid if possible)</flag> <flag name="sixel">Enable support for the sixel video backend using <pkg>media-libs/libsixel</pkg></flag> <flag name="sndio">Enable sound support via <pkg>media-sound/sndio</pkg></flag> <flag name="soc">Use additional <pkg>media-video/ffmpeg</pkg> patches for efficient playback on some SoCs (e.g. ARM, RISC-V)</flag> <flag name="tools">Install extra tools: mpv_identify.sh, mpv_idet.sh, and umpv</flag> <flag name="uchardet">Enable subtitles charset discovery via <pkg>app-i18n/uchardet</pkg></flag> <flag name="zimg">Enable libzimg support (for vf_fingerprint)</flag> </use> <upstream> <remote-id type="github">mpv-player/mpv</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p media-video/mpv |
euse -E <flag> -p media-video/mpv |
euse -D <flag> -p media-video/mpv
| Flag | Description | 9999 |
|---|---|---|
| X | Enable audible bell for X11 ⚠️ | ⊕ |
| alsa | Enable alsa output for sound emulation ⚠️ | ⊕ |
| aqua | ⚠️ | ✓ |
| archive | Enable support for various archive formats via <pkg>app-arch/libarchive</pkg> | ✓ |
| bluray | Enable playback of Blu-ray filesystems | ✓ |
| cdda | ⚠️ | ✓ |
| cli | Enable the command-line player | ⊕ |
| coreaudio | ⚠️ | ✓ |
| debug | Build with upstream's CXXFLAGS/LDFLAGS for debugging support; not recommended for normal use. ⚠️ | ✓ |
| drm | Enable Kernel Mode Setting / Direct Rendering Manager based video outputs | ⊕ |
| dvb | ⚠️ | ✓ |
| dvd | ⚠️ | ✓ |
| egl | ⚠️ | ⊕ |
| gamepad | Enable gamepad input support | ✓ |
| iconv | ⚠️ | ⊕ |
| jack | ⚠️ | ✓ |
| javascript | ⚠️ | ✓ |
| jpeg | Enable jpeg image support for the VNC console server ⚠️ | ✓ |
| lcms | ⚠️ | ✓ |
| libcaca | ⚠️ | ✓ |
| libmpv | Enable the shared library and headers (used by frontends / plugins) | ⊕ |
| lua | Enable Lua scripting, OSC (On Screen Controller) GUI, and <pkg>net-misc/yt-dlp</pkg> support | ⊕ |
| nvenc | ⚠️ | ✓ |
| openal | ⚠️ | ✓ |
| pipewire | Enable sound support via native PipeWire backend | ✓ |
| pulseaudio | Add sound server support via media-libs/libpulse (may be PulseAudio or Pipewire, or apulse if installed) ⚠️ | ✓ |
| rubberband | Enable high quality pitch correction via <pkg>media-libs/rubberband</pkg> | ✓ |
| sdl | Enable <pkg>media-libs/libsdl2</pkg> based video and audio outputs (Note: these outputs exist for compatibility reasons only, avoid if possible) | ✓ |
| selinux | ⚠️ | ✓ |
| sixel | Enable support for the sixel video backend using <pkg>media-libs/libsixel</pkg> | ✓ |
| sndio | Enable sound support via <pkg>media-sound/sndio</pkg> | ✓ |
| soc | Use additional <pkg>media-video/ffmpeg</pkg> patches for efficient playback on some SoCs (e.g. ARM, RISC-V) | ✓ |
| test | Perform tests (slow!) and install compressed test results ⚠️ | ✓ |
| tools | Install extra tools: mpv_identify.sh, mpv_idet.sh, and umpv | ✓ |
| uchardet | Enable subtitles charset discovery via <pkg>app-i18n/uchardet</pkg> | ⊕ |
| vaapi | ⚠️ | ✓ |
| vapoursynth | ⚠️ | ✓ |
| vdpau | ⚠️ | ✓ |
| vulkan | Build with Vulkan support ⚠️ | ⊕ |
| wayland | ⚠️ | ✓ |
| xv | ⚠️ | ✓ |
| zimg | Enable libzimg support (for vf_fingerprint) | ✓ |
| zlib | ⚠️ | ✓ |