Grid: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
No edit summary |
|||
| Line 12: | Line 12: | ||
== Description == | == Description == | ||
<!-- a one-sentence description --> | <!-- a one-sentence description --> | ||
Grid lines are drawn as dotted lines, while those specified as bold are drawn as dashed lines and very bold ones are drawn as full lines. [http://www.avisynth.nl/users/vcmohan/Grid/Grid.html Full Description] | |||
<br> | |||
== Requirements == | == Requirements == | ||
* AviSynth+ r2347 or later | * AviSynth+ r2347 or later | ||
| Line 23: | Line 24: | ||
<br> | <br> | ||
::{{Par2| |clip| }} | ::{{Par2| |clip| }} | ||
::: Input clip | ::: Input clip | ||
<br> | <br> | ||
::{{Par2|sf|int|0}} | ::{{Par2|sf|int|0}} | ||
::: Grid display to start from frame number | ::: Grid display to start from frame number | ||
<br> | <br> | ||
::{{Par2|ef|int|last frame of clip}} | ::{{Par2|ef|int|last frame of clip}} | ||
::: Grid display to end on frame number | ::: Grid display to end on frame number | ||
<br> | <br> | ||
::{{Par2|lineint|int|10}} | ::{{Par2|lineint|int|10}} | ||
::: Grid line (dotted) interval in pixels | ::: Grid line (dotted) interval in pixels | ||
<br> | <br> | ||
::{{Par2|bold|int|5}} | ::{{Par2|bold|int|5}} | ||
| Line 39: | Line 40: | ||
<br> | <br> | ||
::{{Par2|color|int|0}} | ::{{Par2|color|int|0}} | ||
::: Color of grid line | ::: Color of grid line | ||
<br> | <br> | ||
::{{Par2|bcolor|int|color}} | ::{{Par2|bcolor|int|color}} | ||
::: Color of bold line | ::: Color of bold line | ||
<br> | <br> | ||
::{{Par2|vbcolor|int|color}} | ::{{Par2|vbcolor|int|color}} | ||
::: Color of very bold line | ::: Color of very bold line | ||
<br> | <br> | ||
::{{Par2|grid|bool|true}} | ::{{Par2|grid|bool|true}} | ||
::: Whether grid lines to be displayed | ::: Whether grid lines to be displayed | ||
<br> | <br> | ||
::{{Par2|axis|bool|false}} | ::{{Par2|axis|bool|false}} | ||
::: Whether axis lines to be displayed | ::: Whether axis lines to be displayed | ||
<br> | <br> | ||
Revision as of 21:22, 18 June 2018
| Abstract | |
|---|---|
| Author | V.C.Mohan |
| Version | 21 Mar 2017 |
| Download | Download |
| Category | External filters |
| License | GPLv2 |
| Discussion | Announced Grid plugin |
Description
Grid lines are drawn as dotted lines, while those specified as bold are drawn as dashed lines and very bold ones are drawn as full lines. Full Description
Requirements
- AviSynth+ r2347 or later
- Grid (clip, int "sf", int "ef", int "lineint", int "bold", int "vbold", int "color", int "bcolor", int "vbcolor", bool "grid", bool "axis")
- clip =
- Input clip
- clip =
- int sf = 0
- Grid display to start from frame number
- int sf = 0
- int ef = last frame of clip
- Grid display to end on frame number
- int ef = last frame of clip
- int lineint = 10
- Grid line (dotted) interval in pixels
- int lineint = 10
- int bold = 5
- int bold = 5
- int vbold = 2
- int vbold = 2
- int color = 0
- Color of grid line
- int color = 0
- int bcolor = color
- Color of bold line
- int bcolor = color
- int vbcolor = color
- Color of very bold line
- int vbcolor = color
- bool grid = true
- Whether grid lines to be displayed
- bool grid = true
- bool axis = false
- Whether axis lines to be displayed
- bool axis = false
Examples
Grid(last,24,200,25,4,5,$ff0000,$7f0000,$5f0000,true,false)
- For grid lines and very bold lines only (vbold=1 ensures it)
Grid(last,24,200,10,10,1) Grid(last,24,200,color=255)
- Fbold lines will not be displayed as large value ensures out of frame
Grid(last,24,200,vbold=7000) Grid(last,24,200,grid=false,axis=true)
Back to External Filters ←