You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="343" ns="0" title="Main Page">
        <revisions>
          <rev user="Admin" timestamp="2025-12-06T13:41:55Z" comment="removed reference to avisynth.org" xml:space="preserve">__NOTOC__
&lt;div style=&quot;min-width: 700px; max-width: 1400px; margin: auto;&quot;&gt;
&lt;p style=&quot;clear:both; margin-top:-3px; margin-bottom: 1em; font-variant: small-caps; text-align: center; font-size: 105%;&quot;&gt;
&lt;!-- These should be fundamental categories --&gt; 
[[AviSynth FAQ]] | 
[[Internal filters]] | 
[[External filters]] | 
[[AviSynth Syntax]] | 
[http://sourceforge.net/projects/avisynth2/ Sourceforge] | 
[http://forum.doom9.org/forumdisplay.php?s=&amp;forumid=33 Doom9 Forum]
&lt;/p&gt;
[[File:Avisynth-logo-tray.png|center|280px|AviSynth]] 

{| role=&quot;presentation&quot; style=&quot;border:0; margin:0;&quot; width=&quot;90%&quot; cellspacing=&quot;10&quot;

| colspan=&quot;2&quot;| &lt;!-- Row 0 --&gt;
=== {{ReverseHeading3|Donations}} === __NOEDITSECTION__
Hello everyone! I have been hosting this wiki for a long time. I have been hosting it since around 2010 (from Richard Berg). Although the content is maintained by several people, and I'm very grateful for their time, the hosting costs a lot of money. If you are happy with the site, please make a donation! I would be very grateful and we can keep this site alive:
* You can donate by buying me a coffee: https://buymeacoffee.com/avisynth
* You can donate using PayPal: https://paypal.me/avisynth/

=== {{ReverseHeading3|What is AviSynth?}} === __NOEDITSECTION__
AviSynth is a powerful tool for video post-production. It provides ways of editing and processing videos. AviSynth works as a [[frameserver]], providing instant editing without the need for temporary files.
&lt;p&gt;
AviSynth itself does not provide a graphical user interface (GUI), but instead relies on a script system that allows advanced [[NLE|non-linear editing]]. While this may at first seem laborious and unintuitive, it is remarkably powerful and is a very good way to manage projects in a precise, consistent, and reproducible manner. Because text-based scripts are human readable, projects are inherently self-documenting. The scripting language is simple yet powerful, and complex filters can be created from basic operations to develop a sophisticated palette of useful and unique effects.
&lt;/p&gt;
&lt;p&gt;
AviSynth is free open-source software, and licensed under the [http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License GPLv2].
&lt;/p&gt;

|-
| style=&quot;vertical-align: top; width:50%; padding-right:2em; padding-top: 1em;&quot; |  &lt;!-- Row 1 Left --&gt;
=== {{ReverseHeading3|New to AviSynth – Start Here}} === __NOEDITSECTION__
* '''[[first script|Your first script]]''' – A guide for total newbies.
* '''[[Getting started]]''' – An introductory guide.
* '''[[Grammar]]''' – An introduction to the AviSynth scripting language.
* '''[[Filter introduction]]''' – An introductory guide to most common AviSynth [[Filter|filters]].
* '''[[Script examples]]''' – Putting everything together in the real world.
* '''[[AviSynth FAQ]]''' – Answers to many common problems.
* [[More_about_AviSynth|More information]] ''(How does it work? When is it useful? Why no GUI? What applications work well with AviSynth?)''
* [[Guides]] – Guides explaining the basics, tips on specific conversion types and common tasks.
* [[Troubleshooting]] your scripts and configuration.


{|style=&quot;border:none;max-width:26em;margin-left:1em&quot;
|style=&quot;padding:0.5em&quot;|[[File:Overlay-example-lighten.png|104px|link=Overlay|Overlay: Lighten mode]]
|style=&quot;padding:0.5em&quot;|[[File:Layer-example-lite.png|104px|link=Layer|Layer: Lighten mode]]
|style=&quot;padding:0.5em&quot;|[[File:Overlay-example-subtract.png|104px|link=Overlay|Overlay: Subtract mode]]
|-
|style=&quot;padding:0.5em&quot;|[[File:Overlay-example-add.png|104px|link=Overlay|Overlay: Add mode]]
|style=&quot;padding:0.5em&quot;|[[File:Layer-example-mul-rgb.png|104px|link=Layer|Layer: Multiply mode]]
|style=&quot;padding:0.5em&quot;|[[File:Layer-base-Lena.png|104px|link=File:Lenna.png|Lenna]]
|}

|style=&quot;vertical-align: top; width:50%; padding-top: 1em;&quot; |  &lt;!-- Row 1 Right --&gt;
=== {{ReverseHeading3|Download AviSynth}} === __NOEDITSECTION__
*'''Current Builds'''
::{{AvsPlusFullname}}
::New features, backward compatible, native support for Unix-like OSes.
::[[AviSynth%2B|Wiki page]]
::[http://www.avs-plus.net/ Homepage (avs-plus.net)&amp;nbsp;]
::[https://github.com/AviSynth/AviSynthPlus/releases Latest release (GitHub)&amp;nbsp;]
::[https://forum.doom9.org/showthread.php?t=181351 Discussion] at forum.doom9.org

*''Deprecated Official builds''
::[http://sourceforge.net/projects/avisynth2/ v.2.6.0 ST, 32-bit] at [[SourceForge]]

*''Deprecated Unofficial builds''
::[http://forum.doom9.org/showthread.php?t=148782 v.2.6.0 MT, 32-bit, author SET] &lt;br&gt;at forum.doom9.org

*'''Universal Installer'''
::Install&amp;mdash;and quickly switch between&amp;mdash;AviSynth versions:
::* Avisynth 2.5.8, 2.6.0, 2.6.0 MT, 2.6.1 Alpha
::* Avisynth+ 32-bit, 64-bit
::Get it [http://forum.doom9.org/showthread.php?t=172124 here] at forum.doom9.org

*''Deprecated Multithread Version''
::v.2.5.8 MT, 32-bit, author SET, &lt;br&gt;[http://forum.doom9.org/showthread.php?t=148117 discussion at forum.doom9.org]
::v.2.5.8 MT, 64-bit, author SET, &lt;br&gt;[http://forum.doom9.org/showthread.php?t=152800 compiled by JoshyD at forum.doom9.org] 
::[https://github.com/avxsynth/avxsynth AvxSynth] &lt;br&gt;AviSynth 2.5.8 running on Ubuntu 32/64. 

*''Old Bugs and issues''
::[[Known Issues v2.58|Known Issues in v2.58]].
::[[Known Issues|Known Issues in v2.60]].

|-
|style=&quot;vertical-align:top; width:50%; padding-right:2em; padding-top: 1em;&quot; | &lt;!-- Row 2 Left --&gt;
=== {{ReverseHeading3|Script Syntax}} === __NOEDITSECTION__
''The official reference documentation.''
* [[AviSynth Syntax|AviSynth Syntax overview]]
** '''[[Script variables]]''' – How to declare and use them in scripts.
** '''[[Operators]]''' – Available operators and relative precedence.
** '''[[Internal functions]]''' – General purpose functions for math, logic etc.
** '''[[Clip properties]]''' – Properties such as Width, Height, Framerate etc.
** '''[[Control structures]]''' – Language constructs for script flow control.
** '''[[User defined script functions]]''' – How to define and use them in scripts.
** '''[[Plugins]]''' – How to load them (AviSynth, VirtualDub, VFAPI and C-plugins); autoloading and name-precedence explained. Most '''[[External filters]]''' are plugins; the rest are regular scripts.
** '''[[Runtime environment]]''' – Scripting on a per-clip frame basis.
** '''[[Function objects]]''' – {{AvsPluscon}}user defined functions as variables, capture external variables, use them in ScriptClip instead of stringified script fragments.

|style=&quot;vertical-align:top; width:50%; padding-top: 1em;&quot; | &lt;!-- Row 2 Right --&gt;
=== {{ReverseHeading3|Filters and Utilities}} === __NOEDITSECTION__
* '''[[Internal filters]]''' – Included media [[Filter|filters]], organized by category.
* '''[[External filters]]''' – Hundreds of separately downloadable filters, organized by category.
* User pages hosted on this site:
** [http://www.avisynth.nl/users/warpenterprises/ AviSynth Filter Collection – Warpenterprises] 20250316: the names of the AviSynth 2.5 plugins are messed up, put 5F before 25 in the filename (thus for example avsmon25a_5F25_dll_20030125.zip instead of avsmon25a_25_dll_20030125.zip)
** [http://www.avisynth.nl/users/fizick/fizick.html Fizick’s AviSynth plugins]
** [http://www.avisynth.nl/users/vcmohan/ vcmohan’s Plugin Filters]
** [http://www.avisynth.nl/users/stickboy/ stickboy’s AviSynth Stuff]
* [[Shared functions]] – Commonly used script functions.
* [[Utilities]] – A list of GUIs, command-line, batch and other AviSynth related utilities.

|-
|style=&quot;vertical-align:top; width:50%; padding-right:2em; padding-top: 1em;&quot; | &lt;!-- Row 3 Left --&gt;
=== {{ReverseHeading3|Scripting reference}} === __NOEDITSECTION__
''Beyond scripting basics''
* [[Scripting reference|Scripting reference overview]] 
** [[The full AviSynth grammar]] – The AviSynth grammar revisited and explained in detail.
** [[The script execution model]] – The steps behind the scenes from the script to the final video clip output. The filter graph. Scope and lifetime of variables. Evaluation of runtime scripts.
** [[User functions]] – How to effectively write and invoke user defined script functions; common pitfalls to avoid; ways to organise your function collection and create libraries of functions, and many more.
** [[Block statements]] – Techniques and coding idioms for creating blocks of AviSynth script statements.
** [[Arrays]] – Using arrays (and array operators) for manipulating collections of data in a single step.
** [[Scripting at runtime]] – How to unravel the power of runtime filters and create complex runtime scripts that can perform interesting (and memory/speed efficient) editing/processing operations and effects.

|style=&quot;vertical-align:top; width:40%; padding-top: 1em;&quot; | &lt;!-- Row 3 Right --&gt;
&lt;br&gt;&lt;br&gt;
[[File:ChannelMixer_Before%26After.png|center|240px|link=ChannelMixer|ChannelMixer before and after]]
&lt;div style=&quot;text-align:center;&quot;&gt;
[[File:Maskhs.jpg|100px|link=MaskHS|MaskHS(startHue=105, endHue=138)]] 
[[File:Histogram audiolevels.jpg|120px|link=Histogram#Audiolevels_mode|Histogram(mode=&quot;audiolevels&quot;)]]

[[File:Histogram-tournesol-color2.png|center|240px|link=Histogram#Color2_mode|Histogram(mode=&quot;color2&quot;)]]
&lt;/div&gt;

|-
|style=&quot;vertical-align:top; width:50%; padding-right:2em; padding-top: 1em;&quot; | &lt;!-- Row 4 Left --&gt;
=== {{ReverseHeading3|Advanced topics}} === __NOEDITSECTION__
* [[Advanced Scripting Tips]] – Using recursion, weaving 3 clips, and other programming tips.
* [[Advanced topics]] – Chroma Upsampling Error, color conversions, hybrid video, motion compensation, and other advanced subjects.
* [[Aspect ratios|Aspect ratios explained]] – Introduction to aspect ratios (DAR, PAR, SAR), and how to use that for resizing your clip.
* [[High_bit-depth_Support_with_Avisynth|High bit-depth ('''Deep Color''') support with AviSynth]]
{|
|[[File:Downsampling_bilinear.png|center|180px|link=Resampling#Bilinear_resampler|Resampling: Bilinear upsampling]]
|[[File:Blackman.jpg|center|180px|link=Resampling#Blackman_resampler|Resampling: Blackman filter response]]
|}

|style=&quot;vertical-align:top; width:50%; padding-top: 1em;&quot; | &lt;!-- Row 4 Right --&gt;
=== {{ReverseHeading3|Development}} === __NOEDITSECTION__
* Want to [[get involved]]?
* The [http://sourceforge.net/projects/avisynth2/ official project].
* Learn how to [[Filter_SDK/Compile AviSynth|install compilers and setup environments]].
* Learn how to [[Filter_SDK/Compile AviSynth|compile AviSynth]], [[Filter_SDK/Compiling_instructions|AviSynth plugins]] and [[Filter_SDK/Compiling_instructions|console applications that access AviSynth]].
* Learn how to debug [[Filter_SDK/Debugging_instructions|AviSynth]], [[Filter_SDK/Debugging_instructions|AviSynth plugins]] and [[Filter_SDK/Debugging_instructions|console applications that access AviSynth]].
* [[Filter SDK]] – AviSynth plugin programming tips.
* [[Avisynth Plugin Development in C]] – A tutorial to write a plugin with&amp;nbsp;C.
* [http://forum.doom9.org/forumdisplay.php?s=&amp;forumid=69 AviSynth Developer Forum]
* The ongoing [[changelist]].
* About the development of [[AviSynth v3]] (which will be platform independent).
* References to [[Image Processing Algorithms|image processing algorithms]].

|-
| colspan=&quot;1&quot; style=&quot;vertical-align:top; padding-top: 1em;&quot; | &lt;!-- Row 5 Left --&gt;
=== {{ReverseHeading3|About This Website}} === __NOEDITSECTION__
We need your help to build and improve our site! 
*'''Editing''' is easy! Please see [http://www.mediawiki.org/wiki/Help:Editing_pages Editing pages] and [http://www.mediawiki.org/wiki/Help:Formatting Formatting].
*To port this site to '''another language''', please see the [http://www.mediawiki.org/wiki/Localisation MediaWiki Localisation Guide.]   
*'''Filter and script authors''' – please see [http://forum.doom9.org/showthread.php?t=171356 ''Submit your Documentation''] on doom9.org, and the documentation template [[ExampleFilter]].

|style=&quot;vertical-align:top; font-size:96%; width:50%; padding-top: 1em;&quot; | &lt;!-- Row 5 Right --&gt;
=== {{ReverseHeading3|Documentation Copyright}} === __NOEDITSECTION__
AviSynth documentation is [[Avisynth_wiki:Copyrights|Copyright (c) 2002-{{CURRENTYEAR}}]] AviSynth developers and contributors.

The contents of [http://avisynth.nl avisynth.nl] is released under the ''Creative Commons Attribution-ShareAlike 3.0 License'' [http://creativecommons.org/licenses/by-sa/3.0/ (CC BY-SA 3.0)].

|}
&lt;/div&gt;
[[Category:AviSynth]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>