Installation
Install mpv on Linux, macOS, or Windows
Quickstart
Play your first file and learn the essentials in minutes
Configuration
Set up your config file and customize mpv to your workflow
Scripting
Automate and extend mpv with Lua or JavaScript scripts
What you can do with mpv
Basic Playback
Play local files, URLs, streams, and playlists from the terminal
Keyboard Controls
Master the default key bindings and create your own
Video Output
Configure GPU-accelerated video drivers and rendering options
Audio Output
Select and tune audio drivers for your platform
Hardware Decoding
Enable VDPAU, VAAPI, NVDEC, and other hardware decode paths
IPC Protocol
Control mpv externally via the JSON IPC socket interface
libmpv Embedding
Embed mpv as a playback backend in your own application
Options Reference
Browse the full command-line options reference
Get started quickly
Install mpv
Download mpv for your platform from the installation page. Packages are available for all major Linux distributions, macOS via Homebrew, and Windows.
Play a file
Open a terminal and run:mpv will auto-detect the best video and audio output for your system.