Comments (8)
Thanks, in hindsight it was kinda dumb of me not to try Plex Desktop and MPV before creating an issue. The shaders did the same thing on Plex but MPV worked as expected, which caused me to remember that at some point I'd replaced the Plex mpv library via this guide:
https://forums.plex.tv/t/htpc-tips-and-tricks/794228/3
Dropped in the latest mpv-2.dll and it's all working great. Looking at my browser history I did this AFTER originally installing Anime4k though, so could be that's what broke it in the first place? At any rate that's fixed it this time so I'm happy. Thanks for your help :)
from anime4k.
Can you verify by checking the profiler if Anime4K is running?
Add this line to your input.conf
inside %LOCALAPPDATA%\Plex HTPC
(if you haven't already).
i script-binding stats/display-stats-toggle
Quit and reopen Plex HTPC. Then press i
and 3
while playing video. It should show all the shaders being rendered.
Also, keep in mind that Anime4K_Upscale_CNN
shaders only upscale the resolution, i.e., from 1080p to 2160p
. The shaders responsible for sharpening lines are the Anime4K_Restore_CNN
shaders.
from anime4k.
Hey! Thanks for the response. I've turned that on and grabbed a couple of screenshots. Here's a screenshot with the default A filters enabled:
And one with them disabled:
Magenta's a very slightly different shade of magenta in each but aside from that it looks identical to my eyes.
For comparison's sake, here's a shot with only Anime4K_Clamp_Highlights.glsl enabled:
And a shot with only Anime4K_Restore_CNN_VL.glsl x3 (i'd expect this to oversharpen massively? or at least have some effect)
The only difference I can see is a slight change in contrast in parts of the image when the clamp filter is on. Also, just to clarify, this is all 1080p video played on a 2160p screen. Like I said it definitely worked the first time I set it up, so I know how it's meant to look!
from anime4k.
Lovely screenshots of Magenta!
Anyway, it seems like the shaders are active and running normally. I do see that there's not much difference between having the shaders on or off, aside from the slight contrast. I'm running the latest version of Plex and Plex HTPC on both Mac and Windows systems, and Anime4K still works fine. So, I highly doubt this is an issue with the Plex app itself.
Just to isolate the issue, could you try running the shaders in mpv or the normal Plex app and see if Anime4K is working correctly there? Also, try downloading the shaders again directly from Releases, as there could be something wrong with the files. You could also try using these combined preset shaders and see if they work.
from anime4k.
That’s interesting! I didn’t even realize you could replace the mpv library in Plex. Maybe I’ll give it a try, since I do want to use their new library and I’ll see if it breaks Anime4K too. Anyway, glad it worked out for you!
from anime4k.
So I just replaced the old libmpv in Plex HTPC with the new one, and Anime4K seems to be working for me.
New libmpv on Windows:
Anime4k Off
Anime4K On
from anime4k.
Little FYI - Plex HTPC updated today and I noticed Anime4K broken the same way as it was when I opened this issue - replaced mpv-2.dll the same way which immediately fixed it.
from anime4k.
Yep, the same thing happened to me. Although, I replaced it with the new libmpv and it works just fine. What concerns me, though, is that I will need to keep replacing the mpv-2.dll file every time there is an update. Which would be pretty annoying as Plex updates pretty often, and I didn't have this issue prior to changing the mpv-2.dll file. But the trade-off might be worth it for the new libmpv alone, considering that Plex still uses the old mpv library.
from anime4k.
Related Issues (20)
- GAN models vs Shaders? HOT 1
- How to train the model on custom dataset? HOT 1
- S and M size for 4x upscalers? HOT 1
- Best chain of shaders for highest quality and upscaling HOT 9
- Requesting Deleted Shader (GAN X2 UL) HOT 2
- How to use Anime4K GLSL for Bitmap HOT 1
- Black and white shaders HOT 5
- How to train/load S/M/L CNN models in tensorflow? HOT 33
- Load the shaders in Android media3 (Exoplayer) HOT 2
- Can be install on a Plex server ? HOT 3
- Anime4k CNN input type HOT 1
- How do I use this outside of realtime video playback? HOT 7
- Anime4k training HOT 1
- Complete tutorial how to train Anime4K on my own dataset? HOT 1
- [Q] How do I apply Anime4k GLSL filters on images? HOT 4
- How do I convert glsl to hlsl? HOT 3
- Anime4K for streaming?
- Unable to get Plex nor IINA to function w/ Anime4k (MPV is configured and works fine) HOT 1
- [Feature request] A new profile, sharp like mode A, but without the image smoothing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anime4k.