shazzaam7 / mpv-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 is my setup of MPV alongside scripts that I use. Before installing, read this whole README to learn how to exactly install it.

Installation (on Windows)

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

  • Download the latest 64bit mpv Windows build by shinchiro from mpv.io/installation and extract it wherever you please. This is now your mpv folder
  • Run mpv-install.bat as administrator, which is located in installer folder
  • To download this configuration, press CODE, then Download ZIP. (Might add zip in release tab) Extract it and put it next to mpv.exe in a folder called portable_config
  • To make some scripts work, you need to modify them for your installation:
    • For MPV-Discord script to work, open discord.conf, which is located in portable_config/script-opts folder and specify binary_path which is a full path to mpv-discord.exe (It's needed to make the script work otherwise bad things can happen like MPV not willing to open etc.). For Example binary_path=C:\mpv\portable_config\discord.exe. Make sure you're not using any quotation marks before and after the path.

After following the steps above, your mpv folder should look like this (Windows only for now):

├── doc
│   ├── manual.pdf
│   └── mpbindings.png
│
├── installer
│   ├── configure-opengl-hq.bat
│   ├── mpv-icon.ico
│   ├── mpv-install.bat                       # Run this with administrator priviledges to install mpv
│   ├── mpv-uninstall.bat                     # Run this with administrator priviledges to uninstall mpv
│   └── updater.ps1
│
├── mpv
│   └── fonts.conf
│
├── portable_config                           # This is where this repository goes
│   ├── fonts
│   │   └── Material-Design-Iconic-Font.ttf   # Buttons and etc. for ModernX Script to Work
│   │
│   ├── scripts-opts
│   │   └── discord.conf                      # MPV-Discord configuration file
│   │
│   ├── scripts
│   │   ├── autoload.lua                      # Script to automatically load a video after the first one ends
│   │   ├── cycle-profile.lua                 # Cycle through profiles (For future because I plan to make multiple profiles)
│   │   ├── discord.lua                       # Script to show your activity on Discord 
│   │   ├── mordenx.lua                       # Script for modern UI
│   │   ├── seek-to.lua                       # Script that allows to seek to an absolute position in the current video by typing its timestamp.
│   │   └── webm.lua                          # Script to make clips from your favourite shows you're watching
│   │
|   ├── shaders
│   │   ├── ACNet
│   │   │   └── ACNet.glsl
│   │   ├── AMD
│   │   │   ├── CAS.glsl
│   │   │   ├── CAS-scaled.glsl
│   │   │   └── FSR.glsl
│   │   ├── Anime4k (All of the files glsl's from the repository)
│   │   ├── FSRCNNX
│   │   │   └── FSRCNNX_x2_8-0-4-1.glsl
│   │   ├── Krig
│   │   │   └── KrigBilateral.glsl
│   │   └── SSim
│   │       └── SSimDownscaler.glsl
│   │
│   ├── discord.exe                           # Used by MPV-Discord script
│   ├── input.conf                            # Keybinding configuration
│   ├── mpv.conf                              # MPV's main configuration file
│   └── profiles.conf                         # Holds all of the different profiles and presets
│
├── d3dcompiler_43.dll
├── mpv.com
├── mpv.exe                                   # The mpv executable file
└── updater.bat                               # Run this with administrator priviledges to update your mpv to the latest version

Scripts

  • AutoloadSource
    Automatically load playlist entries before and after the currently playing file, by scanning the directory.

  • Cycle ProfileSource
    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.

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

  • MPV-webmSource
    Quick and easy way of creating clips from TV Shows, Anime, Movies etc.

  • MPV-discordSource
    Easy way to show what you're watching to your friends on Discord.

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

Shaders

The shaders included in the shaders folder:

  • Anime4K v4.0.1 StableSource
    Used for upscaling anime. (CTRL + [1-6] To change Anime4K modes)

  • ACNetGLSSource
    Another upscaler. Alternative to Anime4K. I only used the default one because it looked the best in my testing.

  • AMDFSRSource
    AMD FidelityFX Super Resolution. Enabled by default. Edited Line 38 from 1.0 to 0.5.

  • AMDCASSource
    AMD FidelityFX Contrast Adaptive Sharpening. Enabled by default alongside FSR.

  • FSRCNNXSource
    Used for luma upscaling.

  • KrigBilateralSource
    Used for chroma upscaling and downscaling. Enabled by default alongside FSR and CAS.

  • SSimDownscalerSource
    Used for luma downscaling.

Useful Links

Official Links

About


Languages

Language:GLSL 93.6%Language:Lua 6.4%