FillMargins
From Avisynth wiki
Abstract | |
---|---|
Author | Tom Barry |
Version | v1.0.2.0 |
Download | FillMargins.zip |
Category | Borders and Cropping |
License | GPLv2 |
Discussion | Doom9 Thread - Update |
Contents |
Description
Sometimes a video clip has black borders or garbage at the four edges. This looks ugly and does not compress well but possibly you don't want to crop because you have to keep the diminsions as a multiple of 16 or some other number.
FillMargins is a simple AviSynth filter that fills the four margins of a video clip with the outer pixels of the unfilled portion.
Note: FillBorders is recommended as a modern drop-in replacement for FillMargins.
Requirements
- MMX capable CPU
Syntax and Parameters
- FillMargins (clip, int, int, int, int)
- clip =
- Input clip.
- clip =
- int =
- int =
- int =
- int =
- left, top, right, bottom: these 4 interger parameters specify the size of the left, top, right, and bottom margins. These may be any value and do not have to be any particular multiple. Since YV12 chroma contains only half the luma data it will fill num/2 chroma pixels.
- Note: all parameters are unnamed and do not have a default so they must be specified.
- int =
Examples
AviSource("Blah.avi") FillMargins(5,7,2,0) # (left, top, right, bottom)
Changelog
Version Date Changes
v1.0.2.0 2003/06/18 - fix right margin OBO error - smooth top & bottom margins a bit v1.0.1.0 2003/xx/xx - cure dyslexic input parameters v1.0.0.0 2003/04/01 - first release
Archived Downloads
Version | Download | Mirror |
---|---|---|
v1.0.2.0 | FillMargins.zip | fillmargins_25_dll_20030618.zip |
External Links
- Tom Barry's homapage - FillMargins official documentation.
- avisynth.org.ru - FillMargins documentation.
Back to External Filters ←