the-database / mpv-upscale-2x_animejanai

Real-time anime upscaling to 4k in mpv with Real-ESRGAN compact models
Other
287 stars 6 forks source link

Running on Android MPV? #28

Closed arianaa30 closed 7 months ago

arianaa30 commented 7 months ago

Is there a way to run these on a phone? Like, loading in android mpv player, etc?

the-database commented 7 months ago

Phones aren't be powerful enough to run this anytime soon. These currently require a mid- or high-end NVIDIA desktop/laptop GPU as seen in the benchmarks: https://github.com/the-database/mpv-upscale-2x_animejanai/wiki/Benchmarks

arianaa30 commented 7 months ago

Isn't it like anime4k shaders that could be run in android mpv? Or these are GAN models?

the-database commented 7 months ago

Yes, these are SRVGGNetCompact models (Compact for short - see https://upscale.wiki/wiki/Different_Neural_Networks for more info) which are GAN models. They require much more power to run compared to Anime4k but they are also capable of more powerful upscaling as well. It's surprising that modern hardware is fast enough to run these in realtime at all. It wasn't possible at all with consumer cards a few years ago.

For those who don't meet the minimum GPU requirements, https://github.com/the-database/AnimeJaNaiConverterGui is also available to render upscaled videos instead of doing the upscaling in realtime. But this also needs a desktop/laptop with dedicated GPU.