FillMargins
From Avisynth wiki
(Difference between revisions)
m (→Syntax and Parameters: minor rewording) |
m (a few minor things) |
||
Line 6: | Line 6: | ||
|4=Borders and Cropping | |4=Borders and Cropping | ||
|5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | |5=[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
− | |6=[http://forum.doom9.org/showthread.php?t=50132 Doom9 Thread] | + | |6=[http://forum.doom9.org/showthread.php?t=50132 Doom9 Thread] - [http://forum.doom9.org/showthread.php?t=55881 Update] |
− | [http://forum.doom9.org/showthread.php?t=55881 | + | |
}} | }} | ||
Line 17: | Line 16: | ||
<br> | <br> | ||
== Requirements == | == Requirements == | ||
− | * AviSynth 2.5.8 or | + | * AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater] |
* Supported color formats: [[YV12]] | * Supported color formats: [[YV12]] | ||
Line 42: | Line 41: | ||
== Changelog == | == Changelog == | ||
Version Date Changes<br> | Version Date Changes<br> | ||
− | v1.0.2.0 2003/ | + | v1.0.2.0 2003/06/18 - fix right margin OBO error |
- smooth top & bottom margins a bit | - smooth top & bottom margins a bit | ||
− | v1.0.1.0 2003/ | + | v1.0.1.0 2003/xx/xx - cure dyslexic input parameters |
v1.0.0.0 2003/04/01 - first release | v1.0.0.0 2003/04/01 - first release | ||
<br> | <br> |
Revision as of 02:53, 25 October 2015
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.
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 ←