VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Is there a semi-intelligent fill filter? I thought I had it all down with MSU's logo remover but instead of extrapolating from the existing picture into the black space, it extrapolated from black space into the picture and blurred so it looks worse.

    Since it's only 3 pixels on every side except bottom, the quality of the filler doesn't matter that much as long as it does it right.
    Quote Quote  
  2. Stab itself can be made to fill. It uses Depan and from the Depan doc:

    Parameters of DePan:

    .

    .

    mirror - fill empty borders with mirrored from frame edge pixels (instead of black):

    0 - no mirror (default);
    1 - top;
    2 - bottom;
    4 - left;
    8 - right;
    sum any of above - combination (15 - all ).

    So, near the bottom of the Stab.avs I edited it to:

    DePan(inter,data=mdata,offset=-1,Mirror=5)
    Quote Quote  
  3. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    FillMargins
    http://neuron2.net/trbarry/downloads.html

    FillMargins is a simple Avisynth filter that fills the four margins of a video
    clip with the outer pixels of the unfilled portion. It takes integer 4 parms
    specifying the size of the left, top, right, and bottom margins. These may be
    any value and do not have to be any particular multiple.
    so:
    FillMargins(3,3,3,0)
    should do it
    Quote Quote  
  4. These won't do. There should be a bi-directional frame compensation. I never thought only 3 (even 2) pixels would make a noticeable difference. Observe the top of the moon.

    I guess I will have to crop, but at least I figured out that only the top and left side need cropping. Why is this? Does a video never wobble downward as well as upward?
    Image Attached Thumbnails Click image for larger version

Name:	mirrorfail.JPG
Views:	329
Size:	22.8 KB
ID:	14758  

    Quote Quote  
  5. Well I've pulled an alternative trick out of my sleeve. The top and left borders have no real reason to be blacked out by stab so I replaced them with the borders of the unstabbed original.

    Script:
    Code:
    s=avisource("C:\vid.avi").stab().crop(2,2,0,0)
    e=avisource("C:\vid.avi")
    
    top=e.crop(2,0,0,-538)
    left=e.crop(0,0,-958,0)
    
    f=stackvertical(top,s)
    
    stackhorizontal(left,f)
    Observe the moon. Way better than the crappy fill filters.
    Image Attached Thumbnails Click image for larger version

Name:	before.jpg
Views:	289
Size:	156.8 KB
ID:	14762  

    Click image for larger version

Name:	after.jpg
Views:	260
Size:	154.1 KB
ID:	14763  

    Quote Quote  
  6. That approach might work for this shot, but it might look bad in other sections
    Quote Quote  



Similar Threads

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