ExampleFilter: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs) Undo revision 4893 by Raffriff42 (talk) |
Raffriff42 (talk | contribs) remove HTML comments from template params |
||
| Line 16: | Line 16: | ||
# If your title ''is'' unique, you will be greeted with the "There is currently no text in this page" banner. Click on the "edit this page" link. | # If your title ''is'' unique, you will be greeted with the "There is currently no text in this page" banner. Click on the "edit this page" link. | ||
# Paste the source code you copied in Step 2. | # Paste the source code you copied in Step 2. | ||
# | # Fill in as much information as you can. Leave the rest. | ||
# Click the Show Preview button to see how your page will look. | # Click the Show Preview button to see how your page will look. | ||
# Click the Save page button to create the new page. | # Click the Save page button to create the new page. | ||
| Line 31: | Line 31: | ||
<!-- ================= END INSTRUCTIONS ================= --> | <!-- ================= END INSTRUCTIONS ================= --> | ||
{{FilterCat4|External_filters|Plugins| | {{FilterCat4|External_filters|Plugins|TODO|TODO}} | ||
{{Filter3 | {{Filter3 | ||
| | |My Name | ||
| | |1.0.0.0.0 | ||
| | |[http://google.com ExampleFilter.com] | ||
| | |External filters | ||
| | |[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
| | |[http://doom9.org Announcing ExampleFilter]}} | ||
<br> | <br> | ||
== Description == | == Description == | ||
| Line 57: | Line 57: | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
:{{Template:FuncDef| | :{{Template:FuncDef|ExampleFilter (''clip'', ''par1type'' "par1name", ''par2type'' "par2name", ''par3type'' "par3name", ''par4type'' "par4name", ''par5type'' "par5name", ''par6type'' "par6name", ''par7type'' "par7name", ''par8type'' "par8name", ''par9type'' "par9name")}} | ||
<br> | <br> | ||
::{{Par2| |clip| }} | ::{{Par2| |clip| }} | ||
:::Input clip. | :::Input clip. | ||
<br> | <br> | ||
::{{Par2| | ::{{Par2|par1type|par1name|par1defaultvalue}} | ||
::: | :::Example description for parameter ''blah''. | ||
<br> | <br> | ||
::{{Par2| | ::{{Par2|par2type|par2name|par2defaultvalue}} | ||
::: | :::par 2 description | ||
<br> | <br> | ||
::{{Par2| | ::{{Par2|par3type|par3name|par3defaultvalue}} | ||
::: | :::par 3 description | ||
<br> | <br> | ||
::{{Par2| | ::{{Par2|par4type|par4name|par4defaultvalue}} | ||
::: | :::par 4 description | ||
<br> | <br> | ||
::{{Par2| | ::{{Par2|par5type|par5name|par5defaultvalue}} | ||
::: | :::par 5 description | ||
<br> | <br> | ||
::{{Par2| | ::{{Par2|par6type|par6name|par6defaultvalue>}} | ||
::: | :::par 6 description | ||
<br> | <br> | ||
::{{Par2| | ::{{Par2|par7type|par7name|par7defaultvalue}} | ||
::: | :::par 7 description | ||
<br> | <br> | ||
::{{Par2| | ::{{Par2|par8type|par8name|par8defaultvalue}} | ||
::: | :::par 8 description | ||
<br> | <br> | ||
::{{Par2| | ::{{Par2|par9type|par9name|par9defaultvalue}} | ||
::: | :::par 9 description | ||
<br> | <br> | ||
Revision as of 22:36, 5 November 2014
Welcome filter authors! To help you document your filter in this Wiki, here is a template to get you started.
Instructions:
- Right-Click the Edit tab at the top of this page and open in a new browser tab. Keep the instructions open in this tab for reference.
- In the new tab, you will see a page full of Wiki code (the source code for this very page); copy everything below "END INSTRUCTIONS" to the clipboard.
- In the new tab, edit the page URL:
- Replace ?title=ExampleFilter with /YourFilterName
- Your filter name should be one word - no spaces - but this is not mandatory.
- First letter must be UPPERCASE due to Wikicode requirements.
- Don't forget to remove the "?" and replace it with "/"
- Hit Enter. If the title is already in use, you will be taken to that page.
- If the page already exists, hit your browser's Back button.
- Try a different title: Rename your filter, or add a suffix like "/CoolFilter (updated)"
- If your title is unique, you will be greeted with the "There is currently no text in this page" banner. Click on the "edit this page" link.
- Paste the source code you copied in Step 2.
- Fill in as much information as you can. Leave the rest.
- Click the Show Preview button to see how your page will look.
- Click the Save page button to create the new page.
- If you did something wrong, Click the Edit tab and fix it.
Please don't worry about formatting or incomplete information; just do the best you can.
A more experienced user will come along and clean up the page for you, and add a link to your page @External filters (don't do this yourself).
NOTE: Willful vandalism will result in the termination of your account.
| Abstract | |
|---|---|
| Author | My Name |
| Version | 1.0.0.0.0 |
| Download | ExampleFilter.com |
| Category | External filters |
| License | GPLv2 |
| Discussion | Announcing ExampleFilter |
Description
ExampleFilter is an example filter. This page serves as boilerplate text for new filter pages.
Requirements
- AviSynth 2.5.8 or 2.6.0 Alpha 5 or greater
- Supported color formats: RGB24, RGB32, YUY2, YV12, *YV16, *YV24, *YV411, *Y8
- * Not available in AviSynth 2.5.8.
- ExampleFilter (clip, par1type "par1name", par2type "par2name", par3type "par3name", par4type "par4name", par5type "par5name", par6type "par6name", par7type "par7name", par8type "par8name", par9type "par9name")
- clip =
- Input clip.
- clip =
- par1name par1type = par1defaultvalue
- Example description for parameter blah.
- par1name par1type = par1defaultvalue
- par2name par2type = par2defaultvalue
- par 2 description
- par2name par2type = par2defaultvalue
- par3name par3type = par3defaultvalue
- par 3 description
- par3name par3type = par3defaultvalue
- par4name par4type = par4defaultvalue
- par 4 description
- par4name par4type = par4defaultvalue
- par5name par5type = par5defaultvalue
- par 5 description
- par5name par5type = par5defaultvalue
- par6name par6type = par6defaultvalue>
- par 6 description
- par6name par6type = par6defaultvalue>
- par7name par7type = par7defaultvalue
- par 7 description
- par7name par7type = par7defaultvalue
- par8name par8type = par8defaultvalue
- par 8 description
- par8name par8type = par8defaultvalue
- par9name par9type = par9defaultvalue
- par 9 description
- par9name par9type = par9defaultvalue
Examples
## This is some example code.
Avisource("example.avi")
ExampleFilter(blah=true)
## This is another example.
Avisource("example.avi")
ExampleFilter(blah=false)
Back to External Filters ←