Asd-g / avslibplacebo

AviSynth+ libplacebo.
GNU General Public License v3.0
25 stars 2 forks source link

ewa_lanczos4sharpest not recognized #10

Closed tormento closed 10 months ago

tormento commented 10 months ago

Using

libplacebo_Resample(960,516,filter="ewa_lanczos4sharpest")

gives me the error

image

Edit: neither ewa_lanczossharp works. Seems that the new kernels are not recognized. Yes, I updated the correct dll ;)

P.S: Why did you remove so many switches in 1.5.0?

Asd-g commented 10 months ago

Make sure you don't have loaded older avs_libplacebo version.

You will encounter error because of the height. A height smaller than 540 will raise error (probably libplacebo regression).

The removed parameters are depreciated/removed in the latest libplacebo API.

tormento commented 10 months ago

This is the version that I am currently using:

image

The plugin works perfectly with lanczos or mitchell kernels (and others), at that very same resolution.

Asd-g commented 10 months ago

I have no issues - https://images2.imgbox.com/05/44/trlZhl3g_o.png

Are you upscaling?

tormento commented 10 months ago

This is wicked.

I am downscaling.

EDIT: I think I have found the issue. I had a older version dug with another name in the predefined AVS+ path.

What the hell. Sorry man. Unfortunately I can't test right now as I still have 18 hours of encoding but I think it's ok.

tormento commented 10 months ago

As I thought it was the older version giving me problems.

Anyway, I have tested thoroughly the new resampling filters and ewa_lanczos4sharpest gives me the error

image

while ewa_lanczos and ewa_lanczossharp don't.

I have tested the script, bare minimum with resample only and a grey screen in given as output.

Asd-g commented 10 months ago

Already reported.

Still these filters (ewa family) shouldn't be used for downscaling. There is a list of upscalers/downscalers here.

I will set different default filter for downscaling different than upscaling.