[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1695155469485398.png (167 KB, 522x533)
167 KB
167 KB PNG
mpv ffmpeg yt-dlp
>>
vo=gpu-next
scale=spline36
dscale=hermite
>>
Second for rename "hermite" to "hermit", with "hermaphrodite" as alias
>>
>>96101336
also add termite
>>
haasn feels a bit happier now, I guess getting rid of wm4 was a net positive.
>>
>>96083142
works every time
>>
wtf why does mpv drop frames now on my 2010 thinkpad
>>
>>96101447
lul
time to upgrade
>>
8nd for
cscale catmull_rom
dscale hermite
tscale hermite
>>
>>96101447
sir please have you tried reboot sir
>>
vo=gpu-next
gpu-api=vulkan
profile=opengl-hq

Rate my config
>>
NIIIIIIIIGGEEEEEEER
>>
>>96101196
Holy shit it actually worked
>>
How do I graduate from Webm for Retards and learn to use ffmpeg from the terminal? I can't imagine cropping a video without visuals.
>>
>>96101839
You're skipping grades here. You move from WebmForRetards to webm.lua, then ffmpeg batch scripts are the final redpill
>>
>>96100630
I still don't know why but my brain prefers hermite to ewa_hermite.
catrom is nicely sharp and has just enough ringing for it to look like a good thing.
lanczos is crunchy.
mitchell is good old mitchell.
>>
>>96101839
https://github.com/mifi/lossless-cut
>>
>>96101839
>I can't imagine cropping a video without visuals.
ffplay is your friend
>>
>highest quality profile has mitchell dscale that looks blurry
>>
File: The Master.jpg (41 KB, 300x300)
41 KB
41 KB JPG
Since Catmull-Rom is a popular choice for chroma upscaling and it's being considered for the default, and since it's basically a cubic spline approximation of 2-lobe tensor Lanczos, I've begun to investigate whether a 2-lobe polar Lanczos might be better compared to the usual 3-lobe EWA LanczosSharp filter for chroma.

# 2-lobe Cylindrical LanczosSharp for chroma
[els2c]
profile-desc="EWA LanczosSharp2 chroma"
cscale=ewa_lanczos
cscale-radius=2.2331305943815285
cscale-blur=0.9549963639785483


The blur was computed using the same method used for the EWA LanczosSharp3 blur.

I've compared this chroma scaler with the usual test patterns (rose.jpg, original.jpg gradient, chroma-420.jpg, etc.) and to me it looks slightly better. The Sharp version looks better than blur=1 and 2 lobes reduces ringing in the most noticeable areas while improving text rendering compared to the 3-lobe version. My comparisons were done a bit hastily though so hopefully someone else can be a bit more thorough.

As an aside, since chroma is difficult to test maybe we could set-up a reference repository compiling the best chroma test images similar to haasn's mpv-hq repo. We could begin with the images in mightyhuhn's issue and that one red image posted in here a few days ago. At least it could include less contrived examples compared to straight test patterns.
>>
>>96102009
Blame the retards that compare dscale by zooming in the images and watching from 1cm distance
>>
>>96102009
>small amount of blur than can hide a surprising amount of source artifacts, still sharp
it's a good default even though it will be changed soon
>>
>>96102009
Provide some examples and suggestion what would be better.
>>
>>96102200
Even ortho hermite is better
>>
>>96102208
Well good thing ortho hermite is going to replace it whenever libplacebo/mpv gets stuff sorted out. Calm down impatient fuck.
>>
what to look for to know that dither works correctly?
>>
>>96102483
if you notice banding then it's not working correctly, if you don't then it's working correctly
>>
>>96101778
Done with libplacebo this time:
https://slow.pics/c/wPEkFeHf

ffmpeg -i 1_moraine_lake_pano_2019.jpg -vf libplacebo=w=iw/4:h=-1:downscaler=bilinear:format=rgb24:colorspace=gbr:color_primaries=bt709:color_trc=iec61966-2-1:range=pc -c:v png -update 1 -frames:v 1 bilinear.png

ffmpeg -i 1_moraine_lake_pano_2019.jpg -vf libplacebo=w=iw/4:h=-1:downscaler=hermite:format=rgb24:colorspace=gbr:color_primaries=bt709:color_trc=iec61966-2-1:range=pc -c:v png -update 1 -frames:v 1 hermite.png

ffmpeg -i 1_moraine_lake_pano_2019.jpg -vf libplacebo=w=iw/4:h=-1:extra_opts='downscaler=custom\:downscaler_preset=hermite\:downscaler_polar=true':format=rgb24:colorspace=gbr:color_primaries=bt709:color_trc=iec61966-2-1:range=pc -c:v png -update 1 -frames:v 1 polar_hermite.png
>>
>>96102039
Robidoux-sama... his last meme. I might think about making a repo for this kind of stuff, but it would be devoid of a lot of IRL stuff.
>>
why is this thread just seethe about scalers
>>
profile=fast
icc-profile-auto=yes
vo=gpu-next
>>
>>96102483
If you don't notice anything then it means it's working.
>>
How spline36chad feeling right now?
>>
>>96102544
with ImageMagick, comparing polar Gaussian with ortho and polar Hermite:
https://slow.pics/c/ALjQsnZT
>>
>Note: this option is ignored when using bilinear downscaling (the default).
>>
>>96102936
These look too similar for the choice to matter.
>>
https://code.videolan.org/videolan/libplacebo/-/merge_requests/593
#define SCALER_LUT_SIZE     256
#define SCALER_LUT_CUTOFF 1e-3f

scaler-lut-size=8 and scale-cutoff=0.001 are now going to be hard coded in libplacebo/vo_gpu_next
>>
>>96102936
>polar gaussian
anon...
>>
>>96102996
damn those 10x10 hash patterns just got sharper! thanks haa-chan
>>
how far away are we from realtime esrgan
>>
>>96102916
we lost splinesisters. Another reason to keep using mpv 0.29.1
>>
>>96102961
Yes, polar_gauss-a and polar_hermite are virtually indistinguishable at small scaling factors. Although Gaussian preserves features slightly better than Hermite you need to engage in some extreme pixel peeping to see it (e.g. look at the top of dude's blue jacket in this example). I'll post a schizophrenic example in a bit showcasing 4k -> 720p as an academic comparison. I somewhat agree with Artoriuz that polar Hermite just works, it's a simple function, and you don't need to fiddle with parameters.

Even though differences between Gaussian and Hermite won't be noticed in motion at usual viewing angles if i were to downscale a photograph for archival purposes I'd probably choose Gaussian though.
>>
>>96103136
Real time ESRGAN is already possible using cuda cores. No I'm not going to link to the repo because GAN is cancer.
>>
>>96103153
In terms of performance, hermite > gaussian >>>> polar hermite
EWA downscaling is brutal and will easily exhaust your GPU at even modest downscale factors (e.g. 10x), so I don't ever recommend using an EWA downscaler in general

also gaussian = ewa gaussian, so there's on reason to use ewa gaussian ever unless you like turning your GPU into a space heater
>>
explain why i should care about this when bjin is planning to apply the the matrix multiplication speed-up to nnedi3

ewa lanczos will be obsolete soon
>>
>>96103265
For mpv performance for orthogonal scalers should be similar since it computes the weights and stores them in a LUT beforehand and the support size being used for Gaussian is close to 1 so they almost have the same radius; the number of taps is what really matters when considering performance.

These comparisons are mostly an academic exercise; I'd use polar downscaling for downscaling images, not moving video. For mpv ortho Hermite is good enough I think. The pixel peeping required to see the differences here demonstrates that in practice it doesn't matter. Catmull-Rom for downscaling does introduce nasty overshoot which is visible without zooming though.
>>
Year of mpv minus rcombs.
Just need to figure what the hell is going on with interpolation and make configuring anti-ring less horrible
>>
>>96103321
wait for bjin's CNN instead
>>
>filters: drop spline36 recommendation
>We use the almost identical lanczos now.
committing crimes against humanity

t. splinebro
>>
File: 1682982579028452.jpg (10 KB, 296x296)
10 KB
10 KB JPG
How do "we" fix "interpolation?"
>>
>>96101196
Bloat.
>>
>>96103476
interpolation=no
>>
>>96103476
I don't know but vo_gpu works just works™ ¯\_(ツ)_/¯
>>
File: 1695163962514.jpg (59 KB, 800x450)
59 KB
59 KB JPG
>>96103454
for real?
>>
>>96103476
Wait for haasn to make an SVP like interpolation algorithm.
>>
>>96103575
vulkan based please with full gpu acceleration
>>
File: 1694788923527.webm (3.79 MB, 1920x1080)
3.79 MB
3.79 MB WEBM
does /g/ even do anything with mpv besides post what's in their mpv.conf file?
>>
>>96103790
no joke, i was gonna ask the same thing right now.. what do you guys even watch (currently/lately) or do you just have autism rants about configs
>>
>>96103790
Are you really asking this on anime board?
>>
>>96103790
I use mpv for watching video, ffmpeg for editing, cutting, cropping and encoding videos
>>
>>96103811
We're joking. When other people discuss something you personally don't care about, it's all just a big jape.
>>
>>96103790
I only watch youtubeslop because I don't have the attention span for anything over 10 minutes any more.
>>
Here's the schizophrenic example:
https://slow.pics/c/AKDN9Hxe

original:
https://i.slow.pics/mpI1PiZH.png

The image being this noisy is an advantage here. The outline of Belmondo's nose is barely resolved because of the grain size allowing us to compare small differences. If you inspect Belmondo's face under the most extreme pixel peeping the Gaussian appears to preserve the detail structure slightly better. Look around the eye area and the bridge of his nose. Also the brim of his hat. A pixel value here and there improves contrast and sharpness by the slimmest of margins which manifests as less "smearing".

Of course comparing images like this is just pure autism for the sake of autism as they are practically transparent, but I thought a few of you might enjoy it.
>>
dammit now i have to put profile=fast in my config
>>
>>96104045
it's the same image
>>
https://github.com/mpv-player/mpv/pull/12431
>>
>>96103575
in 5 more years
>>
Funny to see everyone complain about the IEW people pushing lanczos over spline36, but completely cargoculting their downscale recommendations of hermite and gaussian.
>>
>>96104314
Nobody did that. This thread is still team dscale=catmull_rom.
>>
yoooo bilinear fire
>>
>>96104329
Not anymore, team
dscale=hermite
from now on.
>>
>>96104215
Holy shit It's happening!! https://github.com/mpv-player/mpv/pull/12431/files#diff-e0a5cd6bbe7a6362ce2fd5971020e0a5e475edaf356e049117f7cbc804871aa3L80
>>
>>96104314
eh, I prefer hermite over both mitchell and catrom for downscaling but also lanczos over spline36 for upscaling...

lanczos and spline are almost the same thing but lanczos is easier to define so you can easily verify that it's the correct function. has anyone actually verified spline's values? what if they're wrong like the lanczossharp/lanczossharpest blurs were wrong...
>>
>>96104477
>has anyone actually verified spline's values?
Yes https://forum.doom9.org/showthread.php?t=147117
>>
Maybe a stupid question but how do I stop yt-dlp from making a separate Videos and Shorts folder when downloading a channel?
>>
>>96104504
>I have no idea how to derive a general formula. I can recalculate the known coefficients for Spline16 and Spline36. However for Spline64 I get slightly different ones. So, i assume that the known ones for Spline64 are simply wrong.

>edit Wilbert: I made a mistake with Spline64.

heh...

if robidoux was wrong...

who's to say the values in mpv for spline aren't imprecise?
>>
>>96104477
>lanczos and spline are almost the same thing but lanczos is easier to define
couldn't care less. they look the exact same to me except spline36 rings less so obviously it's preferred.
>>
"The polynomials in the code aren't used as blending functions, it's a piecewise cubic interpolator ... they are used as a convolution kernel (a non C1 continuous convolution kernel).

This whole methodology seems a weird mishmash of disparate theories to me, there is a rhyme to it ... but very little reason. "
Even doom9 was skeptical of it back in 2009
>>
>>96104314
I still prefer catrom but I can understand hermite for speed. Mitchell will always be useful for aliased sources. Yuru Camp S1 and Ayaka are recent examples I've seen.
>>
>lanczos replaces spline in mpv
>all this FUD being spread about spline post hoc
what did splineschizo do to deserve this?
>>
>>96103375
gaussian support size is 2, hermite is 1. it's literally twice as many samples..
>>
>>96104797
haasn and artoriuz have math autism and kasper cargo cults.
>>
>>96104824
The polar_gauss-a kernel in my comparison had its support size reduced to 1.125 (3sigma).
>>
>>96104390
I didn't think lllyyr would be the one to deliver the final stab in the back to wm4. Not even haasn had the guts to make libplacebo required.
>>
>>96104602
I guess to be fair the fact that the guy who checked thinks you can get closed forms out of a generating function doesn't bode well for its legitimacy. But what are the odds two people make the same mistake twice?
>>96104689
That quote is itself an out-of-place criticism because resampling while resizing is a convolution, not a blend.
>>
Bros, I am trying to cross-compile mpv on arch but every time I try the pip step I get:
$ pip install rst2pdf mako jsonschema
error: externally-managed-environment

× This environment is externally managed
─> To install Python packages system-wide, try 'pacman -S
python-xyz', where xyz is the package you are trying to
install.

If you wish to install a non-Arch-packaged Python package,
create a virtual environment using 'python -m venv path/to/venv'.
Then use path/to/venv/bin/python and path/to/venv/bin/pip.

If you wish to install a non-Arch packaged Python application,
it may be easiest to use 'pipx install xyz', which will manage a
virtual environment for you. Make sure you have python-pipx
installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
>>
File: read anon.jpg (93 KB, 600x686)
93 KB
93 KB JPG
>>96105050
Try reading the error message.
>>
>>96104797
Spline36 is a symbol of wm4's legacy. Getting rid of spline36 is haasn's latest move in subverting mpv. Now he's told his minions to rewrite history to make it seem spline36 was obviously an inferior choice, to seed discord among the wm4 believers.
>>
>>96105060
So should I really do:
sudo pacman -S python-mako

For example? It is a VM so it doesn't matter if it gets fucked up.
>>
>>96105086
In this case you want --break-system-packages because at least rst2pdf is trying to be used as a library. I'm not sure how much the other two matter but it's not like any of the three are part of Arch.
>>
>>96101196
qvieq potplayer yt-dlp
>>
>>96104689
>>96104504
>>96104602
holy word dump, how the fuck does he need to write this epic post to overcomplicate a simple concept
literally just solve a system of cubic equations with the following constraints
>second derivative is 0 at the endpoints
>value, first and second derivatives match where two splines join
>f(0) = 1, f(n) = 0 for integer n
this equation system has 4*k unknowns and 2+3(k-1)+k+1 = 4*k constraints, just solve it using high school algebra ezpz
>>
>>96104877
genuine question but why the fuck do you use a polar gaussian kernel when gaussian is literally circularly symmetrical by definition? (actually, it's the *only* possible filter with this property)
>>
even better question: how come mpv's gaussian scores so bad on objective metrics
>>
>>96105509
Because Gaussian has literally no signal processing merits, and I wanna know who the fuck thought it was a good idea to ever add it in the first place.
>>
>>96105083
I hate this meme. wm4 never gave a shit about spline36. It was lachs0r/mia who was the one autistically insisting this be the default.
>>
>>96105530
Gaussian has deep ties to signal processing actually. It's the only possible impulse response function that is both linearly separable and radially symmetric, which makes it extremely cheap to implement for very high blur/scaling ratios while still preserving the property that it never aliases. Because of the central limit theorem you can also implement gaussian blurs extremely efficiently by iterating simple box blurs, or, hell, any other blur function you want.
>>
>>96105579
>wm4 never gave a shit about spline36
he used it, thereby tacitly approving of it.
>>
>>96105403
nooo that's too simple and won't make people respect you. You've got to throw in some signal processing buzzwords, say that you minimized the error function over the support using a L1 loss metric.
>>
File: graph_blurred.jpg (55 KB, 640x480)
55 KB
55 KB JPG
>>96105434
There's a difference between an orthogonal filter and a polar one. They sample differently, with the former only taking into account orthogonally neighboring pixels; that's why polar filters are slower.

>>96105530
Cubic B-splines (B = 1, C = 0) are an approximation of a Gaussian with standard deviation sqrt(1/3) and a support of 2. A Gaussian interpolator with a standard deviation of 3 / 8 is close to a Hermitian function, but smoother. Robidoux advocated for it long ago, and from the looks of it adjusting its support makes it a good alternative for heavily downscaling large images.
>>
Wow good job. It took mpv/libplacebo 10 years to reach the same level of fidelity as MadVR did 10 years ago. You guys must be real proud of yourselves.

Now if you don't mind, I'm going to go back using superior tonemapping, and I'll wait for you guys to catch up in 2033 LOL
>>
>>96106052
imagine the autism once we start discussing HDR using scopes and projectors
>>
>>96105757
>signal processing buzzwords
>minimized the error function
>L1 loss metric

You're confusing signal processing with machine learning anon.
>>
>>96106474
or basically statistics
he's referring to the lanczos4sharpest blur autism in any case that wasn't L1 but same process
>>
>>96105403
>>96105757
um...
I plugged the formula for spline36 into wolframalpha and got results which were similar, but not exactly equal to, the values used in mpv..
also the boundary conditions in the post are wrong, I had to set the first derivative to zero at the endpoints, not the second derivative
>>
>>96106288
Go for it. Scaling is solved already, HDR has a lot room for autism.
>>
>>96106710
oh no spline36 sisters, has our filter been incorrect all along?
>>
>>96106474
Machine learning is signal processing, but terrifyingly-few machine learning people seem to know that, or what to do with that information.
>>
>>96104689
>>96105403
>>96106710
the more I read this thread the more I realize how horseshit the "theory" behind this spline scaler is
>people pointing out problems with the scaler's boundary conditions
>adding more taps makes the filter blurrier
>the values used in mpv/libplacebo are neither C1 nor C2 continuous
also I love this gem:
>Yeah, I've suspected for a while that Catrom is the "true" cubic, as it's the one cubic that (a) always goes through all of the original sample points, and (b) preserves linear gradients
>I'm convinced that 2-tap Lanczos approximates Catrom more closely than any other 2-tap windowed sinc filter (Blackman, Hann, Hamming etc).
tl;dr
>spline should just be deleted entirely from mpv/libplacebo
>lanczos is the only general-purpose scaler worth using
you can solve all issues with lanczos by literally just windowing it, lanczos2 is identical to catmull rom, hermite can be replaced by lanczos1 etc.
>>
>>96106991
>>the values used in mpv/libplacebo are neither C1 nor C2 continuous
I noticed this a while ago when I was fucking around in desmos but never opened an issue about it because at this point the values used are canonical and people who like the results like the results.
>>Yeah, I've suspected for a while that Catrom is the "true" cubic, as it's the one cubic that (a) always goes through all of the original sample points, and (b) preserves linear gradients
>I'm convinced that 2-tap Lanczos approximates Catrom more closely than any other 2-tap windowed sinc filter (Blackman, Hann, Hamming etc).
Multiple papers have been published to this effect, alas, I get called linearschizo.
>>
>>96106710
aren't there two degrees of freedom when solving cubic splines? the control points are at 0, 1, 2, and 3. the first derivative should be zero at 0 and 3, but what about at the zeros? and what about the second derivatives? what happens if you use lanczos derivatives for the boundary conditions?
>>
shut up sizumam, you're never going to live down the fact that you shilled scale=mitchell and linear-upscaling=yes to people for months.
>>
>>96107050
>>96106991
maybe he just fucked around with the parameters until it looked right?
>>
>>96106991
>Lanczos approximates Catrom more closely than any other 2-tap windowed sinc filter
It's actually the other way around: Catrom is the bcspline closest to a signal reconstruction filter, e.g. lanczos2. See Keys 1981. It also interpolates (eg f(0) = 1, f(1) = 0, desirable for many purposes), has cubic convergence (better than any other bcspline), Is cheap because it zeroes out one of the parameters (not as cheap as hermite of course) and is the "sharpest" "satisfactory" scaler. There's a reason probably 75% of the time you see a software call something "bicubic" it's catrom.
>>
not looking too good for us, spline-sisters.
>>
File: sip 4.png (10 KB, 429x399)
10 KB
10 KB PNG
>>96107080
I never recanted.
>>
>>96102936
what are the parameters for polar_gauss-a?
>>
>>96107109
I used to believe this, but the reality is that most software use CARDINAL (B=0) splines in general for their default "Bicubic", not necessarily Catrom. Catrom is the best cardinal spline, so I have no idea why they would super special snowflake cubics like B=0 and C=0.65... but that's just how it is. Not every Bicubic alias is necessarily Catrom.
>>
>>96107271
filter:blur=0.75 (equivalent to sigma = 3/8)
filter:support=1.125

The blur comes from Robidoux, the support I shortened to 3sigma. If you do least squares using Hermite you get a value of 0.41 instead of 0.375, but I tested this and gauss-a looks better probably because the weights at the end are closer to zero. For mpv I think you need to square the blur because of how the function is defined compared to ImageMagick. The value is still arbitrary though and I prefer the simplicity of Hermite which looks identical unless you pixel peep to the maximum.
>>
>>96107279
>I have no idea why they would super special snowflake cubics like B=0 and C=0.65
I think that's done so it'll look sharper compared to what people are used to from Catrom so they'll think it's better compared to other programs. The average user is probably less sensitive to artifacts than acutance.
>>
>>96107525
Right, but it doesn't satisfy B+2C=1 so it goes into the trash for upscaling.
>>
>>96107279
The worst is B=0 C=1. You can spot that a mile away, the rings are fucking huge.
>>
Bilinearchads, are we winning yet?
>>
>>96106991
IEW was right all along
>>
>>96107581
Bilinear always uses dedicated GPU functions, so it aliases for downscaling factors more than 1/2. See >>95186609
>>
File: splinechad.png (73 KB, 849x392)
73 KB
73 KB PNG
This hasn't been proven wrong yet.

In fact, every single second that you guys argue about the "math" of the situation, rather than using your own perception, the more that you prove this post correct.
>>
File: comp.gif (1 MB, 896x896)
1 MB
1 MB GIF
>>96107637
>>
>>96107637
If you are that autistic just scale=whatever_the_fuck_you_prefer
The average user cannot tell the difference between spline36 or lanczos.
>>
>>96107637
>metrics
uh, we're arguing about kernels derived from perceptual constraints. artoriuz is literally1guy and this thread only became more amicable to him recently because he kneeled. mitchell and catrom are scientifically proven to be visually superior, that is a FACT.
>>
>>96107654
The average user is retarded. People with refined eyes know that Spline36 is superior.
>>
>>96107669
It doesn't matter, just look at r/mpv, there was a guy claiming nearest was the best upscaler for everything.
>>
>>96107596
I've been trying to tell you guys that IEW/vs people only use Spline36 to "resize" because vs doesn't automatically noop resampling for scale factors of 1 like mpv does, so they have to use it when changing colorspaces or bit depths or shit like that. Nobody actually uses it for scaling, they use nnedi.
>>
>>96107669
But why are you so fixated on it? It is not your problem, just do scale=spline36 and be happy.
>>
>spline36tard (probably wm4 samefagging with 200 proxies) finally learns what it's like to be told wontfix just change your config
>>
File: 1445660201146.jpg (321 KB, 782x788)
321 KB
321 KB JPG
>>96107697
>But why are you so fixated on it?
...
>mpv deprecates gpu-hq, an option that has been standard nomenclature in every mpv.conf for more than half a decade
>not only does mpv deprecate gpu-hq, but they make the WORSE scaler (lanczos) the default instead of the better scaler (spline36)
>you're not allowed to complain about this because.... uhhhh... JUST TRUST THE FUCKING MATH OK? LOOK AT THIS DESMOS GRAPH I MADE! DONT LOOK AT REAL CONTENT NO NONOON PLEASE DONT NOTICE THAT LANCZOS IS ARTIFACTED GARBAGE NOONONONO PLEASE LOOK AT THIS DESMOS GRAPH INSTEAD
Fuck you.
>>
>>96107637
>>96107646
which is cheaper to compute, spline36 or lanczos3. Since they both look basically same to me, I'll go with whatever is cheaper.
>>
>>96107737
See >>96107709 and fuck you too
>>
>>96107749
>WAIT... DID YOU JUST TELL ME TO LOOK AT REAL CONTENT? FUCK YOU!!!! Also please check this wolfram alpha formula that proves you wrong... heh.
Fuck you too </3
>>
>>96106710
Open a bug report for further analysis. First Robidoux, now Derche. We will keep going until the only name in the game is Haas.
>>
>>96107769
Keep crying splinetard, now you will have to bloat your conf with scale=spline36
>>
>>96107791
I'm going to bloat your asshole with my cum. At least do everyone the courtesy of making this retardation vo_gpu_next only.
>>
>>96107829
Oh don't worry, mpv will be vo_gpu_next only soon. haasn won.
>>
>>96107744
splineschizo, at least answer my question. I'll use it if it's computationally cheaper than lanczos (I'm assuming it is, since spline36 is a polynomial).

How does it compare to catrom, the catromschizo is always saying that due to B being 0 or something it's cheap.
>>
https://github.com/mpv-player/mpv/pull/12436
>>
File: 16946975753510121.png (3 KB, 520x43)
3 KB
3 KB PNG
<wm4> I use spline36


Some anecdotes from /mpv/'s past:

>spline64 is a close approximation of lanczos at radius 4, spline36 is a close approximation of lanczos at radius 3. (Slightly less ringing, though, which is why it's defaulted)
>Spline36 confirmed for the best native scaler. wm4 was right all along.
>spline36 is the best quality/performance and everything else is a placebo meme that burns your gpu for an imperceptible quality increase. wm4 was right
>meme scalers are a meme and you can't tell the difference between them in real video content being played back, not still test images. theres a reason wm4 chose spline36 for the gpu-hq profile.
>wm4 put spline36 in gpu-hq because he thought lanczos was a placebo meme
>That spline36 is better than any meme shader, like wm4 said.
>>
>nobody uses spline36 since everyone knows it's worse than ewa_lanczos
>mpv defaults are being revamped and so everyone researches spline36
>people find out this shit is and always has been garbage
>splinetard seethe ensues
>>
>>96108021
If the cache is working properly all scalers should be basically the same speed, since the kernels aren't invoked directly, just used to generate LUTs. Anyway if you care about speed use profile=fast hwdec=auto
>>
>>96107744
>>96108021
mpv preallocates the weights in an array so only the number of samples should impact performance. Spline and Lanczos have the same radius so it shouldn't matter
>>
>>96108079
>>96108044
why is ewa_lanczos so slow then, if it should be the same speed?
>>
>>96108039
More like
>nobody (literally nobody) uses lanczos
>...
>nobody uses lanczos
Meanwhile, a sizable amount of people use spline36. And now their configs are ruined.
>>
>>96108087
Because it's a polar filter so there are many more samples.
>>
>>96108091
>ruined
upgraded*
>>
>>96108021
Speed was never a concern. I would still use Spline36 because it's literally higher quality than lanczos. I don't care which one is faster or slower.
>>96108120
It's funny how so many discord raiders are mad at me. But you can't even prove me wrong. Sad. Just sad. I hope you guys are having a giggle in your little voice chats.
>>
>there are still people in here who don't realize the spline guy is dokurochan having a laugh
heh
>>
>>96108138
Are you schizophrenic or something? Do you think that everyone who disagrees with your (stupid and wrong) opinion is some "discord raider"?
>>
>>96108156
shill me on this conspiracy theory
>>
>>96108138
Which discord?
>>
>>96108324
IEW discord, probably
>>
>>96108156
>>96108253
dokurochan is all of linearschizo, catromschizo, and splineschizo
>>
>>96108087
It's polar and not separable.
>>96108353
No.
>>
>>96108353
how can dokuroschizo be all of these things but still admit to using ewa_lanczossharp on github? multiple personalities disorder?
>>
File: sad4.png (103 KB, 600x450)
103 KB
103 KB PNG
I am once again apologizing to dokuro for people thinking he is me.
>>
>>96108518
You are forgiven friend (...I don't know who are)

Also, general question to any NNEDI3 users ITT. Why bother using the 8x6 window? I'm genuinely curious. Increasing the window just makes it artifact to shit, and 8x4 looks way better to me. If you're going to go with the sharper window, you may as well just use something equally as artifacted like FSRCNNX at that point. Maybe there's something I just don't understand?
>>
>>96108622
>I don't know who are
who you are*

Also, the new ortho hermite is definitely a decent speed boost with fractional upscales compared to mitchell. I can't really tell the difference either way at this resolution, so I don't really care.
>>
File: logo_cropped.png (7 KB, 120x127)
7 KB
7 KB PNG
>>96107637
https://slow.pics/c/r1wVbUQi

magick logo_cropped.png -colorspace RGB +sigmoidal-contrast 6.5x75% -filter CubicSpline -define filter:lobes=3 -resize 1500% -sigmoidal-contrast 6.5x75% -colorspace sRGB logo_spline.png

magick logo_cropped.png -colorspace RGB +sigmoidal-contrast 6.5x75% -filter Lanczos -resize 1500% -sigmoidal-contrast 6.5x75% -colorspace sRGB logo_lanczos.png


The initial comparisons (https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=32506&start=15) were upscaled in gamma, but even if you do apply a sigmoid curve to tame the ringing Spline still exhibits less of it (look at the eyelids, the forehead, the mustache, etc.).
>>
The voices are telling me to be autistic about HDR next.
>>
>>96108708
>sigmoidal-contrast
opinion discarded
>>
>>96108718
Give me an HDR anime to watch and maybe I'll consider being autistic about this as well.

But the last time I tried HDR tonemapping it seemed to just werk(tm)? I didn't really set anything except gpu-next and gpu-hq, and it looked correct to me.
>>
>OP without pedo moeshit
mpv trannies mad
>>
>>96108752
Cyberpunk Edgerunners
Sol Levante
VEG movie (fake)
>>
>>96108725
https://slow.pics/c/JbFUBTW5
>>
>>95337262
>>
>>96108769
>gamma
opinion discarded
>>
File: 45236782.webm (729 KB, 576x1098)
729 KB
729 KB WEBM
what happened to the mpv.net guy, is he okay?
>>
>>96108708
>>96108769
>spline36 looks better
what have we done bros...
>>
>>96108801
he has chronic pain or something, but he's planning on making a frontend for mpv that isn't just a forked project it seems, he wants to deprecate mpv.net
>>
>>96108762
Are any of these cel-animated 4K shows/movies "real" HDR?
>>
someone should revive the super-xbr issue by posting a comparison with cscale=ewa_lanczos4sharpest just to put the final nail in the super-xbr meme
>>
>>96108798
https://slow.pics/c/jr3kNNG4
>>
>>96108835
If the remaster is any good (it's not).
>>
>>96108938
Really? I thought the Cardcaptor Sakura one was good, even though it wasn't technically 2160p, but just a 4K remaster.
>>
>>96108972
Good, but SDR
>>
>>96108972
I'm so fucking pissed that there exists a 2160 remaster of CCS that will never be released because nips refuse to buy 4K BD players.
The least-bad HDR cel remaster is probably Akira.
>>
>>96108976
Ah shit you're right, for some reason I thought this was HDR for a second.
>>96108997
I was actually just thinking about Akira, for some reason Akira and CCS occupy the same space in my head, probably because they're the only 4K stuff I know of alongside Char's Counterattack... I guess I'll have to rewatch Akira since I've already watched CCA to death.
>>
>>96108997
>because nips refuse to buy 4K BD players.
For CCS specifically yeah it fucking sucks. But honestly, most cel shows are shot on cheap 16mm film and they look like ass even at 720p. So I don't think a 2160p remaster is going to save 90% of shows.
>>
>>96108938
Char's counterattack looked good but that's the only one I can think of.
>>
https://www.youtube.com/watch?v=O0BhaV0zKes
>>
It appears ImageMagick applies filter:blur to the entire support even if your windowing function is Box as is the case with Gaussian. In order to fix the practical support at 9/8 you have to specify filter:support=1.5 instead. I'll redo those two gauss-a comparisons in a bit.
>>
>>96109128
[EG]'s release of CCA looked good*

I'm pretty sure Sunrise's actual release was garbage, as with all of their classic Gundam remasters. Thank god for /m/.
>>
>>96108031
*sigh*

DMG inflating his commit count as always, you're never becoming #2 dude just give up
>>
>>96108031
How about instead of removing aliases you remove actual bullshit like vo=drm or -o or --merge-files or something. mpv probably has more broken features than working features at this point. Or fix the manual to be factually correct.
>>
>>96109253
huh, what's wrong with vo=drm?
>>
Is 0.37.0 really going to be the year of gpu-next being the default at this point? Is it really happening for real this time?
>>
>>96108801
1000 cock stare
>>
>>96109151
https://slow.pics/c/wicqArse
https://slow.pics/c/9h7agFWB
>>
>>96109424
>Arse
hehe arse
>>
scale=
dscale=
cscale=
>>
>>96109424
gauss-a looks best here IMO
polar gauss-a might be a little bit better in some spots but i dont think it really matters especially if performance is an issue

polar gauss c is definitely the worst, dunno why, it just seems more artifacted?
>>
File: 1458108079756.jpg (50 KB, 443x443)
50 KB
50 KB JPG
>>96109503
what does it mean when they're blank???
>>
>>96109511
gauss-a looks a little bit sharper. I might even prefer polar Hermite to gauss-c.
>>
whoah there's an HEVC version of big buck bunny?? why didnt you guys tell me...
>>
>>96108708
>https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=32506&start=15
According to the third post on the first page here the formula for Spline in ImageMagick comes from a geocities page written in Japanese. mpv's implementation is identical to the one in ImageMagick.
>>
>>96109712
https://web.archive.org/web/20171124091307/http://www.geocities.jp/w_bean17/spline.html
>>
>>96109767
holy fucking soul

using spline36 right now
>>
Has anybody noticed that display-resample has started to report different numbers for DS? I don't know what commit changed this but I haven't changed anything about my display so I'm assuming this is a new commit.
>>
>>96109923
maybe it's all those nanoseconds.
>>
>>96109557
it means i'm asking what people are using, and why
previously i've been using mitchell for all three, because it balances with the ringing i get from fsrcnnx
>>96109784
which one?
>>
>>96101447
enable hardware acceleration sir
>>
>>96101913
Does this support file size limit, cropping, and some other features Webm for Retards has?
>>
>>96104045
I see you're a man of culture, I thought everyone here just watched chink cartoons.

also what the other anon said, you probably uploaded the same image twice (zooming x500 shows no difference)
>>
>>96106801
>Scaling
>solved
pick one
>>
>>96109767
I'm using Spline256 now, see you behind ravu-bros!
>>
wtf https://github.com/mpv-player/mpv/pull/12431/commits/a4fae53370675e15d1edb7e235c5d610449dd2da
>>
https://github.com/mpv-player/mpv/pull/12433#discussion_r1330824424

>shut up kasper you're not a clown you're the entire circus
>>
>>96108801
@?
>>
>>96108801
god.. I saw that video the other day wondered what the fuck is wrong with her boobs as I scrolled past it within 1ms.. turns out she just put creme on it I guess, looks very unhealthy, the size too.. ugly and horrible for the back, bless her retarded soul.
>>
File: diff.png (1.22 MB, 987x720)
1.22 MB
1.22 MB PNG
>>96112067
>zooming x500 shows no difference
The comparison is partly tongue in cheek because you have to go further than that and inspect it at the pixel level. I assure you the images are different (pic rel).

Even though you have to look at the individual pixels themselves and only a few of them vary by only 1 or 2 values (and there's no color information) there's still a case which could be made for one over the other because of the noise characteristics present in the original.

It's the most extreme case of pixel peeping I've come across where even the smallest differences possible are perceptibly significant under the closest inspection possible. If you have areas of low signal-to-noise ratio any additional noise will diminish the perceived quality by a larger factor, that's why a "difference in quality" could be noticeable at the pixel level.
>>
>>96108708
Test on real photos, ringings looks good
People like sharp, especially when not upscaling 800% but looking at a normal viewing distance like god intended
>>
File: 1674796530376722.jpg (348 KB, 1125x1144)
348 KB
348 KB JPG
>>96112302
>You made is sound like catmull_rom is faster and better.
catmull_chads rn
>>
>>96109424
>polar gaussian
this is still triggering me, please stop it
>>
why does wiwaz keep commenting on github? if he had his way, nothing would be recommended except hermite, I'm not even sure he supports EWA lanczos for scale. still glad he stopped posting his autism here though
>>
>>96112832
Some ringing is fine, yes. The problem is lanczos rings bad and spline36 has less for essentially free. The difference isn't even that large so your wonderful ringing is still there
>>
>>96112880
Why? polar Gaussian is a different filter than orthogonal Gaussian.
>>
just wait for the full --scale rewrite inshallah soon
>>
>>96109503
>scale=bilinear
>dscale=bilinear
>cscale=bilinear
man's classic
>>
>>96112962
He's just going to tell you to look at a desmos graph again, people like this literally have no arguments. You could show them clear and 100% proof, but they're already so primed on cognitive bias that they can't accept that they got psy-oped into voting for the worse scaler.
>>
>>96112832
At that point we're going into Don Munsil territory of using a less ringy scaler like 2 lobe Lanczos and then applying unsharp masking, adaptive sharpening, etc. Most people would say that looks better and according to "sharper = better" it's preferable to scale soft then sharpen. But Lanczos doesn't look much sharper than Spline even though it rings a lot more. I still have yet to see an example where Lanczos is clearly better.
>>
Spline36 is a random filter made from freestyle math for toasters. It's a bad approximation of lanczos that doesn't really need to exist in 2023.
If you want to make lanczos softer to make it look closer to spline36, just change its window or reduce the magnitude of the negative weights with scale-clamp.
It isn't that difficult really, you might even end up with something that you like more than your meme filter, but you'll never admit it because this isn't about quality, it's about clowning on le image board.
>>
it's over
>>
>>96112920
scale=ewa_hanning
scale-antiring=0.5
scale-clamp=0.25
cscale-clamp=0.25
dscale=gaussian
dscale-param1=0.5625
deband-iterations=16

>iew psyop
He uses ewa_hanning and he's the gaussian poster
>>
>>96111986
No it is just for cropping videos
>>
https://github.com/mpv-player/mpv/pull/12052
>LGTM
haa-chan, it is time
>>
>>96113316
>this isn't about quality
it literally is. you're the one that keeps raging about shit like
>random filter made from freestyle math
who gives a shit when the end result is actually better kek
>>
Spline is shit
>>
profile=high-quality
scale=ewa_lanczos4sharpest
# TODO: drop dscale after #12433
dscale=hermite
# why is this not default yet?
vo=gpu-next

Rate my config.
>>
>>96113556
Funny how you left the last part out anon lmao
>>
>>96113590
what last part? your imaginary filter that doesn't exist? it would be irrelevant since this is specifically about lanczos and spline
>>
>>96113614
Ok so are you admitting you're too dumb to change a window?
>>
>>96113640
>change a window
it's no longer lanczos at that point and once again, off-topic
>>
>>96101196
link to pr?
>>
>>96113694
https://github.com/mpv-player/mpv/pull/12384#issuecomment-1726421052
>>
https://github.com/mpv-player/mpv/pull/12433
Let's get this moo-erged too
>>
>>96101196
>>96113779
very cute
>>
>>96113807
>tfw all you want is the new default to cleanup your configs but it's being derailed by catmull
>>
>>96113849
why is haasn so cute? I love her
>>
Why is he poking the ire of libass again? https://github.com/mpv-player/mpv/pull/12438/commits/8111fe3e69
>>
>>96113583
>ewa_lanczos4sharpest
too resource heavy upscaling to 4K, I'd rather use ewa_robidoux like a gentleman (plus it's way sharper)
>>
>>96113868
sharp, fast, artifacts some. simple as
>>
what does a polar sinc-sinc look like for upscaling?
>>
>>96113868
Isn't lanczos2 one of the most popular and widely filters ever? As soon as you change the name to catmull-rom suddenly people take issue
>>
>>96113868
>catmull
it has objectively proven to be the best cscale scaler by a mile (sharper and no ringing at all plus being practically free)
>>
>>96114002
Nigga that is just ewa_lanczos
>>
>>96114027
It isn't, ewa_lanczos is jinc-jinc.

Polar Sinc-sinc looks MUCH sharper.
>>
>>96114047
do you have a comparison? i'm curious
>>
>>96114047
>Polar Sinc-sinc
no one is gonna use an scaler with such a shitty name, it makes you sound like a virgin
>>
>>96114063
not him but you should be able to try it yourself by just setting libplacebo-opts
>>
mpvbros, I've only been out of mpv updates for a month and I encounter this, why did you massacred my boy???

The goal is to provide simple to understand quality/performance level
profiles for the users.

Instead of default and gpu-hq profile. There main profiles were added:
- fast: can run on any hardware
- default: balanced profile between quality and performance
- high-quality: out of the box high quality experience. Intended
mostly for dGPU.

Summary of three profiles, including default one:

[fast]
scale=bilinear
cscale=bilinear (implicit)
dscale=bilinear
dither=no
correct-downscaling=no
linear-downscaling=no
sigmoid-upscaling=no
hdr-compute-peak=no

[default] (implicit mpv defaults)
scale=lanczos
cscale=lanczos
dscale=mitchell
dither-depth=auto
correct-downscaling=yes
linear-downscaling=yes
sigmoid-upscaling=yes
hdr-compute-peak=yes

[high-quality] (inherits default options)
scale=ewa_lanczossharp
cscale=ewa_lanczossharp (implicit)
hdr-peak-percentile=99.995
hdr-contrast-recovery=0.30
allow-delayed-peak-detect=no
deband=yes
scaler-lut-size=8
>>
>>96114121
if your boy is spline36 then he has dubious mathematical reasoning so he's basically illegal
>>
>>96114121
>There main profiles were added
Someone didn't catch a typo
>>
File: offensive.png (3 KB, 617x56)
3 KB
3 KB PNG
What did he mean by this?
>>
>https://github.com/mpv-player/mpv/pull/12433
Wait, why is haasn trying to sneak in the removal of spline36 from the docs? We just had to add Catmull-Rom because of this. I understand he hates it, but come on lol
>>
File: .png (4 KB, 594x77)
4 KB
4 KB PNG
it's over
>>
>>96114293
you can't list every single scaler
>>
>>96114121
>>96102617 fixed that for you
>>
>>96114352
It was a default for how long exactly and now it has been changed, so users will obviously want to check the docs. You might not want to list every scaler but you probably shouldn't remove an existing one either.
>>
>>96114293
>>96114352
>>96114384
it literally doesn't say anything useful about the shader. "Mid quality and speed" doesn't tell you anything useful.
>>
File: 1681920270129968.jpg (45 KB, 600x319)
45 KB
45 KB JPG
>>96114293
>>96114319
new meme
>>
>>96114600
it tells you that it's bellow bussin level
>>
Splineschizos literally in shambles.
>>
>>96114600
>Mid quality and speed.
>Provides good balance between quality and performance
Same thing. What's important is that it was already in the manual, it was recently the default, and that is rather popular so it can be found with ctrl+f. Removal ≠ a fix for a poor description.
>>
If I were haasn I'd remove spline36 from the codebase entirely just to see you guys cry.
>>
>>96114803
>I want to make it more prominent.
>his fast hermite
thankfully he's only biased, not retarded. he has mentioned wanting to autistically fork and strip things down though.
>>
spline36 killed my whole family, I will never forgive and erase it from the face of the Earth even if it is the last thing I do
>>
splinemaggots absolutely btfo'd
>>
>>96114844
To be honest, the entire "turn mpv into a library" thing was rather unnecessary. It ended up as a net positive because he could rewrite things wm4 would've never allowed him to if it wasn't a separate codebase, but in the end of the day wm4 was right. mpv will turn into a libplacebo wrapper eventually and its own rendering code will be removed.

If haasn wanted to remove spline36 literally nobody could stop him. If they made him fork mpv we'd just end up using his fork.
>>
I wonder what the source of haasn's hatred is for spline. It appears to be more than just the math is dumb autism.
wm4? lachs0r? bought by the lanczos gang?
>>
Stop stroking haasn's ego you retards. It's time to rise up and fight for spline36. Let's do this for wm4.
>>
>>96114956
>If they made him fork mpv we'd just end up using his fork.
Considering he stated he would only support his use case, all his supporters would turn on him over night.
>>
>>96114976
can you hear them crawling into haasns butt tonight
>>
>DOCS/options: remove spline36 section
PFFFFHAHAHAHA YOU FUCKING RETARDS GOT WHAT YOU DESERVED
>>
>>96114998
My point is more that haasn is literally the only dev who understands how shit works, and mpv without haasn would pretty much be left on life support.
We don't have wm4 anymore guys, who do you expect to take over? dudemanguy? llyyr? fucking kasper? They'd all go work with haasn on his fork.
>>
haasn is a splinefag though, he recently deleted --tone-mapping=auto and made libplacebo just use spline for everything
>>
>>96115102
Not the same spline.
>>
pick carefully https://slow.pics/c/Qmefmq0V
>>
Good, good. Now let's make gpu-next the defacto default by the end of 2023.
>>
>>96115167
What if we're not careful, wiwaz?
>>
>>96115167
'dashi in the naka
>>
>>96115167
5
>>
>>96115175
let's just rename it to gpu, and old gpu to gpu-deprecated
>>
Reminder that madshi hated Spline36 too, and he was literally on the verge of removing it until some guy on doom9 complained.

It's called 3-tap Spline on madVR.
>>
https://github.com/mpv-player/mpv/commit/1ffe7aacca5e5ecb7b301de9aeb93034203b33d9
FAGGOT
>>
>>96115320
.gg/qxTxVJGtst its time we tell them off
>>
>>96115368
not your personal army faggot
>>
>>96115167
they all look the same to me

its over
>>
>>96115167
Amazing how the defaults make it look splotchy and somehow worse
>>
>>96115320
What is IEW?
>>
How does Daiz fit into all of this?
>>
>>96115368
could not care less about the iew circle jerk where they tweak values they don't understand for the sake of it and cargo cult off each other. these threads are bad enough
>>
>>96115478
He is the one pulling all the strings, from both sides.
>>
>>96115507
>sucessors
daiz actually understood his process and created subjectively ok encodes though
>>
>>96115507
Never heard of them so they are probably a bunch of newfags retards.
>>
>>96115551
You say this but IEW has been the first to call out spline for being bogus while everyone else has been cargoculting it, surely they arent that stupid
>>
>>96115590
>first to call out spline for being bogus
>surely they arent that stupid
plebbit leopardsatemyface moment
>>
this encoder drama is lame, I miss herkz

https://github.com/mpv-player/mpv/pull/12433

lets get this merged thoughie
>>
>>96115551
daiz was an idiot and a warpsharp user
>>
>>96115646
for every mean message you send haa-chan, i will send him a heart emoji to reverse it

HAA-CHAN LOVE!
>>
>>96115658
>warpsharp
hey man, he managed to tune it to make it look aesthetically pleasing even if it didn't match the source. there were far worse warpsharp users
>>
>>96115646
fuck off splinetard, you lost
>>
>>96112962
Spline36's canonical coefficients are wrong though.
>>
^Oh great now we're spreading literal FUD and fake news to smear wm4's character by making him look like a sexpest. I wonder WHO could be behind this post..
>>
>>96115768
IEW has gone too far
>>
https://code.videolan.org/videolan/libplacebo/-/issues/307

Does this mean that the default threshold is being changed to 48 on mpv?
>>
haasn did nothing wrong
>>
merged, it's over
>>
>>96115927
rip
My respect for haasn has dropped significantly
>>
>>96115927
Based.
I love haasn so much.
>>
>>96115927
doom9 in shambles
>>
>>96115927
Next is interpolation. Why fix it when you can remove it? Not my problem. Let's gooo
>>
>DOCS/options: remove potentially offensive language
>It can hurt people's feelings to refer to scalers as "high quality" and
"low quality"
>>
IEW IS DESTROYING MPV THIS IS ALL THEIR FUCKING FAULT, BOTH LANCZOS AND HERMITE WERE PUSHED BY THEM ITS SO FUCKING OVER
>>
>>96116003
Hermite is better than Mitchell at downscaling, get over it faggot.
>>
>>96115980
What's wrong with interpolation?
>>
>>96115980
Seriously. haasn make libplacebo support VRR properly so all the terrible tscale code can be removed.
>>96116003
Hermite was 100% haasn's darling, he wanted it in just because he found a clever way to make it fast. It's basically just a sharper box anyway.
>>
>>96116003
better than spline36 and mitchell THOUGH
>>
>>96115837
>he has the dither depth issue pasted in his mpv.conf
he's also sizumam. look at how similar the names are and consider what he posts when he posts seriously in here.
>>
>>96116003
I agree the lanczos part was questionable since it aliases so badly but this thread has been against mitchell dscale for months.
>>
>>96116003
No offense anon but the metrics have always said lanczos and hermite are good filters. You shouldn't trust them blindly but both of these filters pass the "eyeball" test too.
>>
>>96116045
sizumam uses screenshot-jpeg-source-chroma=no, newfag
>>
>>96115980
no, sounds like a skill issue
>>
>>96116045
Zewia has been in the scene for way too many years. And he would just have used his own github account to report those issues. Take your meds already. I do not have 50 alter egos, you're just terrible at pattern recognition.
>>
>>96116019
Odd vo_gpu_next-only issues like flickering or that frame advance issue when displaying OSD/OSC while paused.
>>
profile=high-quality

Rate my config.
>>
>>96116021
>Seriously. haasn make libplacebo support VRR properly so all the terrible tscale code can be removed.
It does. Try using `plplay`
>>
>>96116100
works on my machine dunno
>>
>>96116109
>``
Back to discord IEWshitter
>>
>>96116102
Unbelievably based.
>>
>>96116102
Lookin' good friend. Have fun with the new and improved mpv ;)
>>
>>96116087
>>96116091
t. wiwaz
>>
>>96116021
>Hermite was 100% haasn's darling
Not true, don't forget it won on artoriuz's downscale metrics
>>
>>96115235
>>96115408
>>96115442
the numbers are deband-threshold, deband-range, deband-grain. base is no debanding.

Also another test to demonstrate why threshold 64 is too high https://slow.pics/c/L7noYlWO
>>
>>96116100
>frame advance issue when displaying OSD/OSC while paused
I also had it flip out and flicker black a few times after resuming when I was trying to test this issue. Only happened once but something obviously isn't right
>>
lanczos and hermite are just objectively correct shut the fuck up already

also stop saying that lanczos "aliases"... aliases compared to what exactly???? and dont fuckin say a polar lanczos or im going to kick your fucking teeth in
>>
>>96116127
It's in 8th place and lost to catrom you fucking cocksucker. Not that haasn cares about metrics, unlike you posers he has an entire github repo for comps. Three, actually.
>>
>>96116102
forgot
vo=gpu-next
>>
>>96116003
cope, lanczos is better than spline36 from every angle but aliasing and hermite is just mitchell but slightly sharper and faster.
spline schizos somehow manage to be even more utterly incorrect than the cscale=bilinear people. if you don't like the marginally increased artifacts with lanczos you only need to set scale-antiring.
>>
>>96116170
This, hdr-peak-percentile and hdr-contrast-recovery only work on gpu-next.
The profile itself should switch to gpu-next.
>>
>>96116100
>Odd vo_gpu_next-only issues like flickering
i've noticed this too but always thought it was inherent and not fixable
>>
>>96116166
apply some common sense, I'm obviously removing EWA filters, so it's only technically 4th, and two of the ones that beat it are the same filter, so it's technically 3rd
>lanczos
>catrom
>hermite
of these only hermite can be made fast
>>
>>96116178
>hermite is just mitchell but slightly sharper and faster.
Hermite has less ringing when downscaling too.
>>
>>96116178
>hermite is just mitchell but slightly sharper and faster
That would be catrom. Hermite behaves very differently, like all B-splines it's functionally clamped to 0 and as a result only has a radius of 1 instead of 2. It looks like shit for upscaling, but it's good for downscaling because it's basically the minimal possible bicubic kernel that has the same desirable mixing properties as triangle and box, but better just from the perceptual constraints in Mitchell 1988.
>>
Hermite doesn't satisfy B + 2C = 1 so I don't like it.
>>
>>96116159
How does this show that, exactly? From where I'm sitting it seems to just show that 32 is too low. 64 looks fine.
>>
mitchell doesn't either, it approaches ~=1 but it will never be a real 1
>>
>>96116277
I fucked up and didn't include a base image in this one, but compare 1 and 3 and look at the shadow on the bookshelf
>>
New meme just dropped, Spline256. Know your rights.
>>
>>96116102
can you just shut the fuck up you fucking faggot go and suck a dick
>>
The manual says Hermite causes blocking so I don't like it.
>>
>>96116187
It's just a no-op otherwise. Doesn't matter really.
>>
>>96116304
how about 12-tap lanczos and pixelclipper instead?
>>
>>96116335
16-tap lanczos plus PC
>>
Why doesn't libplacebo default to vulkan yet?
>>
>>96116330
blocking is le good actually (preserves flat colors)
>>
>potentially offensive language
mitchell
catmull_rom
oversample

crybabies gang spotted, good ol' splinechads can't stop winning
>>
>>96116330
*When upsampling
>>
>https://github.com/mpv-player/mpv/commit/1ffe7aacca5e5ecb7b301de9aeb93034203b33d9
pls, someone screenshot this shit, I bet it's gonna turn another historic moment
>>
>>96116298
Hah. I was just about to ask if I was supposed to be looking at the shadow there. The difference is so small to me compared to the weird waves/worse debanding than source you can get if you go below 64
>>
The sad thing is? All this arguing is pointless because none of it can compete with scale=mitchell + adaptive sharpen.
>>
>>96116373
Why doesn't Vulkan default to working properly yet?
>>
>>96116473
I didn't know it was bugged.
>>
haasn and wiwaz have to be scheming to kill mpv no way haasn just rolls with everything he says
>>
About the make a new pull request:
"Add new filter: ewa_hermite"
>>
>>96116473
Stop using a thinkpad from 2008
>>
>>96116373
Maybe when Vulkan stops pushing my GPU to its highest power state and guzzling 2x the wattage of d3d11.
>>
>>96116492
The guy seems to switch to a new meme every few months, too. Like a shitty Artoriuz but Artoriuz recognizes benefits and detriments of filters he both uses and doesn't use.
>>
>>96116553
>d3d11
lol winbabby
>>
>>96116553
All while having frame times 2x longer, to boot.
>>
>>96116597
>>96116553
vulkan unironically feels smoother on my machine
>>
>>96116565
Seethe, I consume <15W on d3d11 even when using the most memeist of meme compute shaders.

>>96116597
I get better frametimes on Vulkan actually, but it's just a power hog when I'm using compute shaders or EWA filters for some reason.
>>
>>96116640
>Seethe, I consume <15W on d3d11
So? Are you running microsoft's malware on a laptop?
>>
>>96116373
libplacebo doesn't default to anything, it's a rendering library anon
>>
>>96116649
>NOOOO YOU HAVE TO ARTIFICIALLY INCREASE YOUR POWER BILL JUST SO THAT SHADERS COMPILE FASTER!
Thanks but I'm sticking to d3d11. You can keep using broken shit like opengl or vulkan lol. Rossy will get bored with his day job and add d3d12 eventually.
>>
>>96116664
The terminal message without gpu-api=vulkan specified is
>[vo/gpu-next/vulkan] This is not a libplacebo vulkan gpu api context
thoughie, I thought it was libplacebo messing with gpu-next.
>>
>>96116692
Who are you quoting
>>
>>96116373
>>96116664
If you use vf_libplacebo it tries to use Vulkan even if you didn't explicitly init a Vulkan hw device.
>>
>>96116701
A quick grep through source code shows that this message comes from hwdec=vulkan

Are you trying to combine hwdec=vulkan with gpu-api=opengl??
>>
>>96116720
Me. More power = More placebo.
>>
>>96116720
You, because apparently you don't care about power usage. You don't need to be shittop user to care about this stuff. mpv isn't a video game. I don't need vulkan, and neither do you.
>>
>>96116741
>Are you trying to combine hwdec=vulkan with gpu-api=opengl
I was checking to see if gpu-api=vulkan had become the default or was implied by hwdec=vulkan. I wanted to debloat my config :(
>>
>>96116763
>you don't care about power usage
Yes. Why would you care about power usage on a desktop?
>>
why is the window called quadric in mpv but quadratic in imagemagick
>>
>>96116787
Some of us pay our own bills.
>>
>>96116800
And running your GPU at 15W vs 30W or 60W is going to break your bank?
>>
>>96116795
libplacebo does not have this problem
>>
>>96116795
a quadric is an n-dimensional quadradic. haasn had a penchant for generalizing shit to 3d for a while there (see sphinx, lmfao).
>>
>>96116816
No but why should I heat up my GPU and wear out my fans for no reason?
>>
>>96116872
Is your card 10 years old or something? Why would you ever think about that.
>>
>>96116872
And buying new fans is going to break your bank?
>>
this is the krigtard poorfagschizo isn't it
>>
>>96116872
>no reason?
I thought shaders compiled faster?
>>
>>96116898
>>96116900
Kill yourself haasn. I'm not using vulkan to watch videos. Talk to me when web browsers move to vulkan.
>>
>>96116429
>she/her is now contributor to mpv
lmao kek even
>>
>>96116914
ew don't call me haasn
>>
>>96116912
Oh yeah I'm sure my 4080 is really struggling to compile meme shaders, I really need to use Vulkan for that!

Still using d3d11.
>>
>>96116564
and yet, artoriuz never called out spline36..
>>
>>96116947
So shaders don't compile faster?
>>
>>96116956
Artoriuz is was too scared, the spline36cult was posturing too hard, but he didn't realize that no one actually uses spline36 unironically.
>>
>>96116959
d3d11 doesn't even need to compile shaders. it's all in the driver. shaderc a fuck.
>>
>>96116959
Shader cache is a thing retard, who cares if the compile slowly or quickly? It will just compile once and you're done. You never have to worry about shader compilations ever in your life.
>>
>>96116988
But shaders do compile faster then?
>>
>>96117011
Who. Fucking. Cares.
>It will just compile once and you're done. You never have to worry about shader compilations ever in your life.
>>
what did VK_KHR_synchronization2 do in libplacebo before it was removed?
>>
1080p -> 1440p

mpv --no-config --vo=gpu-next --profile=gpu-hq --gpu-api=vulkan --hwdec=no --scale=ewa_lanczos4sharpest --cscale=ewa_lanczos4sharpest "Akame ga Kill - OP02.mkv"

mpv --no-config --vo=gpu-next --profile=gpu-hq --gpu-api=d3d11 --hwdec=no --scale=ewa_lanczos4sharpest --cscale=ewa_lanczos4sharpest "Akame ga Kill - OP02.mkv"

GPU-Z:

GPU Chip Power Draw:
d3d11=21.7W
Vulkan=21.7


Literally no difference on nvidia, sounds like an AMD issue lol
>>
>>96116978
?
>>
>>96117040
reduce boilerplate in libplacebo, but it limited compatibility by a lot for no good reason so it was reverted
>>
>>96117011
d3d11 does not rely on shaderc
>>
https://github.com/mpv-player/mpv/pull/12440
MAKE IT STOOOOOOOOOP
>>
>shaders/sampling: tune default debanding parameters

Will we be getting parity in mpv with this change?
I'm assuming this is
deband-threshold=48
deband-grain=32
>>
>>96117131
What big is 256? --scaler-lut-size=8?
>>
>>96117148
>What big is 256? --scaler-lut-size=8?
Yes.
>>
>>96117088
It does.
>>
>>96117131
Almost had a melty until I saw the 256. 6 was always too low, enough to change several hues.
>>
>>96117029
So they don't compile faster?
>>
>>96117195
Compile this.
*unzips cock*
>>
>>96117140
https://github.com/mpv-player/mpv/pull/12441
>>
>>96117278
>>
>>96117274
Nice. I'll still be using 64|24 or 64|16 for deband though.
>>
>>96114293
>>96114638
erasing every trace of wm4 from existence



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.