Log in

View Full Version : CentreTracker Output AVS Script


biscuitwizard
6th March 2022, 13:37
Hello all,

I'm trying to stabalise some cinefilm using CentreTracker as described here https://forum.doom9.org/showthread.php?t=165511.

There's a remark made about the output AVS file being faulty, which seems to be the problem I'm having as it doesn't stabilise although there's a full x/y coordinate file.

Output file:

clip=avisource("D:/Test6/Test6 1.avi").converttoRGB32
ScriptClip(clip, "Subtitle(String(YDifferenceFromPrevious))")
clipf=fliphorizontal(clip)
clipfv=flipvertical(clipf)
clipv=flipvertical(clip)
ScriptClip(clip, "Subtitle(String(YDifferenceFromPrevious))")
ScriptClip(clip,"x=(ol_x_offset<0) ? 0:ol_x_offset"+chr(13)+"y=(ol_y_offset<0) ? 0:ol_y_offset"+chr(13)+"""overlay(blankclip,clip,x=0,y=0,mode="blend",opacity=1)""")
ConditionalReader("x.txt", "ol_x_offset", false)
ConditionalReader("y.txt", "ol_y_offset", false)


There's a remark about 'feeding a blank clip' but I can't understand what's meant by that, can anybody help?

Cheers,
BW