[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/mpv/ - vo_opengl <-> libplacebo

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 79
Thread images: 17

File: haasn_mpv_logo.png (236KB, 512x512px) Image search: [Google]
haasn_mpv_logo.png
236KB, 512x512px
It seems haasn is working hard to externalize everything from vo_opengl to a totally new and portable library. It's truly AWESOME, I can't wait to play my shitty retro games on my 8K projector with the haasnsoft scaler.
>>
File: 1482269324836.png (731KB, 1518x2018px) Image search: [Google]
1482269324836.png
731KB, 1518x2018px
>>59249384
>Saber
This is my kind of thread
>>
Source?
>>
>>59249428
Fucking this.

I look at Haasn's mpv repo and there hasn't been any active branches for two months or longer. He doesn't have any pull requests in mainline for this and I cannot see him mention this.

He did try to port vulkan to it, but half-assed it and gave it up and said that someone else should finish it.
>>
>>59249384

how do i turn mpv into my main player on macOS?!

doesnt seem to work ..
>>
>>59249428
>[13:38:21] haasn - well because they sort of capture the design I'm envisioning - basically a FIFO queue into which you dump your frames + timestamps
>[13:39:16] haasn - at the extreme end I would envision libultra even creating its own worker thread and running a render loop on that if you want it to (for example for vulkan)
>[13:39:33] haasn - well render loop in the sense that it queues up those frames asynchronously to the GPU
>[13:39:57] wm4 - I think I'm lost
>>
>>59249509
You right click on the filetype, go to properties and make it the default player for the filetype? I don't think macOS has any automatic open with stuff to associate all filetypes with a certain player.
>>
>>59249509
Doesn't macOS have something like Windows and Linux? Right click the file, change the default program to mpv.
>>
>>59249536
>>59249538

yeah u dumbfucks .. the thing is it doesnt show up as an application on macOS for whatever reason

i can run it from terminal just fine but thats just annoying AF
>>
>>59249548
>The thing is it doesnt show up as an application
It does if you download the bundle or compile it with the bundle in homebrew.

See the OS X section: https://mpv.io/installation/
>>
>>59249525
Haasn is become more and more godly and wm4 can't keep up.

In all seriousness, this is just some form of idea he has. He probably haasn't (hoho) started working on it and probably won't either.
>>
File: aiEie.png (89KB, 475x252px) Image search: [Google]
aiEie.png
89KB, 475x252px
>>59249548
how about you learn to use your system mactoddler?
>>
File: 1461190782935.jpg (485KB, 1131x1600px) Image search: [Google]
1461190782935.jpg
485KB, 1131x1600px
>>59249384
>>
>>59249428
It's from IRC:
>[23:56:53] haasn - wm4: when we're designing the API for libplacebo (name confirmed) can we also work in design considerations that would be required to directly map the buffer objects into memory so the client can decode into them
>>
libmadvr when?
delphi is now even more cross-platform so why not?
>>
>>59249573

yeah installed it with "brew install mpv"

>>59249589

??? it doesnt show up .. thats the problem here
>>
Will he write libplacebo in haskell?
I think modern c/c++ should be better.
We will finally get a proper image viewer with high rendering feature.
>>
A doom9 fag will surely write a directshow wrapper to compete with madvr.
>>
File: 1254170645312.png (13KB, 150x181px) Image search: [Google]
1254170645312.png
13KB, 150x181px
>>59249525
>] wm4 - I think I'm lost
Lol
>>
>>59249832
Haasn, when fully re-motivated, is pretty hard to follow. :)
>>
File: clown4XAqua.jpg (95KB, 768x1024px) Image search: [Google]
clown4XAqua.jpg
95KB, 768x1024px
I wanted to test the NNEDI3 shaders but I'm a bit lost: https://github.com/bjin/mpv-prescalers/tree/master
> Pay attention that for 4:2:0 sub-sampled YUV video, you need an additional chroma-only prescaling pass to match the post-prescaling size of luma and chroma planes (they are still not aligned though):
Doesn't this affect basically _every_ video...? So do I need to do this anyway and the above listed steps (that apparently affect only luma?) are useless?
What if I don't use nnedi3 on chroma? Will mpv still align them correctly although their size differs by 4 instead of 2 now?
And what if I specify additional chroma pre-scaling and play a non-subsampled source?

Any mpv nnedi3 users here?


(pic not directly related, that's not nnedi3)
>>
>>59250306
The nnedi3 algorithm is shit and the mpv shader is incredibly slow.
>>
>>59250457
This. nnedi3 isn't even symmetric (if you upscale a dot the result isn't symmetric), and it removes aliasing that's actually present in the image.
>>
>>59250457
>>59250471
Not what I asked. I can hardly assess the quality/result myself unless I can run it properly (without making possible alignment mistakes).
>>
The Vulkan dream still alive?
>>
>>59250595
The vulkan renderer is almost done but is it a dream, it's hard to say today.
>>
>>59250306
Just use the new madvr and the new ngu anti-alias upscaler.
>>
>>59250866
I came here because of this. I just updated madVR after a year or so and my weebshit looks fucking glorious under NGU. I've tried switching to mpv multiple times in the past but I never could configure it to match madVR's quality. For you mpvtards, what is a config that compares to the newest madVR using NGU for upscaling?
>>
>>59250306
>What if I don't use nnedi3 on chroma?
mpv will handle the chroma upscaling itself.

>And what if I specify additional chroma pre-scaling and play a non-subsampled source?
mpv will be downscale it to match luma I suppose
>>
>af=lavfi=[loudnorm=I=-25:TP=-1.5:LRA=1]
>af=lavfi=[dynaudnorm=f=200:g=5:r=0.1]
Both are shitty normalizers. :(

How to mimic the potplayer tomsteady 32-bit floating point arithmetic normalizer with mpv?
>>
File: Capture.png (3MB, 1280x720px) Image search: [Google]
Capture.png
3MB, 1280x720px
I fell for this mpv meme last friday. It's really comfy and easy to set things up.
>>
Colors are nowhere near as good as under madvr for me and I think it has something to do with the icc contrast. It keeps telling me the number is greater than 100000 so mpv reduced it to 1000 "for sanity". I don't know if that's why but colors look very washed out compared to how they look under madvr. What's the cause of this?
>>
>>59251985
Don't use dxva2.
>>
>>59251985
You mean this?
https://github.com/mpv-player/mpv/issues/4001
>>
>>59252088
I'm not
>>
>>59252093
That just makes the error message go away, the colors still look slightly washed out. This is mpv.
>>
>>59252097
If you're using nvidia, this worked for me. https://archive.rebeccablacktech.com/g/thread/S59102701#p59149251
>>
>>59252292
And this is madVR
>>
>>59252300
That may have made a difference, I can't tell because it's so subtle, but the colors in mpv are definitely less saturated still. It's triggering my autism something fierce.
>>
File: 1488253588097.png (81KB, 1088x877px) Image search: [Google]
1488253588097.png
81KB, 1088x877px
>>59252292
>>59252305
Looks identical on my monitor?

>>59252499
You can also try this setting
>>
>>59252538
I think it might also be a tint issue, if you look closely at the blues they look a bit more purple in the mpv screenshot, and seem less saturated in motion.

My settings already look like that.
>>
>>59252577
Is it the same with an empty config file?
>>
>>59251985
you have a busted icc profile. also use printscreen for comparisons.
>>
>>59251985
Where is your ICC profile from?
>>
What's the best config for mpv?
>>
>>59252305
>>59252292
Uninstalling mpv now
>>
File: eupho2mpv.png (3MB, 1920x1080px) Image search: [Google]
eupho2mpv.png
3MB, 1920x1080px
>>59252844
TFTcentral

>>59252721
Thanks, seems to be showing up now. Look at the red in the logo and the shadows. This is mpv.
>>
>>59252915
None, it's up to your own feeling and machine.
>>
>>59252949
I have a P3 display how do I force anime to use all the colors?
>>
File: eupho2madvr.png (2MB, 1920x1080px) Image search: [Google]
eupho2madvr.png
2MB, 1920x1080px
>>59252946
This is madvr
>>
>>59252946
>>59252965
Yes now its visible. It seems like borked icc profile like suggested? How does it look like with icc off?
>>
Is it normal that I have a massive performance boost with SSimSuperRes.glsl? Now my hd3000 handles it easily!
>>
File: eupho2mpvnoicc.png (3MB, 1920x1080px) Image search: [Google]
eupho2mpvnoicc.png
3MB, 1920x1080px
>>59253009
Seems to be better, not sure if it's completely identical but it's at least not as washed out now!
>>
>>59252305
>>59252292
Literally no difference senpai
>>
Merged some settings from a thread last night. Anything else I need to change?

# Video
profile=high
video-sync=display-resample
hwdec=auto-copy
framedrop=vo
ytdl-format=bestvideo+bestaudio/best
cdrom-device=W:\
dvd-device=W:\

# Window
autofit=1280x720
geometry=0:0
force-window-position
no-border

# Subtitles
sub-auto=fuzzy
demuxer-mkv-subtitle-preroll
ass-force-style=Kerning=yes
slang=en,eng,English
alang=Japanese,jpn,jp,English,eng,en
sub-scale-with-window=yes
ass-use-margins=yes

# Audio
volume=100
audio-channels=2
gapless-audio="yes"

# Screenshot
screenshot-format=jpeg
screenshot-jpeg-quality=90
screenshot-template=C:\Users\Bo\Dropbox\Screenshots\%F-%p

# Misc
title='${media-title}'
stop-screensaver="yes"
save-position-on-quit
keep-open

# Video profiles
[fast]
vo=opengl
scale=bilinear
dither-depth=no
dscale=bilinear
cscale=bilinear
tscale=linear
interpolation=no

[high]
vo=opengl
scale=spline36
dither-depth=auto
dscale=mitchell
cscale=spline36
interpolation
tscale=triangle
tscale-clamp
opengl-swapinterval=1
temporal-dither
scaler-resizes-only
deband=no
>>
>>59252946
>TFTcentral
lol. Well, that's the problem. ICC profiles don't work like that simply because there are variations between every panel even when they are from the very same batch. There's a reason there is dedicated calibration hardware and even worse: you have to re-calibrate displays periodically.
If it were that simple a manufacturer could just calibrate one of his displays (or one per batch) and include it with the display or offer it for download -> calibration industry goes bankrupt.
So, the simple and yet correct answer: your profile is bad, at least bad for your screen. There might've been one display out there for which this certain profile was once good but it certainly isn't for you.
>>
>>59254694
How do you calibrate a display then, without fancy equipment?
>>
>>59253033
+1
>>
>>59255406
human eyes > fancy equipment
>>
>>59253033
Yes it was optimized
>>
>>59256196
How is it possible?
The madVR one is 5 times slower when I compare the rendering times.
Is it possible/useful to increase the number of passes?
>>
>>59256278
Yes, it is possible, just copy-paste the code starting from line 188 at the end of file.
>>
>madVR v0.91.6
>added NGU Anti-Alias algorithm
>intended as a potential NNEDI3 replacement
Anime freetards on suicide watch.
>>
Has anyone gotten any mpv client, such as SMPlayer and similar, to work on Wayland?
>>
File: 1461860058991.webm (2MB, 1000x562px) Image search: [Google]
1461860058991.webm
2MB, 1000x562px
Is it done yet?
>>
>>59255406
You don't, actually. There are ways to try doing this with a sequence/procedure of certain patterns and stuff where you have to adjust the result with your eyes, however, the result is usually rather inaccurate and these ICC profiles also are usually not "complete".
>>
>>59257292
OSX has such a thing built in but you can do like 5 runs in a row and get 5 different results. It's just not reliable and far from correct.
>>
File: 1480885785871.png (80KB, 400x400px) Image search: [Google]
1480885785871.png
80KB, 400x400px
who is this qt?
>>
vo=opengl
hwdec=d3d11va-copy
opengl-backend=angle

scale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
scale-blur=0

Is there any way to make the picture more sharp?
>>
>>59257603
profile=opengl-hq

adaptive sharpen script
>>
Post yfw new ngu-anti alias. I came buckets.
>>
>>59257635
profile=opengl-hq
hwdec=d3d11va-copy
opengl-backend=angle
opengl-fbo-format=rgba16f
opengl-shaders="~~/shaders/adaptive-sharpen-2pass.glsl"
loop

Thanks. Should be working, stdout gives no errors. One last question. Is there any benefit to enabling cache if you have a fast SSD?
>>
File: 1488758733557.gif (1MB, 320x240px) Image search: [Google]
1488758733557.gif
1MB, 320x240px
>>59257831
>why mpv can't be this good
>>
>>59257831
i don't fuck with meme shaders
>>
>[vo/opengl] Too many hooks! Limit is 16.
Why do I get this? I added the adaptive antiringing shader (already running nnedi-nns16-8x4, KrigBilateral, SSimSuperRes and adaptive-sharpen.) Worked fine before.
>>
>>59257831
how can I setup my mpc/madvr for this
>>
What is NGU and where can I find some comparison pics?
>>
>>59259013
Maybe you updated other shaders like ssimsuperres which now uses more hooks. Also why use more antiring when you have ssimsuperres?
>>
>>59259230
Because I'm a retard and I didn't realize that.
Thread posts: 79
Thread images: 17


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.