mpv

modern media player based on MPlayer and mplayer2

TLDR

Play video file
$ mpv [video.mp4]
Play audio file
$ mpv [audio.mp3]
Play fullscreen
$ mpv --fullscreen [video.mp4]
Play from URL
$ mpv "[https://example.com/video.mp4]"
Loop playback
$ mpv --loop [video.mp4]
Set start time
$ mpv --start=[00:01:30] [video.mp4]
Play without video
$ mpv --no-video [file.mp4]
Specify audio device
$ mpv --audio-device=[pulse] [file]

SYNOPSIS

mpv [options] file|url

DESCRIPTION

mpv is a modern media player based on MPlayer and mplayer2. It plays video and audio.The tool supports many formats. Scriptable with Lua and JavaScript. Highly configurable.

PARAMETERS

FILE

Media file or URL to play.
--fullscreen
Start in fullscreen.
--loop
Loop playback infinitely.
--start TIME
Start at specified time.
--no-video
Audio only mode.
--volume LEVEL
Set volume percentage.
--help
Display help information.

INSTALL

sudo apt install mpv
sudo dnf install mpv
sudo pacman -S mpv
sudo apk add mpv
sudo zypper install mpv
brew install mpv
nix profile install nixpkgs#mpv

CAVEATS

Keyboard controlled. Config in ~/.config/mpv/. GPU acceleration varies by platform.

HISTORY

mpv forked from MPlayer2 in 2012 to provide a cleaner, more modern media player with active development.

SEE ALSO

mplayer(1), vlc(1), ffplay(1)