2018-02-02, 12:08 PM
(This post was last modified: 2018-02-02, 12:10 PM by CSchmidlapp.)
So this is the script I'm now using. I removed the AspectRatio values as they we're making no diffefence to the following
and here is a render of a frame.
![[Image: RPh.jpg]](https://malzo.com/i/2018/02/02/RPh.jpg)
If you look around the 'cup' area on the table, and the top left corner I can see it's not aligned.
The 'cup' is in the gradient area at the very bottom of the overlay clip (BD).
What parameters is it I play with to correct this?
Code:
LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\AvsFilterNet.dll")
LoadNetPlugin("C:\Program Files (x86)\AviSynth\plugins\AutoOverlay.dll")
OM=AVISource("The Quest DVD open.avi")
WS=AVISource("The Quest BD.avi")
config=OverlayConfig(requiredSampleArea=3000)
OverlayEngine(OM.ConvertToY8(), WS.ConvertToY8(), configs=config, editor=false, backwardFrames=5, forwardFrames=8, maxDiff=10)
OverlayRender(OM.ConvertToYV24(), WS.ConvertToYV24(), debug=false, upsize="Spline64Resize", mode=1, gradient=20, noise=80, lumaOnly=true, coloradjust=1, opacity=1, width=1920, height=1080)\
.converttoYV12![[Image: RPh.jpg]](https://malzo.com/i/2018/02/02/RPh.jpg)
If you look around the 'cup' area on the table, and the top left corner I can see it's not aligned.
The 'cup' is in the gradient area at the very bottom of the overlay clip (BD).
What parameters is it I play with to correct this?


