VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. If i use an filter e.g. "Fill" to draw a black box in center of frame 100x200px, is there way to somehow animate this box position between frames 0 and 100 moving it down smoothly in other frames in between?

    Frame 0


    Frame 100


    Any third party filter out there that can animate other filters?

    P.S. i am not looking for AviSynth solution pure VirtualDub GUI.
    Quote Quote  
  2. I don't think you can do it in VirtualDub with the Fill filter. But in AviSynth something like:

    http://avisynth.nl/index.php/Animate

    Code:
    ##########################################################################
    #
    #  Fill a rectangular box with a specified color.
    #
    ##########################################################################
    
    
    function BoxFill(clip v, int x, int y, int w, int h, int color)
    {
       BlankClip(v, color=color)
       Crop(0, 0, w, h)
       Overlay(v, last, x, y)
    }
    
    ##########################################################################
    
    
    ColorBars()
    Trim(0,100)
    Animate(0, 100, "BoxFill", 288,50,64,128,color_black,    288,150,64,128,color_black)
    Image Attached Files
    Last edited by jagabo; 9th Jun 2023 at 08:15.
    Quote Quote  
  3. Even with Avisynth ConditionalReader() that supposed to make life easier i find it nightmare to move black bars around moving person face when handheld camera is shaking, and i must do it before stabilizing video.

    If there was GUI things could have been done way faster.
    Quote Quote  
  4. Originally Posted by VidNoob123 View Post
    Even with Avisynth ConditionalReader() that supposed to make life easier i find it nightmare to move black bars around moving person face when handheld camera is shaking, and i must do it before stabilizing video.

    If there was GUI things could have been done way faster.

    That's what a NLE / compositing tool is for . They have tools for motion tracking, rotoscoping

    It's insanity trying to do that accurately in avisynth. vdub and avisynth are nice tools for other things, but the wrong tools for that job

    Why "must you do it before stabilizing the video" ? People stabliize the video beforehand, so the masking is easier. You can reverse stabilize, or revert the stabilization after, or keep it, or use some degree of stablization
    Quote Quote  



Similar Threads

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