talira

A free, minimal, scriptable command-line media player with high-quality GPU video output.

open sourceGPL-2.0-or-laterself-hostablefree

mpv is a media player for the command line that plays a wide range of file formats, audio and video codecs and subtitle types. It has no real GUI, only a small on-screen controller over the video, and puts its effort into playback: an OpenGL, Vulkan and D3D11 video output with high-quality scaling, colour management, frame timing, interpolation and HDR, and hardware decoding through most platforms' APIs, switchable at runtime. Scripts can make it do almost anything, and the wiki lists many user scripts. Its C API (libmpv) embeds the player in other applications. It runs on Linux, macOS and Windows, though the project's own Windows and macOS binaries are CI builds and most packages come from third parties.

Problems it solves

  • a lightweight video player without a cluttered interface
  • play HDR video with proper tone mapping and colour management
  • high-quality video scaling and motion interpolation for watching films
  • a media player I can script and control from the terminal
  • embed a video player in my own application
  • use hardware decoding to play 4K video smoothly on a laptop

Features

  • wide range of formats, codecs and subtitle types
  • OpenGL, Vulkan and D3D11 video output
  • high-quality scaling, colour management, frame timing, interpolation and HDR
  • hardware decoding, switchable at runtime
  • on-screen controller
  • scripting with a large library of user scripts
  • libmpv C API for embedding

Limitations

  • The project's own Windows and macOS binaries are CI builds meant mainly for testing; most binary packages are third-party builds.1

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Takes pluginsplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what mpv does.

  1. VLC media player Plays files, discs, webcams, devices and streams
  2. IINA The modern media player for macOS, built on mpv

Compare mpv with the top 3