Code Monkey home page Code Monkey logo

mpv-config's Introduction

mpv-config

My mpv config. Requires mpv v0.37+

Installation

Linux/Mac

  1. Clone this repo into the mpv config location
git clone https://github.com/owallb/mpv-config ~/.config/mpv
  1. Create symbolic link:
cd ~/.config/mpv
ln -s mpv_linux.conf mpv.conf
  1. (Optional) To use autosubsync, choose synctools in script-opts/autosubsync.conf, install them on your system then specify their paths.

  2. (Optional) To use autosub, it is recommended to configure login credentials in scripts/autosub.lua.

Windows

  1. Clone this repo into the mpv config location
git clone https://github.com/owallb/mpv-config C:\users\$env:username\AppData\Roaming\mpv
  1. Create symbolic link (might need admin privileges):
cd C:\users\$env:username\AppData\Roaming\mpv
New-Item -ItemType SymbolicLink -Path mpv.conf -Target .\mpv_windows.conf
  1. (Optional) To use autosubsync, choose synctools in script-opts/autosubsync.conf, install them on your system then specify their paths.

  2. (Optional) To use autosub, it is recommended to configure login credentials in scripts/autosub.lua.

Usage

Shader auto profiles

Anime4K

If the path of the currently playing file contains a directory named Anime (case insensitive) mpv will automatically load the anime shader profile which in turn will load the configured Anime4K profile.

The default (Anime4K: Mode A (HQ)) is my personal choice for my system (Ryzen 7 7800X3D, RX 6900 XT @ 165 Hz), if this is not ideal for you it can be changed in mpv.conf under [anime]. I recommend experimenting by enabling the statistics overlay (Shift+I) and enable one at a time with Ctrl+[0-9]. See the Anime4K docs for more information.

FSR

If the path of the currently playing file contains a directory named Movies, TV-Series, TV_Series or TVSeries (all case insensitive) then mpv will automatically load the live-action shader profile. By default this will in turn load the FidelityFX FSR shader.

Key bindings

Use Ctrl+[1-6] to manually select a Anime4K profile and Ctrl+9 for FSR. Ctrl+0 clears the shaders so no profile is active.

NOTE: Profile switching is not saved across sessions, so if you don't want to use the configured default you would have to change every time you open a video. I recommend you instead change the defaults in mpv.conf.

Subtitles

To auto-download subtitles for the currently playing video, press b. To auto-sync the currently selected subtitles with the audio, press n.

Third-Party

This project includes third party software from the projects listed below. All respective licenses are available under the third-party directory.

Fonts

Scripts

Shaders

Lua stubs

mpv-config's People

Contributors

owallb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.