Skip to content

mpv

Scriptable command-line media player for people who prefer keyboard control

Copyleft (OSI) · GPL-2.0+ AND LGPL-2.0-or-later
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

69

Health

Active

Overview

Stars

38,276

Last commit

today

Nov 2026

Repository age

14 years

since Oct 2012

Latest version

v0.42.0

Nov 2026

Contributors

–

7 active in 90 days

Releases

2

last 12 months

Language

C

mpv is a media player driven from the command line. It plays a wide range of media file formats, audio and video codecs and subtitle types. It runs on Linux, Windows 10 1607 or later, and macOS 10.15 or later.

Video output uses shaders for rendering and scaling rather than fixed-function GPU hardware. Hardware decoding is not on by default and must be enabled with --hwdec. On weaker GPUs, --profile=fast is recommended for smoother playback. You can extend it with user scripts, and it exposes a client C API for embedding. It builds with meson and is written in C.

The license is GPL-2.0 or later, with the library parts under LGPL-2.0 or later. It is available through Flathub and Homebrew, and the project links to semi-official builds and third-party packages. It is an alternative to VLC for users who want a minimal interface and keyboard-driven control.

Who it's for

Keyboard-driven users who like to configure their tools

Playback is controlled by key bindings, options and user scripts.

Skip if: You want a full graphical interface with menus.

Users who care about video scaling quality

Shader-based rendering handles video output and scaling.

Skip if: You have a low-power GPU and want power-efficient playback.

Developers embedding a player in other software

A client C API is documented.

Skip if: You only need to watch files and have no integration work.

The problem it solves

Many media players bundle a large interface and a library you may never use. mpv gives you a small player that you control with options, key bindings and scripts.

Strengths

  • Plays a wide range of formats, codecs and subtitle types
  • Shader-based video rendering and scaling
  • Extensible with user scripts and a client C API
  • Runs on Linux, Windows and macOS
  • Packages on Flathub and Homebrew

Trade-offs

  • No official mobile apps
  • Minimal GUI, with a command-line focus
  • No built-in media library
  • Hardware decoding is off by default and needs the --hwdec option

Frequently asked questions

Is mpv free?

Yes. It is licensed GPL-2.0 or later, with LGPL-2.0 or later for the library parts.

Which platforms does it run on?

Linux, Windows 10 1607 or later, and macOS 10.15 or later.

Does it have a mobile app?

There are no official mobile apps.

How do I get smooth playback on a weak GPU?

Use --profile=fast. You can also enable hardware decoding with --hwdec.

Similar tools in Media players

Celluloid

Media players

Ruby framework for asynchronous, multithreaded programs built on actors

3.9k 272 4 years ago Dormant MIT

MediaInfo

Media players

Command-line and GUI tool that shows technical and tag data for video and audio files

2.1k 202 yesterday Active BSD-2-Clause

Kazumi

Media players

Cross-platform anime streaming app driven by user-written XPath rules, with danmaku

44k 1.5k today Thriving GPL-3.0

Simple Live

Media players

Flutter app for watching live streams from Huya, Douyu, Bilibili and Douyin

16k 3.2k 10 months ago Dormant GPL-3.0

cloudstream

Media players

Extension-based Android media player for phones and TV with Chromecast

11k 1.2k 2 days ago Active GPL-3.0

Jellyfin Desktop

Media players

Desktop client for Jellyfin servers with mpv playback and audio passthrough

6.1k 599 3 days ago Active GPL-2.0