mpv icon indicating copy to clipboard operation
mpv copied to clipboard

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

Open lextra2 opened this issue 3 years ago • 3 comments

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.

lextra2 avatar Jul 15 '22 20:07 lextra2

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

snylonue avatar Jul 19 '22 23:07 snylonue

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

hooke007 avatar Aug 22 '22 18:08 hooke007

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.

Akemi avatar Aug 22 '22 20:08 Akemi

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.

Dudemanguy avatar Aug 09 '23 03:08 Dudemanguy