This is the most customizable media player I've ever used. It's a free and open-source media player that supports a wide range of media formats.
Here I keep my mpv scripts and configurations. Also contains my SVP configurations.
Paste the /portable_config folder into your ./portable_config/mpv/ folder, doing so you load the configurations and scripts.
Note
This repository is being uploaded piece by piece. The scripts below are the ones I wrote myself and are available now. Everything else (main config files, third-party scripts, shaders, fonts, SVP) is listed under Not committed yet and will be added over time.
These are the scripts I wrote, both share the Moonlight color palette.
An interactive on-screen keyboard for mpv. Toggle it (script-binding keybind-visualizer), then move the mouse over any key to see its bindings. Close with ESC or by toggling again.
Bindings are read live from mpv's input-bindings property, so it reflects whatever you have in input.conf plus the builtin defaults.
The drawn physical layouts live in an external JSON data file, since mpv cannot auto-detect the OS keyboard layout. Pick one (ansi, iso, abnt2 or jis) or add your own through its options.
keybind-visualizer.conf: selects thelayoutto draw and points to thelayouts_file.keybind-visualizer-layouts.json: holds the layout definitions. Edit it to tweak key positions or add layouts.
A fullscreen, clickable list of every subtitle line with timestamps. Click a line (or select with Up/Down + Enter) to seek to it. It behaves like the built-in sub-seek keybind, but lets you jump to any line.
mpv exposes no API for "all subtitle lines", so the currently selected sub track is extracted to a temporary .srt with ffmpeg and parsed. ASS/embedded subs are converted to plain timed text by ffmpeg.
Bind it in input.conf, e.g. F7 script-binding sub-seek-list.
Files not uploaded yet
Here we have the main configuration files for MPV.
This is the main configuration file for MPV, here I set the general configurations for the player. I've set it up in categories to make it easier to understand, here are type of configurations that you can find:
- Prefered languages/subtitles
- OSC configurations (if has border, initial size/position/volume)
- Default subtitle configurations (font, size, position, etc)
This is my masterpiece, I've mapped as comment almost all the possible keybinds that you can use with MPV, split by the keyboard row. I've also mapped some of the most used keybinds that I use with MPV.
After all the mappings, there's the shader keybinds and finally the UOSC context menu keybinds.
Of all input.conf files I've searched as inspiration, this is the most complete and organized that I've found.
File where you can set conditions for different profiles, like if you are watching a movie or a series, you can set different configurations for each one.
I only have a simple "Animation" profile, that changes the applied shader and default subtitle styling to my liking. It is applied to the files where the parent folder name contains "Animation".
Not really needed anymore since I started using the fonts folder, but I keep it here just in case.
It was used to enable MPV to use Windows fonts folder to load fonts, without this file, it wouldn't load isntalled fonts.
Here lies the scripts that I use with MPV, some of them were written by me, others I found on the internet and modified to my needs.
This script automatically loads playlist entries before and after the the currently played file.
Shows an indicator in the top right side when the video is paused.
Reloads the current file, useful when you change the configurations and want to apply them without restarting the player.
Opens the current (external) subtitle on the subtitle editor that I made.
Tries to extract the current subtitle from the video and save it in the same folder as the video.
Auto select the audio and subtitle tracks based on the tracks name/id, highly customizable.
Generates hover thumbnails for the seekbar.
Send the current file to a "watched" folder after finishing it.
As I'm not used to the Lua language, it has some bugs:
- Sends even when changing the file without finishing it
- Don't send the last file of the playlist
Feature-rich minimalist proximity-based UI for MPV player.
The imported folder from UOSC, where I keep the scripts that I use from it.
Some scripts require additional options to be set that are kept in this folder.
Here I keep the shaders that I use with MPV. Got them from various sources, like Anime4K. I don't upload them to my repository due to their size, but you can find them on the internet.
I've included a shaders_list.txt file that lists the names of the shaders that I have, may be useful.
Here I keep the fonts that I use with MPV, it is possible to load directly from Windows fonts, but can be slow sometimes.
