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

Need help for activating this shader in SMPlayer Windows10 #137

Open
shockergit opened this issue Oct 10, 2021 · 8 comments
Open

Need help for activating this shader in SMPlayer Windows10 #137

shockergit opened this issue Oct 10, 2021 · 8 comments

Comments

@shockergit
Copy link

If i have a glsl shader in C:\Program Files\SMPlayer\mpv\shaders\Anime4K_AutoDownscalePre_x2.glsl

Is this the correct command to activate it in the options of SMPlayer
--glsl-shader=Anime4K_AutoDownscalePre_x2.glsl

Please tell me the correct command.

@hooke007
Copy link

hooke007 commented Oct 10, 2021

No. If you are not familiar with syntax, make it simple by using absolute paths.

If using relative path, read this part would be help https://mpv.io/manual/master/#paths

@hooke007
Copy link

hooke007 commented Oct 10, 2021

%AppData%\mpv\shaders should also work for smplayer. So u just need to follow the ins.

@shockergit
Copy link
Author

%AppData%\mpv\shaders should also work for smplayer. So u just need to follow the ins.

Im sorry i didn't get it.
can you sent the full syntax

@hooke007
Copy link

Sorry, it seems to use its own config folder. And I doesn't like use it. Maybe u have to try absolute paths.

@shockergit
Copy link
Author

Sorry, it seems to use its own config folder. And I doesn't like use it. Maybe u have to try absolute paths.

[file] Cannot open file '%AppData%\mpv\shaders\sharpencomplex2.glsl': Invalid argument

@shockergit
Copy link
Author

shockergit commented Oct 10, 2021

I moved the shaders to %AppData%\mpv\shaders and used this syntax
--glsl-shader=%AppData%\mpv\shaders\sharpencomplex2.glsl

what is the correct syntax

@hooke007
Copy link

hooke007 commented Oct 10, 2021

appdata is relative not absolute
%AppData% means C:\Users\<youruesrname>\AppData\Roaming

And how to check the stats (page2) in smplayer?

@shockergit
Copy link
Author

Thanks now it works
--glsl-shader=C:\Users\Goku\AppData\Roaming\mpv\shaders\adaptive-sharpen.glsl --term-playing-msg=MPV_VERSION=${=mpv-version:}

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

No branches or pull requests

2 participants