Web Analytics

mpv-config

⭐ 278 stars English by noelsimbolon

mpv config

mpv logo

Overview

mpv is a free (as in freedom and free beer), open-source, and cross-platform media player. It supports a wide variety of media file formats, audio and video codecs, and subtitle types.

This repo contains my personal mpv configurations and scripts that I use and are significantly better than default mpv, VLC, and MPC. Before installing, please take your time to read this whole README as common issues can be easily solved by simply reading carefully.

Preview

preview.png

Installation

Windows

Here are the steps to install mpv and to use my configuration files on Windows:

Linux

Here are the steps to install mpv and to use my configuration files on Linux:

`` sudo pacman -S mpv xclip ` If you, for example, use Fedora Linux, which comes with dnf as its package manager, you can install mpv and xclip with the following command instead.

` sudo dnf install mpv xclip ` If you use other Linux distributions, please refer to the documentation of your Linux distribution's package manager on how to install packages.

Scripts

Scripts from external sources:

Various audio visualization. It only works if you open audio files. Automatically load playlist entries before and after the currently playing file, by scanning the directory.

Copies current timecode in HH:MM:SS.MS format to clipboard. Cross-platform (Mac, Windows, Linux).

Cycles through a series of commands on a keypress. Each iteration of the cycle can contain as many commands as one wants. Syntax details are at the top of the file.

Cycles through a list of profiles sent via a script message and prints the profile-desc to the OSD. More details at the top of the file.

A modern OSC UI replacement for MPV that retains the functionality of the default OSC.

Script to generate GIFs from video playback. Requires FFmpeg with libass enabled. The exporting GIFs with subtitled currently doesn't work properly.

  • playlistmanager.lua (source)\
Allows you to see and interact with your playlist in an intuitive way.

Seek to an absolute timestamp specified via keyboard input or pasted from clipboard.

  • sponsorblock-minimal.lua (source)\
Skip sponsor segments in YouTube videos.

High-performance on-the-fly thumbnailer for mpv. The script does not display thumbnails on its own, it is meant to be used alongside a UI script that calls thumbfast.

Configuration files for these scripts can be found in the script-opts folder. I also modified some of these scripts' default keybindings. To see my modifications, look for script keybindings in input.conf.

Shaders

The shaders included in the shaders` folder:

Used for luma upscaling.

Used for luma upscaling.

Use shaders based on your preference and system capabilities. For more info about shaders, read the resources in the useful links section.

Useful Links

Official Links

--- Tranlated By Open Ai Tx | Last indexed: 2026-06-08 ---