How to Install Mpv Video Player
Download the latest release from the official mpv GitHub repository, then run the installer on Windows, use your package manager on Linux, or compile from source—the method depends entirely on your operating system, but each path takes under 10 minutes. Version 0.41 is available for Windows, Linux, macOS, and FreeBSD, making this open source media player accessible regardless of your setup.
How to Install mpv Video Player by Operating System
Windows 10 Installation
On Windows, grab the official build from the mpv GitHub releases page. Download the latest stable 64-bit archive (mpv-x86_64-*.7z or .zip), extract it to a folder like `C:\Program Files\mpv`, and you're finished. No installer wizard. No registry edits. The portable version runs immediately without requiring system-wide installation.
To add it to your PATH for command-line access, right-click This PC → Properties → Advanced system settings → Environment Variables. Under System variables, click Path → Edit, then add the mpv folder path. After restarting your terminal, type `mpv filename.mp4` from any directory.
Windows Defender may flag the executable on first run—this is normal for unsigned binaries. Click Run anyway to proceed.
Linux Ubuntu and Other Distributions
Most Linux distributions include mpv in their standard repositories, making installation trivial. On Ubuntu or Debian-based systems, open a terminal and run:
```
sudo apt update && sudo apt install mpv
```
Fedora users should run `sudo dnf install mpv`. Arch Linux users can install via `sudo pacman -S mpv`. The package manager handles all dependencies automatically, and the lightweight video player is ready to use immediately.
For features or custom compilation, clone the repository and build from source. This requires development libraries (libssl-dev, libx11-dev, and others), but detailed build instructions are included in the official documentation.
macOS Monterey and Later
Homebrew is the fastest route on macOS. Install Homebrew if needed, then run:
```
brew install mpv
```
The command line video player installs with all standard codecs including H.264, VP9, and HEVC support. Launch it from Terminal with `mpv video.mkv` or associate file types through macOS settings to open files directly.
FreeBSD
FreeBSD users can install the pre-compiled package via `pkg install mpv` or build from ports using the multimedia/mpv port. The lightweight video player runs identically to Linux builds.
Why Choose mpv Over Competitors
Unlike VLC, which prioritizes GUI simplicity, this application is built for users who value keyboard control and scripting power. It handles MP4, MKV, AVI, WebM, and demanding formats like HEVC with GPU decoding enabled by default. Hardware acceleration runs on both NVIDIA and AMD cards without manual configuration.
For streaming support, learn how to stream videos with mpv player directly from network sources and YouTube URLs. The player also supports Blu-ray and complex playlist management through text configuration files rather than menus.
Essential Post-Installation Steps
Create a configuration file at `~/.config/mpv/mpv.conf` (Linux/macOS) or `%APPDATA%\mpv\mpv.conf` (Windows) to customize defaults. Enable subtitle support and font rendering by adding `sub-auto=fuzzy` to automatically load matching .srt files.
Next Steps After Installation
Keyboard shortcuts define the mpv experience. Press `?` during playback to view the help overlay, or configure custom keyboard shortcuts for frame-by-frame stepping and audio filter adjustments.
Once installed, explore other command line options if you're evaluating alternatives, though most users find the default configuration sufficient for daily use. The open source media player requires minimal tweaking to handle virtually every video format in existence.
Related Articles
- best lightweight open source video player
- free cross platform video player offline
- best mpv alternatives for video playback
- top free video player for linux command line
- mpv video codec support formats list
- how to stream videos with mpv player
- how to enable subtitle support in mpv
- mpv player not working audio issue