Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AutoOverlay (PKA AutoAlign) discussion
#11
v0.1.5 released https://github.com/introspected/AutoOver.../tag/0.1.5
Reply
Thanks given by: spoRv
#12
Thanks! Eagerly waiting to know about new features... later! Wink
Reply
Thanks given by:
#13
v0.1.6 released https://github.com/introspected/AutoOver.../tag/0.1.6
Reply
Thanks given by: spoRv
#14
Thanks for the update!

May I ask you a feature? It would be nice to have another mode, where, instead of leaving empty borders or using ambilight, an impaint is used (I think about exinpaint in particular), or, at least, have the chance to get angle colors different from the rest of the borders (for example, a deep red) so that it would be possible to use an impaint filter; I know that it would never be perfect for the whole movie, but in some stationary shots, it should work quite well!
Reply
Thanks given by:
#15
You can use exinpaint already. Just introduce new mask clip with OverlayRender.mode=6.
Reply
Thanks given by:
#16
Thanks! May you write a simple example, please? Blush
Reply
Thanks given by:
#17
Try this

updated #2:
Code:
mask=OverlayRender(OM, WS, mode=6).ConvertToRGB24().Overlay(OverlayRender(OM.BlankClip(color=$FFFFFF), WS.BlankClip(color=$FFFFFF), mode=4).ConvertToRGB24().Invert(), mode="lighten").RGBAdjust(rb=-254, gb=-254, bb=-254)

OverlayRender(OM, WS, debug=false, colorAdjust=0, matrix="", opacity=1,  gradient=2, noise=50, upsize=renderResize, downsize=renderResize, mode=3)

ExInpaint(ConvertToRGB24(), mask, $000000, radius=150)

It will be extremely slow Smile
Reply
Thanks given by:
#18
It doesn't work... Cry  keeps says "planar destination width must be a multiple of 2!" which it is, indeed!


Code:
OM=dvd2 # 1920 x  772
WS=hdtv # 1920 x 1080

config=OverlayConfig(subpixel=2,requiredSampleArea=5000,minSampleArea=3000)
OverlayEngine(OM.ConvertToY8(), WS.ConvertToY8(), configs=config,editor=false,backwardFrames=3,forwardFrames=3)

mask=OverlayRender(OM, WS, mode=6).ConvertToRGB24().Overlay(OverlayRender(OM.BlankClip(color=$FFFFFF), WS.BlankClip(color=$FFFFFF), mode=4).ConvertToRGB24().Invert(), mode="lighten")

OverlayRender(OM, WS, debug=false, colorAdjust=0, matrix="", opacity=1,  gradient=2, noise=50, mode=3, upsize="Spline64Resize",width=1920)

return ExInpaint(ConvertToRGB24(), mask, $000000)


what am I doing wrong?
Reply
Thanks given by:
#19
I updated the script previously, check it. And OverlayRender accepts only YV24 and RGB24, not YV12.
Reply
Thanks given by:
#20
You haven't specified a destination width for the first two OverlayRenders, might that be the issue?
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  home 7.1 releases - general discussion spoRv 7 3,056 2021-10-11, 05:51 PM
Last Post: spoRv
  Recordable blu-ray disc general discussion spoRv 6 7,917 2017-05-20, 11:37 AM
Last Post: spoRv

Forum Jump:


Users browsing this thread: 5 Guest(s)