bloc97 / Anime4K

A High-Quality Real Time Upscaler for Anime Video
https://bloc97.github.io/Anime4K/
MIT License
18.51k stars 1.35k forks source link

Setting up on Android MPV player? #212

Closed arianaa30 closed 1 year ago

arianaa30 commented 1 year ago

I set up the Anime4K shaders on Windows MPV player and it works perfectly. Is there a step-by-step tutorial on how exactly to do it on the Android MPV player? I see some Andvanced section below. What should I enter there? (let's assume my .glsl shaders are located in /storage/self/primary/Documents) What I did so far:

  1. I copied the shaders from Windows to my phone in that location. And edited mpv.conf like below with Absolute paths (I specified the S versions):

glsl-shaders="/storage/self/primary/Documents/shaders/Anime4K_Clamp_Highlights.glsl;/storage/self/primary/Documents/shaders/Anime4K_Restore_CNN_S.glsl;/storage/self/primary/Documents/shaders/Anime4K_Upscale_CNN_x2_S.glsl;/storage/self/primary/Documents/shaders/Anime4K_AutoDownscalePre_x2.glsl;/storage/self/primary/Documents/shaders/Anime4K_AutoDownscalePre_x4.glsl;/storage/self/primary/Documents/shaders/Anime4K_Upscale_CNN_x2_S.glsl"

  1. what should I enter in input.conf?

Also, like the Windows version, will I get the same real-time processing of videos on the Android mpv as well?

image