mpv (multimedia/mpv) Updated: 2 months ago Add to my watchlist

mpv is a movie player based on MPlayer and mplayer2.

mpv is a movie player based on MPlayer and mplayer2. It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and even H.264 movies.

Version: 0.38.0 License: GPL-2+ GitHub
Maintainers Ionic i0ntempest
Categories multimedia
Platforms {darwin >= 19}
  • audiocd (Enable Audio CD support via libcdio-paranoia)
  • bluray (Enable Bluray and AACS/BD+ encryption support)
  • bundle (Enable the optional macOS bundle of mpv)
  • caca (Enable animated ASCII art video output)
  • debug (Compile with debugging symbols)
  • dvd (Enable DVD and DeCSS support)
  • jack (Enable Jack Audio Connection Kit support)
  • libarchive (Enable transparent handling of Zip files and other compressed formats)
  • libmpv (Enable the libmpv library)
  • network (Enable networking support via youtube-dl (supports wide variety of pages))
  • openal (Enable OpenAL support)
  • opengl (Enable OpenGL output support. Both the CoreVideo and X11 (GLX) outputs are supported)
  • osd (Enable onscreen display and TrueType font support)
  • python310 (Use Python 3.10 to build mpv and generate man pages)
  • python311 (Use Python 3.11 to build mpv and generate man pages)
  • python312 (Use Python 3.12 to build mpv and generate man pages)
  • python38 (Legacy variant for Python 3.8 mapping to Python 3.9)
  • python39 (Use Python 3.9 to build mpv and generate man pages)
  • rubberband (Enable support for the Rubber Band library, adding audio pitch and speed control)
  • uchardet (Enable the uchardet encoding detector)
  • vulkan (Enable Vulkan output support)
  • x11 (Enable X11 support)
  • ytdlp (Enable networking support via yt-dlp instead of youtube-dl (supports wide variety of pages))

"mpv" depends on

lib (14)
run (3)
build (5)

Ports that depend on "mpv"

Port notes

The maintainer ships his personal config file in
* ${prefix}/share/doc/mpv/examples/config-maintainer.

You are strongly encouraged to copy this file to either
* ${prefix}/etc/mpv/mpv.conf (globally for all users of the system) or
* ~/.config/mpv/config (only for your current user)
and adjust it to your needs.

If you previously had your configuration file in
* ~/.mpv/config
please migrate it to
* ~/.config/mpv/config
which is the location preferred by upstream. This config file already defines the necessary video output settings to make use of the hardware acceleration features provided by your operating system.
To play Bluray discs with AACS encryption, decryption key database file "keydb.cfg" needs to be placed at:
* ~/Library/Preferences/aacs/ (on macOS, or)
* ~/.config/aacs/ (on other darwin).
You can easily find this file on the internet.

Port Health:

Loading Port Health

Installations (30 days)


Requested Installations (30 days)