Mpv

From /tech/ Wiki
Jump to navigationJump to search
mpv
Mpv icon.png
Mpv.gif
mpv running on a typical linfag's computer
Maintainer: Community
Initial Release: August 7, 2013
Stable Release: v0.29.1, Oct 2, 2018
Preview Release: Git
OS: Cross-platform
Use: Media player
License: GPL
Website: https://mpv.io

mpv is the greatest video player ever made. As any GNU/Linux user will tell you, mpv is the #1 player for watching movies. It doesn't have a GUI, which means you have to use the command line and its parameters in order to fully utilize its features.

mpv was forked from mplayer2 because movie-watching Linux users felt it wasn't minimal enough. mplayer2 was forked from mplayer because movie-watching Linux users felt it didn't have enough features. mplayer itself, which is the father of all mplayer forks, is a bloated wheel-reinvention of ffplay.

mpv uses the libraries of the video encoder ffmpeg to decode video and has features such as Vulkan/GPU rendering and video encoding. It also has a mouse-hover interface and programmable keyboard shortcuts. Excited yet? There's even more. It even supports a buttload of filters, scaling algorithms and frame rate interpolation.

Configuration

High performance config:

~/.mpv/config
profile=gpu-hq
video-sync=display-resample
sigmoid-slope=10.0
deband-grain=24
deband-range=12
deband-threshold=48
tone-mapping=hable
screenshot-format=png
screenshot-png-compression=9
screenshot-tag-colorspace=yes
screenshot-template="%F_%P"

hwdec=no
deband-iterations=4
scale=ewa_lanczossharp
cscale=ewa_lanczossoft
dscale=ewa_lanczos

If your computer can't run this, remove everything after the blank line.