mplayer3 is forked from the MPlayer and mpv projects.
The project preserves the classic MPlayer command-line interface while running on a modern, properly engineered and maintained playback engine, keeping full hardware acceleration, codec support and MPlayer compatibility.
Released under GNU GPL.
mplayer3 has introduced a dual-layer caching system that dramatically improves playback experience for local source files, especially large files over slow or network-mounted storage.
How it works:
When you play a local source file, mplayer3 does two things simultaneously:
-
Disk cache - The source file is silently copied to
~/.cache/mplayer3-disk-cache/in the background while playback begins immediately from the source. Once caching is complete, playback seamlessly and invisibly switches to the cached copy. On repeat plays the cached copy is used instantly - no wait, no re-caching. -
RAM cache - mplayer3 includes the in-memory (RAM) cache and is enabled on top of the disk cache, giving the decoder a fast buffer to work from and eliminating micro-stutters during playback.
Together, these two layers mean: instant start, smooth seeking, stutter-free playback, and fast repeat access regardless of where the source file resides.
Network streams and URLs bypass the disk cache and play directly through the engine. The RAM cache remains active for streams.
Cache management:
# Check cache location, number of entries and total size on disk
mplayer3 -cache-status
# Delete all files from the disk cache
mplayer3 -clear-cacheDisabling the cache:
# Play directly, bypassing the disk cache
mplayer3 -no-disk-cache movie.mkv
# Disable the in-memory (RAM) cache
mplayer3 -no-ram-cache movie.mkv
# Disable both caches, raw direct playback
mplayer3 -no-disk-cache -no-ram-cache movie.mkvDouble-dash forms are also accepted:
mplayer3 --cache-status
mplayer3 --clear-cache
mplayer3 --no-disk-cache movie.mkv
mplayer3 --no-ram-cache movie.mkv- ✅ Automatic arguments translation
- ✅ Classic
mplayerCLI syntax (-fs,-ss,-vo, etc.) - ✅ Full support for native
mpv3arguments (--vo=gpu, etc.) - ✅ Persistent disk cache for instant start and smooth repeat playback
- ✅ Automatic dual-layer caching (Disk + RAM)
- ✅ Zero performance overhead
- ✅ X Server purity (Wayland disabled by default)
- ✅ Works with existing scripts and workflows
Python 3mesonandninja- A C compiler (e.g.
gccorclang) and classic build dependencies (ffmpeg dev headers, libplacebo, libass, etc.). The installer does not validate these — make sure they are in place before running it.
git clone https://www.github.com/fpucore/mplayer3
cd mplayer3
sudo ./install_mplayer3.pyThis will:
- Build the bundled
mplayer3engine from source (bin/) using meson, as your invoking (non-root) user, and install it to/usr/local/bin/mplayer3 - Install
mplayer3to/usr/local/bin - Create
~/.config/mplayer3/mplayer3.conf(or safely append to an existing config) - Create
~/.config/mplayer3/input.conf(if not already present)
mplayer3 video.mkv
mplayer3 -fs video.mkv
mplayer3 -ss 60 -endpos 120 video.mkv
mplayer3 --vo=gpu video.mkvWith mplayer3 you can freely mix:
- MPlayer-style arguments (
-fs,-ss) - MPV-style arguments (
--hwdec=auto)
mplayer3 will perform an automatic translation of all arguments.
mplayer3 translates common arguments into workable equivalents:
-fs → --fullscreen
-ss → --start
-endpos → --end
-volume → --volume
-sub → --sub-file
-playlist → --playlist
Unknown arguments are automatically passed through:
-someargument → --someargument
mplayer3 is a fork — of both MPlayer (in spirit and CLI) and mpv (in code and engine).
It exists to give the classic MPlayer command-line interface a long-term home on top of a modern, maintained engine:
- The
mplayer3CLI preserves the old-fs,-ss,-vostyle arguments, translating them into workable equivalents — with full pass-through function. - The engine is shipped in-tree so the whole stack builds and installs from a single source of truth.
mplayer3 uses a standard configuration:
~/.config/mplayer3/mplayer3.conf
~/.config/mplayer3/input.conf
The installer adds a small, tidy config block set, 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 mpv project (2012–Present)
- The mplayer2 project (2010–2015)
- The MPlayer project (2000–Present)
Version 3.1.0 (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+)
