VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Jan 2022
    Location
    United Kingdom
    Search Comp PM
    Hello all,

    I'm trying to stabalise some cinefilm using CentreTracker as described here on doom9 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:
    Code:
    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
    Quote Quote  
  2. The script worked for me with x and y files that looked like:

    Code:
    TYPE int
    DEFAULT 0
    0 0
    1 10
    2 20
    3 30
    4 40
    5 50
    6 60
    7 70
    8 80
    9 90
    At frame 2 x and y offsets = 20:

    Image
    [Attachment 63753 - Click to enlarge]
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!