mplayer3 is a lightweight compatibility layer that preserves the old-school MPlayer command-line interface while using mpv as its playback engine.
It lets you keep your old habits without giving up modern performance, codec support, and hardware acceleration.
Released under GNU GPL.
- ✅ Classic
mplayerCLI syntax (-fs,-ss,-vo, etc.) - ✅ Automatic translation to
mpvarguments - ✅ Full support for native
mpvarguments (--vo=gpu, etc.) - ✅ Zero performance overhead
- ✅ Works with existing scripts and workflows
- ✅ Clean fallback: unknown arguments are passed through to
mpv
- Python 3
- mpv installed and available in
PATH
chmod +x mplayer3
sudo python3 install_mplayer3.pyThis will:
- Install
mplayer3to/usr/local/bin - Create
~/.config/mpv/mpv.conf(or safely append to an existing config) - Create
~/.config/mpv/input.conf(if not already present)
mplayer3 video.mkv
mplayer3 -fs video.mkv
mplayer3 -ss 60 -endpos 120 video.mkv
mplayer3 --vo=gpu video.mkvYou can freely mix:
- MPlayer-style arguments (
-fs,-ss) - MPV-style arguments (
--hwdec=auto)
mplayer3 translates common MPlayer arguments into mpv equivalents:
-fs → --fullscreen
-ss → --start
-endpos → --end
-volume → --volume
-sub → --sub-file
-playlist → --playlist
Unknown arguments are automatically passed through:
-someargument → --someargument
mplayer3 is:
- Not a fork
- Not a reimplementation
- Not a replacement for mpv
It is a compatibility layer:
mplayer in spirit, mpv in performance
mplayer3 uses standard mpv configuration:
~/.config/mpv/mpv.conf
~/.config/mpv/input.conf
The installer adds a small compatibility block (OSD, volume behavior, etc.), respecting existing user config strings by safely appending only missing settings and avoiding duplicates.
mplayer3 -fs -ss 90 movie.mkvStarts playback fullscreen at 1:30 — just like classic mplayer.
- Chris McGimpsey-Jones (2026–Present)
- The MPlayer project (2000–Present)
- The mplayer2 project (2010–2015)
- The mpv project (2012–Present)
Version 1.2 (Stable)
mplayer3 is released under the:
GNU General Public License v2 or later (GPL-2.0-or-later)
https://gnu.org/licenses/gpl.html
This ensures compatibility with both:
- MPlayer (GPL v2+)
- mpv (GPL v2+)
