mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
27.84k stars 2.87k forks source link

Any way to undo scaling that is encoded into the video? debilinear & debicubic #10418

Closed lextra2 closed 1 year ago

lextra2 commented 2 years ago

I want to undo bilinear upscaling that has been encoded into a video. De-bilinear down to 1280x720 and then let scale=spline36 do the rest. Would be useful for older animes.

Something like this is what I'm talking about.

snylonue commented 2 years ago

mpv supports vapoursynth as a filter Or you can write a shader, which can be easier to configure and more performant.

hooke007 commented 2 years ago

vf=scale=w=1280:h=720:flags=bilinear

Akemi commented 2 years ago

vf=scale=w=1280:h=720:flags=bilinear

that's not descaling or debilinear but just scaling down. it doesn't use the inverse kernel.

Dudemanguy commented 1 year ago

Old but mpv is not really the right tool for this. I guess you could theoretically use a shader or a vapoursynth filter, but I would suggest not involving mpv at all for this.