LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

mpv

modern media player based on MPlayer and mplayer2

TLDR

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

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.

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)

Copied to clipboard
Kai