mpv as a Linux alternative to KMPlayer
Updated
Our verdict
mpv is a solid replacement for KMPlayer for users who want a lightweight, fast‑starting player that supports almost every audio and video format. It excels at scriptability, keyboard control, and subtitle handling, making it ideal for power users and developers. However, it lacks a graphical interface and DVD playback out of the box, so users who rely on a point‑and‑click UI or built‑in DVD support may need to add extra tools or scripts.
- License
- GPL-2.0+ AND LGPL-2.0-or-later
- Price
- Free
- Latest version
- 0.41.0 (December 21, 2025)
- Rating
- —

What works the same
- Wide codec support (AVI, MKV, MP4, FLV, etc.)
- Subtitle handling and multiple audio tracks
- Fast startup and low resource usage
- Keyboard‑driven control
- Drag‑and‑drop playlist
What is different
- No native GUI; relies on command line or external wrappers
- DVD playback requires separate libraries or scripts
- No built‑in ad‑free mode (but no ads anyway)
- Requires manual configuration for advanced features
- No integrated media key support without external tools
Opening your KMPlayer files
Both players can open standard media files (MP4, MKV, AVI, FLV). KMPlayer can also read proprietary playlist files (.kml) and some DVD/VCD formats that mpv needs additional libraries to support. Exporting from KMPlayer to a format mpv can play is straightforward—just choose a common container like MP4 or MKV. Unknown: whether KMPlayer’s proprietary project files are readable by mpv.
Switching from KMPlayer to mpv, step by step
- Install mpv via your distro’s package manager or Flatpak.
- Create a simple mpv.conf in ~/.config/mpv/ to enable subtitles and audio defaults.
- Use a wrapper script or GUI front‑end (e.g., mpv.net, mpv-gtk) if you prefer a mouse interface.
- Add dvd+rw-tools or libdvdcss to your system for DVD playback.
- Configure keyboard shortcuts in mpv.conf or use a key‑binding tool.
- Test a few files to ensure codecs and subtitles work as expected.
Key features of mpv
- Wide format and codec support
- Keyboard‑driven control
- Drag‑and‑drop playlist
- External configuration files
- Multimedia key support
- Scriptable via Lua and JSON‑RPC
How to install mpv on Linux
flatpak install flathub io.mpv.Mpvsudo apt install mpvsudo apt install mpvsudo dnf install mpvsudo pacman -S mpvsudo zypper install mpvFrequently asked questions
Does mpv play DVDs?
Yes, if you install the necessary libraries (libdvdcss, dvd+rw-tools) and enable the dvd input driver. Otherwise, mpv will report an error.
Can I use subtitles from KMPlayer?
Subtitles are standard files (SRT, ASS, etc.) and will work in mpv without conversion.
Is there a graphical interface?
mpv itself is command‑line only, but you can use front‑ends like mpv-gtk, mpv.net, or a simple script to launch mpv with a windowed UI.