Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Use Anime4K shaders in this? #666

Closed
Praveensenpai opened this issue Mar 9, 2024 · 3 comments
Closed

How To Use Anime4K shaders in this? #666

Praveensenpai opened this issue Mar 9, 2024 · 3 comments
Assignees
Labels

Comments

@Praveensenpai
Copy link

How To Use Anime4K shaders in this? I know how to do it in normal mpv; is it the same as that or its different?

@KaranKad
Copy link
Contributor

Same process

@regs01
Copy link

regs01 commented Apr 28, 2024

How To Use Anime4K shaders in this? I know how to do it in normal mpv; is it the same as that or its different?

Anime4K provides instructions
https://github.com/bloc97/Anime4K/blob/815b122284304e6e1e244a8cf6a160eeaa07040c/GLSL_Instructions.md

  1. Close player.
  2. Download Latest Anime4K shaders from https://github.com/bloc97/Anime4K/releases
  3. Unpack somewhere. Default location in Windows is %AppData%\mpv.net\shaders. But essentially it doesn't matter where, as it won't look up that folder automatically.
  4. Open Input config. It's in %AppData%\mpv.net\input.conf
  5. Presumably that glsl files are all inside shaders folder, add two lines, where USER_FOLDER is the name of your user folder. This would be A+A mode, which is best quality for 4K screens.
F4      no-osd change-list glsl-shaders set "C:/Users/USER_FOLDER/AppData/Roaming/mpv.net/shaders/Anime4K_Clamp_Highlights.glsl;C:/Users/USER_FOLDER/AppData/Roaming/mpv.net/shaders/Anime4K_Restore_CNN_VL.glsl;C:/Users/USER_FOLDER/AppData/Roaming/mpv.net/shaders/Anime4K_Upscale_CNN_x2_VL.glsl;C:/USER_FOLDER/cothi/AppData/Roaming/mpv.net/shaders/Anime4K_Restore_CNN_M.glsl;C:/Users/USER_FOLDER/AppData/Roaming/mpv.net/shaders/Anime4K_AutoDownscalePre_x2.glsl;C:/Users/USER_FOLDER/AppData/Roaming/mpv.net/shaders/Anime4K_AutoDownscalePre_x4.glsl;C:/Users/USER_FOLDER/AppData/Roaming/mpv.net/shaders/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode A+A"  #menu: Video > Anime4K
F5      no-osd change-list glsl-shaders clr ""; show-text "GLSL shaders cleared"
  1. Now F4 or Menu | Video | Anime4K will enable shaders and F5 will disable them.

@Praveensenpai
Copy link
Author

yokatta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants