ExampleFilter
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) m (&action=edit) |
Raffriff42 (Talk | contribs) m (added category) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:AviSynth_Development]] | ||
<!-- ================= INSTRUCTIONS - DELETE ME ================= --> | <!-- ================= INSTRUCTIONS - DELETE ME ================= --> | ||
{{BlueBox}}Welcome filter authors! To help you document your filter in this Wiki, here is a template to get you started. | {{BlueBox}}Welcome filter authors! To help you document your filter in this Wiki, here is a template to get you started. | ||
Line 34: | Line 35: | ||
{{Filter3 | {{Filter3 | ||
− | |<!-- author -->My Name | + | |1=<!-- author -->My Name |
− | |<!-- version -->1.0.0.0.0 | + | |2=<!-- version -->1.0.0.0.0 |
− | |<!-- download URL -->[http://google.com ExampleFilter.com] | + | |3=<!-- category -->External filters |
− | | | + | |4=<!-- download URL -->[http://google.com ExampleFilter.com] |
− | + | |5=<!-- license -->[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | |
− | |<!-- discussion URL -->[http://doom9.org Announcing ExampleFilter]}} | + | |6=<!-- discussion URL -->[http://doom9.org Announcing ExampleFilter] |
+ | }} | ||
+ | <!-- | ||
+ | ================================== | ||
+ | URL notes: in Wikicode, a URL has: | ||
+ | * a left square bracket, | ||
+ | * the URL itself, | ||
+ | * a space, | ||
+ | * the link text (required, or the link looks like this: "[1]" | ||
+ | * and a right square bracket. | ||
+ | Example: | ||
+ | [http://avisynth.nl/ Avisynth Wiki] | ||
+ | ================================== | ||
+ | --> | ||
<br> | <br> | ||
== Description == | == Description == | ||
Line 47: | Line 61: | ||
<br> | <br> | ||
== Requirements == | == Requirements == | ||
− | * <!-- | + | * <!-- AviSynth version -->AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ 2.6.0] or greater |
* <!-- source video: interlaced? progressive? --> | * <!-- source video: interlaced? progressive? --> | ||
* <!-- color formats -->Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]], <span style="color:red">*</span>[[YV16]], <span style="color:red">*</span>[[YV24]], <span style="color:red">*</span>[[YV411]], <span style="color:red">*</span>[[Y8]] | * <!-- color formats -->Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]], <span style="color:red">*</span>[[YV16]], <span style="color:red">*</span>[[YV24]], <span style="color:red">*</span>[[YV411]], <span style="color:red">*</span>[[Y8]] | ||
Line 57: | Line 71: | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
− | :{{Template:FuncDef| | + | :{{Template:FuncDef|ExampleFilter (clip C, type1 ''name1'', type2 ''name2'', type3 ''name3'', type4 ''name4'', type5 ''name5'', type6 ''name6'', type7 ''name7'', type8 ''name8'', type9 ''name9'')}} |
− | + | ::{{Par2| |C| }} | |
− | ::{{Par2| | | + | |
:::Input clip. | :::Input clip. | ||
+ | ::{{Par2|name1|type1|defaultvalue1}} | ||
+ | :::description1 | ||
+ | ::{{Par2|name2|type2|defaultvalue2}} | ||
+ | :::description2 | ||
+ | ::{{Par2|name3|type3|defaultvalue3}} | ||
+ | :::description3 | ||
+ | ::{{Par2|name4|type4|defaultvalue4}} | ||
+ | :::description4 | ||
+ | ::{{Par2|name5|type5|defaultvalue5}} | ||
+ | :::description5 | ||
+ | ::{{Par2|name6|type6|defaultvalue6}} | ||
+ | :::description6 | ||
+ | ::{{Par2|name7|type7|defaultvalue7}} | ||
+ | :::description7 | ||
+ | ::{{Par2|name8|type8|defaultvalue8}} | ||
+ | :::description8 | ||
+ | ::{{Par2|name9|type9|defaultvalue9}} | ||
+ | :::description9 | ||
<br> | <br> | ||
− | + | ||
− | + | <!-- free form descriptive text here --> | |
− | + | This is some sample text. | |
− | + | Note that on Wikicode, line breaks are removed. | |
− | + | ||
− | + | ...You need to leave a blank line to get a new paragraph. | |
− | + | ||
− | + | ||
− | + | Here's a paragraph with a blank line above it | |
− | + | ---- | |
− | + | * Four dashes make a horizontal rule. | |
− | + | * bullet lists only need a leading '*' | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Examples == | == Examples == | ||
<!-- example code block: 1st char in each line = space --> | <!-- example code block: 1st char in each line = space --> | ||
## This is some example code. | ## This is some example code. | ||
− | + | [[AviSource]]("example.avi") | |
ExampleFilter(blah=true) | ExampleFilter(blah=true) | ||
<!-- new code block: no leading space --> | <!-- new code block: no leading space --> | ||
## This is another example. | ## This is another example. | ||
− | + | [[AviSource]]("example.avi") | |
ExampleFilter(blah=false) | ExampleFilter(blah=false) | ||
<br> | <br> |
Latest revision as of 07:15, 11 November 2015
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&action=edit 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.
- Areas that need your attention are marked with HTML comments <!-- like this -->. 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 | External filters |
Category | ExampleFilter.com |
License | GPLv2 |
Discussion | Announcing ExampleFilter |
Contents |
[edit] Description
ExampleFilter is an example filter. This page serves as boilerplate text for new filter pages.
[edit] Requirements
- AviSynth 2.5.8 or 2.6.0 or greater
- Supported color formats: RGB24, RGB32, YUY2, YV12, *YV16, *YV24, *YV411, *Y8
- * Not available in AviSynth 2.5.8.
[edit] Syntax and Parameters
- ExampleFilter (clip C, type1 name1, type2 name2, type3 name3, type4 name4, type5 name5, type6 name6, type7 name7, type8 name8, type9 name9)
- C =
- Input clip.
- type1 name1 = defaultvalue1
- description1
- type2 name2 = defaultvalue2
- description2
- type3 name3 = defaultvalue3
- description3
- type4 name4 = defaultvalue4
- description4
- type5 name5 = defaultvalue5
- description5
- type6 name6 = defaultvalue6
- description6
- type7 name7 = defaultvalue7
- description7
- type8 name8 = defaultvalue8
- description8
- type9 name9 = defaultvalue9
- description9
- C =
This is some sample text. Note that on Wikicode, line breaks are removed.
...You need to leave a blank line to get a new paragraph.
Here's a paragraph with a blank line above it
- Four dashes make a horizontal rule.
- bullet lists only need a leading '*'
[edit] 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 ←