Skip to content

Instantly share code, notes, and snippets.

@AmanRaj1608
Forked from davidhq/mpv_install.md
Created December 4, 2021 14:44
Show Gist options
  • Save AmanRaj1608/f33b27cd25356cf83a0717368c52bf9d to your computer and use it in GitHub Desktop.
Save AmanRaj1608/f33b27cd25356cf83a0717368c52bf9d to your computer and use it in GitHub Desktop.
mpv ◈ Media Player binary -- Install macOS / linux / windows

Install the MPV player command line binary program

Project website: mpv.io

Windows

See builds on the official website

Linux

sudo apt-get install mpv

Raspberry Pi 3B+

Please see this document.

macOS

⚠️ Do not use homebrew -> compilation takes ages and installs many gigabytes of dependencies.

See builds on the official website

In particular this link: https://laboratory.stolendata.net/~djinn/mpv_osx/

(It works on Catalina as well although it's not mentioned!)

Unpack mpv-0.XX.0.tar.gz

And drag mpv.app to /Applications

Then open terminal and create a symlink to mpv binary inside /usr/local/bin:

ln -s /Applications/mpv.app/Contents/MacOS/mpv /usr/local/bin/mpv

This will make mpv command available from anywhere (because /usr/local/bin is usually in system's $PATH) and dmt-proc will easily be able to find it as well.

Verify that it works

$ mpv --version

You should see something like this:

mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on Fri Jan 31 11:28:05 CET 2020
ffmpeg library versions:
   libavutil       56.31.100
   libavcodec      58.54.100
   libavformat     58.29.100
   libswscale      5.5.100
   libavfilter     7.57.100
   libswresample   3.5.100
ffmpeg version: 4.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment