BorderControl
From Avisynth wiki
		
		
		
| Abstract | |
|---|---|
| Author | Simon Walters | 
| Version | v1.4 | 
| Download | bordercontrol14.zip | 
| Category | Borders and Cropping | 
| License | GPLv2 | 
| Discussion | Doom9 Thread | 
| Contents | 
Description
BorderControl lets you manipulate the frame borders to disguise poor source material defects such as VCR head-switching noise or any other border artifacts. BorderControl is designed to allow you to manipulate the regions at the top, bottom and sides of a frame. Set a black border, set a border region to be faded out and you can "smear" the border to save having to crop and resize the whole frame for the sake of a few pixels. Each border (top,bottom.left and right) can be manipulated independently.
Requirements
Syntax and Parameters
- BorderControl (clip, int "YBB", int "YBF", itn "YBS", int "YBSF", int "YTB", int "YTF", int "YTS", int "YTSF", int "XLB", int "XLF", int "XLS", int "XLSF", int "XRB", int "XRF" int "XRS", int "XRSF")
- clip    =   
 - Input clip.
 
 
- clip    =   
- int  YBB = 0 
 - Y Bottom Border.
 
 
- int  YBB = 0 
- int  YBF = 0 
 - Y Bottom Fade.
 
 
- int  YBF = 0 
- int  YBS = 0 
 - Y Bottom Smear.
 
 
- int  YBS = 0 
- int  YBSF = 0 
 - Y Bottom Stretch Factor.
 
 
- int  YBSF = 0 
- int  YTB = 0 
 - Y Top Border.
 
 
- int  YTB = 0 
- int  YTF = 0 
 - Y Top Fade.
 
 
- int  YTF = 0 
- int  YTS = 0 
 - Y Top Smear.
 
 
- int  YTS = 0 
- int  YTFS = 0 
 - Y Top Stretch Factor.
 
 
- int  YTFS = 0 
- int  XLB = 0 
 - X Left Border.
 
 
- int  XLB = 0 
- int  XLF = 0 
 - X Left Fade.
 
 
- int  XLF = 0 
- int  XLS = 0 
 - X Left Smear.
 
 
- int  XLS = 0 
- int  XLSF = 0 
 - X Left Stretch Factor.
 
 
- int  XLSF = 0 
- int  XRB = 0 
 - X Right Border.
 
 
- int  XRB = 0 
- int  XRF = 0 
 - X Right Fade.
 
 
- int  XRF = 0 
- int  XRS = 0 
 - X Right Smear.
 
 
- int  XRS = 0 
- int  XRSF = 0 
 - X Right Stretch Factor.
 
 
- int  XRSF = 0 
- All parameters default to 0.
- The plugin accepts up to 16 parameters, 4 for each border. I suggest you don't use them all at once :-)
- There are 4 prefixes: YB,YT,XL and XR for bottom,top,left and right borders.
- There are 4 suffixes: B for Border - this sets the amount of solid border, F for Fade, S for Smear and SF for SmearFactor.
- Increasing SmearFactor (having first set the Smear value correctly) can help disguise the smear region at the expense of increasing the area being processed. I suggest using even values for YTSF and YBSF when dealing with interlaced material.
- Note: The left and right parameters get doubled by the filter as I haven't sorted out how to deal properly with having 1 chroma sample for very 2 luminance ones yet :-(
 
Examples
Put a solid black border at the bottom and smear some lines at the top of the picture.
AviSource("Blah.avi") BorderControl(YBB=16,YTS=32)
Changelog
Version Date Changes
v1.4 02/16/2003 - Works with YV12 colourspace as well as YUY2. v1.3 02/11/2003 - Recompiled for AviSynth 2.5 v1.1 09/24/2002 - Changed algorithm for the top and bottom use of SmearFactor - should work better with interlaced material - let me know if you don't like the change! v1.0 09/12/2002 - 1st release
Archived Downloads
| Version | Download | Mirror | 
|---|---|---|
| v1.4 | bordercontrol14.zip | bordercontrol_25_dll_20030216.zip | 
| v1.3 | bordercontrol13.zip | |
| v1.1 | bordercontrol11_avs.zip | 
External Links
- Simon Walter's homapage - BorderControl official documentation.
- avisynth.org.ru - BorderControl documentation.
Back to External Filters ←
