Selur's Little Message Board
ProPainter Vapoursynth filter - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html)
+--- Forum: Small Talk (https://forum.selur.net/forum-7.html)
+--- Thread: ProPainter Vapoursynth filter (/thread-3720.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: ProPainter Vapoursynth filter - Selur - 29.06.2024

Ah, okay, I assumed/hoped that they would use another model or analyze the surrounding frames differently. So my previous tests were 'correct'.
As it is, you are correct, adding this to the normal release doesn't change anything, but thanks for looking into it. Smile
So for outpainting atm. something like midjorney would be needed, which really would be overkill.

Cu Selur

Ps.: there is hope, https://be-your-outpainter.github.io/ (https://arxiv.org/pdf/2403.13745) looks impressive. (no source code as far as I see atm.)


RE: ProPainter Vapoursynth filter - Dan64 - 29.06.2024

To be more precise there is some little difference between the inpainting and outpainting mode.

As example consider this frame

[Image: attachment.php?aid=2597]

Using the inpainting mode with the mask on the edges is obtained this frame

[Image: attachment.php?aid=2598]

while using the outpainting mode, the lateral edges are a little better

[Image: attachment.php?aid=2599]

Since this clip is moving only up, ProPainter is able to draw successfully the upper/lower edges, but has not enough information to draw successfully the lateral edges.

I will release a new version with the outpainting mode implemented.

In the new release will be the following functions:
  •  propainter_inpaint() : exactly the same as previous propainter()
  •  propainter_outpaint() : propainter in outpainting mode
  •  propainter() : a wrapper to the 2 functions above (with defaults switching to propainter_inpaint).

Is up to you decide if add the outpainting mode or not.

Dan


RE: ProPainter Vapoursynth filter - Selur - 29.06.2024

I'll add support for it in Hybrid, since at least for small edges it seems helpful.

Cu Selur


RE: ProPainter Vapoursynth filter - Dan64 - 29.06.2024

Published the new release: https://github.com/dan64/vs-propainter/releases/tag/v1.2.0

Dan


RE: ProPainter Vapoursynth filter - Selur - 29.06.2024

Will send you a new link once I added it to Hybrid. Smile

Cu Selur


RE: ProPainter Vapoursynth filter - Selur - 29.06.2024

Argh, integration is trickier than anticipated.
Not sure how I can properly incorporate ProPainers outpainting in Hybrid, output resolution handling gets tricky when a filter can change the resolution and that filter is no resizer,... Big Grin
=> this will take a while
(atm. Hybrid can rely on a fixed order between Crop < Rotation < Resize < Letterbox, and thus handle PAR&Co properly)

Cu Selur


RE: ProPainter Vapoursynth filter - Selur - 29.06.2024

Send you a link to a propainter dev Hybrid version which should work fine with outpainting.

Cu Selur


RE: ProPainter Vapoursynth filter - Dan64 - 29.06.2024

The new dev version is working fiine.

Thanks,
Dan