bloc97 / Anime4K

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

Can be install on a Plex server ? #224

Open OverStyleFR opened 6 months ago

OverStyleFR commented 6 months ago

Hi,

I wonder if we can install on a Plex server (docker) ? I have a Nvidia Card on my Plex server for transcoding with plex, so i wonder if i can use Anime4K direct on the plex server

Tama47 commented 6 months ago

There was this Custom Build Plex Transcoder that supports on-the-fly transcoding of mpv filters like Anime4K. You can take a look at the Docker Build Script. But development was paused, and a lot of things are still broken / missing in core functionality (starting a stream takes 10 seconds, seeking doesn't work, various codecs don't load, etc). See more here.

A better solution would be to install the Plex client app on a PC or Mac and add the Anime4K shaders there. We have a guide here. This way, you can stream from your server without transcoding and allow for direct play with Anime4K. Of course, the limitation is that you can't run this setup on most devices.

A less ideal solution that allows playback on all devices would be to upscale the video beforehand. You can use Anime4K-GUI for PC and Waifu2x app from the App Store for Mac. Both of these apps use Anime4K, so upscaling will be in real-time or faster, depending on your GPU.

OverStyleFR commented 6 months ago

Okay, So the solution is still client-side ? I can't make it work on a Plex server ?

Anime4K can be install on a Android device ? Like a Nvidia Shield ? If not the solution is to do the upscale with Anime4K GUI before and put the upscale file into Plex and just play it, that's it ?

Tama47 commented 6 months ago

So the solution is still client-side ? I can't make it work on a Plex server ?

Unless you can get the Custom Plex Transcoder working, the solution is still client-side unfortunately.

Anime4K can be install on a Android device ? Like a Nvidia Shield ?

Anime4K can be install on Android, so a device like Nvidia Shield or any other Android streaming box should theoretically work. However, it must be noted that these devices may not be powerful enough to run Anime4K smoothly. You may be better off installing Plex HTPC on an old PC or a cheap Mac mini and then connecting it to the TV via HDMI. The app will function exactly the same as any other Plex app.

If not the solution is to do the upscale with Anime4K GUI before and put the upscale file into Plex and just play it, that's it ?

Yes, as this option is guaranteed to work for sure.