<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=Syntaxe_avisynth</id>
	<title>Syntaxe avisynth - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=Syntaxe_avisynth"/>
	<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;action=history"/>
	<updated>2026-08-24T16:09:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=3132&amp;oldid=prev</id>
		<title>Admin: Undo revision 3131 by MarcelProut (talk) - spam</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=3132&amp;oldid=prev"/>
		<updated>2014-03-02T22:16:12Z</updated>

		<summary type="html">&lt;p&gt;Undo revision 3131 by &lt;a href=&quot;/index.php/Special:Contributions/MarcelProut&quot; title=&quot;Special:Contributions/MarcelProut&quot;&gt;MarcelProut&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:MarcelProut&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:MarcelProut (page does not exist)&quot;&gt;talk&lt;/a&gt;) - spam&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:16, 3 March 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A noter que le caractère &amp;#039;+&amp;#039; peut être aussi utilisé pour concaténer des chaînes de caractères ou pour assembler des vidéos : &amp;#039;&amp;#039;&amp;#039;a + b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|UnalignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;) tandis que &amp;#039;&amp;#039;&amp;#039;a ++ b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|AlignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A noter que le caractère &amp;#039;+&amp;#039; peut être aussi utilisé pour concaténer des chaînes de caractères ou pour assembler des vidéos : &amp;#039;&amp;#039;&amp;#039;a + b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|UnalignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;) tandis que &amp;#039;&amp;#039;&amp;#039;a ++ b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|AlignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La majeure partie des fonctions utilisées dans AviSynth sont des filtres vidéo. Cependant une fonction peut retourner tout type de variable (ce qui peut être utile dans le cas de scripting de fonction complexe - voir [[User_defined_script_functions|script functions]]). Il faut cependant noter que la dernière fonction d&#039;un script doit retourner un &#039;&#039;clip&#039;&#039; comme variable finale&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Les bandes vidéo origninales pourront être sécurisées dans un [http://infosafe.fr coffre-fort ignifuge] blindé&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La majeure partie des fonctions utilisées dans AviSynth sont des filtres vidéo. Cependant une fonction peut retourner tout type de variable (ce qui peut être utile dans le cas de scripting de fonction complexe - voir [[User_defined_script_functions|script functions]]). Il faut cependant noter que la dernière fonction d&#039;un script doit retourner un &#039;&#039;clip&#039;&#039; comme variable finale.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Une fonction peut avoir jusqu&amp;#039;à 60 arguments (vous en aurez assez ?), et la valeur retournée  peut être de n&amp;#039;importe quel type supporté par AviSynth (clip, int, float, bool, string).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Une fonction peut avoir jusqu&amp;#039;à 60 arguments (vous en aurez assez ?), et la valeur retournée  peut être de n&amp;#039;importe quel type supporté par AviSynth (clip, int, float, bool, string).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les &amp;#039;&amp;#039;Arguments&amp;#039;&amp;#039; sont les paramètres appliqués à la fonction; chaque argument est séparé par une virgule. Un argument doit être de type &amp;#039;&amp;#039;string&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int&amp;#039;&amp;#039;,, &amp;#039;&amp;#039;float&amp;#039;&amp;#039;, &amp;#039;&amp;#039;bool&amp;#039;&amp;#039; ou &amp;#039;&amp;#039;clip&amp;#039;&amp;#039;. Cependant une fonction peut très bien ne pas avoir d&amp;#039;argument déclaré. Si une fonction attend un &amp;#039;&amp;#039;clip&amp;#039;&amp;#039; comme premier argument mais que celui-ci n&amp;#039;est spécifié, la fonction utilisera la variable spéciale &amp;#039;&amp;#039;last&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les &amp;#039;&amp;#039;Arguments&amp;#039;&amp;#039; sont les paramètres appliqués à la fonction; chaque argument est séparé par une virgule. Un argument doit être de type &amp;#039;&amp;#039;string&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int&amp;#039;&amp;#039;,, &amp;#039;&amp;#039;float&amp;#039;&amp;#039;, &amp;#039;&amp;#039;bool&amp;#039;&amp;#039; ou &amp;#039;&amp;#039;clip&amp;#039;&amp;#039;. Cependant une fonction peut très bien ne pas avoir d&amp;#039;argument déclaré. Si une fonction attend un &amp;#039;&amp;#039;clip&amp;#039;&amp;#039; comme premier argument mais que celui-ci n&amp;#039;est spécifié, la fonction utilisera la variable spéciale &amp;#039;&amp;#039;last&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les filtres AviSynth peuvent avoir des arguments nommés ou non. Les arguments nommés rendent en général les filtres plus faciles à paramétrer. En effet on peut spécifier les arguments dans l&#039;ordre que l&#039;on souhaite, et ce sans avoir à spécifier chacun des paramètres de la fonction (si un argument n&#039;est pas spécifié, le filtre choisira la valeur par défaut) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;et les ranger dans une [http://www.infosafe.fr/Armoirefortedin/Armoirefortedin.htm armoire forte blindée]&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les filtres AviSynth peuvent avoir des arguments nommés ou non. Les arguments nommés rendent en général les filtres plus faciles à paramétrer. En effet on peut spécifier les arguments dans l&#039;ordre que l&#039;on souhaite, et ce sans avoir à spécifier chacun des paramètres de la fonction (si un argument n&#039;est pas spécifié, le filtre choisira la valeur par défaut).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Par exemple, vous pouvez écrire  &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, text_color=$00FF00, x=100, y=200)&amp;#039;&amp;#039;&amp;#039; au lieu de &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, 100, 200, 0, 999999, &amp;quot;Arial&amp;quot;, 24, $00FF00)&amp;#039;&amp;#039;&amp;#039;. La [[Colors|couleur]] peut être spécifiée en hexadécimal comme ci-dessus ou en décimal. Dans les deux cas vous devez donner la couleur en format RVB même si votre clip est en YUV.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Par exemple, vous pouvez écrire  &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, text_color=$00FF00, x=100, y=200)&amp;#039;&amp;#039;&amp;#039; au lieu de &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, 100, 200, 0, 999999, &amp;quot;Arial&amp;quot;, 24, $00FF00)&amp;#039;&amp;#039;&amp;#039;. La [[Colors|couleur]] peut être spécifiée en hexadécimal comme ci-dessus ou en décimal. Dans les deux cas vous devez donner la couleur en format RVB même si votre clip est en YUV.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=3131&amp;oldid=prev</id>
		<title>MarcelProut at 16:58, 2 March 2014</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=3131&amp;oldid=prev"/>
		<updated>2014-03-02T16:58:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:58, 2 March 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A noter que le caractère &amp;#039;+&amp;#039; peut être aussi utilisé pour concaténer des chaînes de caractères ou pour assembler des vidéos : &amp;#039;&amp;#039;&amp;#039;a + b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|UnalignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;) tandis que &amp;#039;&amp;#039;&amp;#039;a ++ b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|AlignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A noter que le caractère &amp;#039;+&amp;#039; peut être aussi utilisé pour concaténer des chaînes de caractères ou pour assembler des vidéos : &amp;#039;&amp;#039;&amp;#039;a + b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|UnalignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;) tandis que &amp;#039;&amp;#039;&amp;#039;a ++ b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|AlignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La majeure partie des fonctions utilisées dans AviSynth sont des filtres vidéo. Cependant une fonction peut retourner tout type de variable (ce qui peut être utile dans le cas de scripting de fonction complexe - voir [[User_defined_script_functions|script functions]]). Il faut cependant noter que la dernière fonction d&#039;un script doit retourner un &#039;&#039;clip&#039;&#039; comme variable finale.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;La majeure partie des fonctions utilisées dans AviSynth sont des filtres vidéo. Cependant une fonction peut retourner tout type de variable (ce qui peut être utile dans le cas de scripting de fonction complexe - voir [[User_defined_script_functions|script functions]]). Il faut cependant noter que la dernière fonction d&#039;un script doit retourner un &#039;&#039;clip&#039;&#039; comme variable finale&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Les bandes vidéo origninales pourront être sécurisées dans un [http://infosafe.fr coffre-fort ignifuge] blindé&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Une fonction peut avoir jusqu&amp;#039;à 60 arguments (vous en aurez assez ?), et la valeur retournée  peut être de n&amp;#039;importe quel type supporté par AviSynth (clip, int, float, bool, string).  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Une fonction peut avoir jusqu&amp;#039;à 60 arguments (vous en aurez assez ?), et la valeur retournée  peut être de n&amp;#039;importe quel type supporté par AviSynth (clip, int, float, bool, string).  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les &amp;#039;&amp;#039;Arguments&amp;#039;&amp;#039; sont les paramètres appliqués à la fonction; chaque argument est séparé par une virgule. Un argument doit être de type &amp;#039;&amp;#039;string&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int&amp;#039;&amp;#039;,, &amp;#039;&amp;#039;float&amp;#039;&amp;#039;, &amp;#039;&amp;#039;bool&amp;#039;&amp;#039; ou &amp;#039;&amp;#039;clip&amp;#039;&amp;#039;. Cependant une fonction peut très bien ne pas avoir d&amp;#039;argument déclaré. Si une fonction attend un &amp;#039;&amp;#039;clip&amp;#039;&amp;#039; comme premier argument mais que celui-ci n&amp;#039;est spécifié, la fonction utilisera la variable spéciale &amp;#039;&amp;#039;last&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les &amp;#039;&amp;#039;Arguments&amp;#039;&amp;#039; sont les paramètres appliqués à la fonction; chaque argument est séparé par une virgule. Un argument doit être de type &amp;#039;&amp;#039;string&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int&amp;#039;&amp;#039;,, &amp;#039;&amp;#039;float&amp;#039;&amp;#039;, &amp;#039;&amp;#039;bool&amp;#039;&amp;#039; ou &amp;#039;&amp;#039;clip&amp;#039;&amp;#039;. Cependant une fonction peut très bien ne pas avoir d&amp;#039;argument déclaré. Si une fonction attend un &amp;#039;&amp;#039;clip&amp;#039;&amp;#039; comme premier argument mais que celui-ci n&amp;#039;est spécifié, la fonction utilisera la variable spéciale &amp;#039;&amp;#039;last&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les filtres AviSynth peuvent avoir des arguments nommés ou non. Les arguments nommés rendent en général les filtres plus faciles à paramétrer. En effet on peut spécifier les arguments dans l&#039;ordre que l&#039;on souhaite, et ce sans avoir à spécifier chacun des paramètres de la fonction (si un argument n&#039;est pas spécifié, le filtre choisira la valeur par défaut).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les filtres AviSynth peuvent avoir des arguments nommés ou non. Les arguments nommés rendent en général les filtres plus faciles à paramétrer. En effet on peut spécifier les arguments dans l&#039;ordre que l&#039;on souhaite, et ce sans avoir à spécifier chacun des paramètres de la fonction (si un argument n&#039;est pas spécifié, le filtre choisira la valeur par défaut) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;et les ranger dans une [http://www.infosafe.fr/Armoirefortedin/Armoirefortedin.htm armoire forte blindée]&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Par exemple, vous pouvez écrire  &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, text_color=$00FF00, x=100, y=200)&amp;#039;&amp;#039;&amp;#039; au lieu de &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, 100, 200, 0, 999999, &amp;quot;Arial&amp;quot;, 24, $00FF00)&amp;#039;&amp;#039;&amp;#039;. La [[Colors|couleur]] peut être spécifiée en hexadécimal comme ci-dessus ou en décimal. Dans les deux cas vous devez donner la couleur en format RVB même si votre clip est en YUV.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Par exemple, vous pouvez écrire  &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, text_color=$00FF00, x=100, y=200)&amp;#039;&amp;#039;&amp;#039; au lieu de &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, 100, 200, 0, 999999, &amp;quot;Arial&amp;quot;, 24, $00FF00)&amp;#039;&amp;#039;&amp;#039;. La [[Colors|couleur]] peut être spécifiée en hexadécimal comme ci-dessus ou en décimal. Dans les deux cas vous devez donner la couleur en format RVB même si votre clip est en YUV.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>MarcelProut</name></author>
	</entry>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=1831&amp;oldid=prev</id>
		<title>Admin: 6 revisions</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=1831&amp;oldid=prev"/>
		<updated>2013-07-18T19:48:25Z</updated>

		<summary type="html">&lt;p&gt;6 revisions&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:48, 18 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=1830&amp;oldid=prev</id>
		<title>Wilbert at 19:50, 17 July 2013</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=1830&amp;oldid=prev"/>
		<updated>2013-07-17T19:50:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:50, 17 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l93&quot;&gt;Line 93:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 93:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;L&amp;#039;exemple ci-dessus ne renvoie pas les frames [0..9,20..29] car le caractère &amp;quot;\&amp;quot; est masqué par le marqueur de commentaire &amp;quot;#&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;L&amp;#039;exemple ci-dessus ne renvoie pas les frames [0..9,20..29] car le caractère &amp;quot;\&amp;quot; est masqué par le marqueur de commentaire &amp;quot;#&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;AviSynth_Syntax&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;French pages&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wilbert</name></author>
	</entry>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=748&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Syntaxe_avisynth&amp;diff=748&amp;oldid=prev"/>
		<updated>2013-05-09T21:33:34Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;La syntaxe d&amp;#039;une ligne de commande d&amp;#039;un script AviSynth peut se présenter sous l&amp;#039;une de ces trois formes :&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;nom_de_la_variable&amp;#039;&amp;#039; = &amp;#039;&amp;#039;expression&amp;#039;&amp;#039; &lt;br /&gt;
# &amp;#039;&amp;#039;expression&amp;#039;&amp;#039;&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;return&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;expression&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Dans le premier cas, &amp;#039;&amp;#039;expression&amp;#039;&amp;#039; est exécuté et le résultat de l&amp;#039;expression est assigné à &amp;#039;&amp;#039;nom_de_la_variable&amp;#039;&amp;#039;. Dans le second cas &amp;#039;&amp;#039;expression&amp;#039;&amp;#039; est exécuté et le résultat est assigné à la variable spéciale &amp;#039;&amp;#039;&amp;#039;last&amp;#039;&amp;#039;&amp;#039;. En fin dans le troisième cas, &amp;#039;&amp;#039;expression&amp;#039;&amp;#039; est évalué et le résultat de &amp;#039;&amp;#039;expression&amp;#039;&amp;#039; est la valeur du bloc courant (que le bloc en question soit une fonction ou le script en lui même) qui sera retournée. Dans le cas ou la valeur retournée est celle du script, la valeur retournée sera typiquement le clip vidéo envoyé à l&amp;#039;application qui ouvre le script AviSynth.&lt;br /&gt;
&lt;br /&gt;
La plupart du temps, le résultat d&amp;#039;une expression sera un clip vidéo; Cependant AviSynth supporte plusieurs types de valeurs (clip, entiers / int, flottant / float, booléen / bool et chaîne de caractère / string ) qui peuvent être traitées par les [[Internal_functions|fonctions internes]] d&amp;#039;AviSynth.&lt;br /&gt;
&lt;br /&gt;
Une &amp;#039;&amp;#039;expression&amp;#039;&amp;#039; peut se présenter sous l&amp;#039;une de ces formes :&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;constante_numérique&amp;#039;&amp;#039; ou &amp;#039;&amp;#039;constante_string&amp;#039;&amp;#039; &lt;br /&gt;
# &amp;#039;&amp;#039;nom_de_variable&amp;#039;&amp;#039; ou &amp;#039;&amp;#039;propriété_du_clip&amp;#039;&amp;#039;&lt;br /&gt;
# &amp;#039;&amp;#039;Fonction&amp;#039;&amp;#039;(&amp;#039;&amp;#039;argument&amp;#039;&amp;#039;) &lt;br /&gt;
# &amp;#039;&amp;#039;expression&amp;#039;&amp;#039;.&amp;#039;&amp;#039;Fonction&amp;#039;&amp;#039;(&amp;#039;&amp;#039;argument&amp;#039;&amp;#039;)&lt;br /&gt;
# &amp;#039;&amp;#039;expression1&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;opérateur&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;expression2&amp;#039;&amp;#039; &lt;br /&gt;
# &amp;#039;&amp;#039;expression_booléenne&amp;#039;&amp;#039; ? &amp;#039;&amp;#039;expression1&amp;#039;&amp;#039; : &amp;#039;&amp;#039;expression2&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Dans le premier cas, la valeur d&amp;#039;&amp;#039;&amp;#039;expression&amp;#039;&amp;#039; prend la valeur de la constante.&lt;br /&gt;
Dans le second cas, &amp;#039;&amp;#039;expression&amp;#039;&amp;#039; prend la valeur correspondante à une [[Clip_properties|propriété du clip]] ou d&amp;#039;une variable (dont la valeur doit avoir été préalablement définie).&lt;br /&gt;
Dans le troisième cas, &amp;#039;&amp;#039;expression&amp;#039;&amp;#039; prend la valeur retournée par la fonction (voir ci-dessous).&lt;br /&gt;
Le quatrième cas est une alternative à la forme &amp;#039;&amp;#039;fonction&amp;#039;&amp;#039;(&amp;#039;&amp;#039;expression&amp;#039;&amp;#039;,&amp;#039;&amp;#039;argument&amp;#039;&amp;#039;).  &lt;br /&gt;
&lt;br /&gt;
Les deux derniers cas montrent la syntaxe employée pour effectuer une opération arithmétique ou logique (via des [[opérateurs]] dérivés du langage C) :&lt;br /&gt;
Le premier permet de manipuler int, float, variable générique (val) ou booléen (voir [[Script variables]]).&lt;br /&gt;
Le second permet de mettre en place des actions conditionnelles.&lt;br /&gt;
&lt;br /&gt;
A noter que le caractère &amp;#039;+&amp;#039; peut être aussi utilisé pour concaténer des chaînes de caractères ou pour assembler des vidéos : &amp;#039;&amp;#039;&amp;#039;a + b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|UnalignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;) tandis que &amp;#039;&amp;#039;&amp;#039;a ++ b&amp;#039;&amp;#039;&amp;#039; est équivalent à  [[Splice|AlignedSplice]](&amp;#039;&amp;#039;a&amp;#039;&amp;#039;, &amp;#039;&amp;#039;b&amp;#039;&amp;#039;). &lt;br /&gt;
&lt;br /&gt;
La majeure partie des fonctions utilisées dans AviSynth sont des filtres vidéo. Cependant une fonction peut retourner tout type de variable (ce qui peut être utile dans le cas de scripting de fonction complexe - voir [[User_defined_script_functions|script functions]]). Il faut cependant noter que la dernière fonction d&amp;#039;un script doit retourner un &amp;#039;&amp;#039;clip&amp;#039;&amp;#039; comme variable finale. &lt;br /&gt;
&lt;br /&gt;
Une fonction peut avoir jusqu&amp;#039;à 60 arguments (vous en aurez assez ?), et la valeur retournée  peut être de n&amp;#039;importe quel type supporté par AviSynth (clip, int, float, bool, string). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pour connaître la syntaxe d&amp;#039;appel des différentes fonctions intégrées à AviSynth, reportez vous à la page détaillant les[[Filtres_internes| filtres internes]]. Pour les fonctions opérant sur des variables autres que &amp;#039;&amp;#039;clip&amp;#039;&amp;#039; voyez la page des [Internal_functions|fonctions internes]].&lt;br /&gt;
&lt;br /&gt;
Les &amp;#039;&amp;#039;Arguments&amp;#039;&amp;#039; sont les paramètres appliqués à la fonction; chaque argument est séparé par une virgule. Un argument doit être de type &amp;#039;&amp;#039;string&amp;#039;&amp;#039;, &amp;#039;&amp;#039;int&amp;#039;&amp;#039;,, &amp;#039;&amp;#039;float&amp;#039;&amp;#039;, &amp;#039;&amp;#039;bool&amp;#039;&amp;#039; ou &amp;#039;&amp;#039;clip&amp;#039;&amp;#039;. Cependant une fonction peut très bien ne pas avoir d&amp;#039;argument déclaré. Si une fonction attend un &amp;#039;&amp;#039;clip&amp;#039;&amp;#039; comme premier argument mais que celui-ci n&amp;#039;est spécifié, la fonction utilisera la variable spéciale &amp;#039;&amp;#039;last&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Les filtres AviSynth peuvent avoir des arguments nommés ou non. Les arguments nommés rendent en général les filtres plus faciles à paramétrer. En effet on peut spécifier les arguments dans l&amp;#039;ordre que l&amp;#039;on souhaite, et ce sans avoir à spécifier chacun des paramètres de la fonction (si un argument n&amp;#039;est pas spécifié, le filtre choisira la valeur par défaut).&lt;br /&gt;
Par exemple, vous pouvez écrire  &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, text_color=$00FF00, x=100, y=200)&amp;#039;&amp;#039;&amp;#039; au lieu de &amp;#039;&amp;#039;&amp;#039;[[Subtitle]](&amp;quot;Hello, World!&amp;quot;, 100, 200, 0, 999999, &amp;quot;Arial&amp;quot;, 24, $00FF00)&amp;#039;&amp;#039;&amp;#039;. La [[Colors|couleur]] peut être spécifiée en hexadécimal comme ci-dessus ou en décimal. Dans les deux cas vous devez donner la couleur en format RVB même si votre clip est en YUV.&lt;br /&gt;
&lt;br /&gt;
Il est aussi possible d&amp;#039;appeler une fonction sans utiliser de parenthèse : &amp;#039;&amp;#039;&amp;#039;NomDuFiltre&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;argument1&amp;#039;&amp;#039;, &amp;#039;&amp;#039;argument2&amp;#039;&amp;#039; afin d&amp;#039;assurer une compatibilité avec vieux script créés pour de vieilles versions d&amp;#039;AviSynth. Je ne vous conseille pas d&amp;#039;utiliser cette syntaxe à moins que vous ayez une bonne raison de le faire. &lt;br /&gt;
&lt;br /&gt;
Voyons maintenant les marqueurs de commentaires : Avisynth ignore tout ce qui se trouve derrière le caractère # et ce jusqu&amp;#039;à la fin de la ligne. On se sert donc de ce caractère pour commenter les scripts.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# commentaires blah blah&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
La version v2.58 introduit de nouveaux types de commentaires : les commentaires en bloc  et les commentaires en bloc &amp;quot;emboîtables&amp;quot;. Voici comment les utiliser:&lt;br /&gt;
&lt;br /&gt;
 # commentaire en bloc :&lt;br /&gt;
 /* &lt;br /&gt;
 commentaire 1&lt;br /&gt;
 commentaire 2&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
 # commentaire en bloc emboité:&lt;br /&gt;
 [* [* un exemple concret viendra plus tard :) *] *]&lt;br /&gt;
&lt;br /&gt;
Avisynth ignore également tout texte qui se trouve après  la commande &amp;lt;nowiki&amp;gt;__END__&amp;lt;/nowiki&amp;gt; (avec un double underscore)) . &lt;br /&gt;
Cela peut être utiliser pour tronquer la fin d&amp;#039;un script. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Avisynth ne prend pas en compte la casse des caractères : &amp;quot;aViSouRCe&amp;quot; est traité de la même façon qu&amp;#039; &amp;quot;AVISource&amp;quot; par AviSynth.&lt;br /&gt;
&lt;br /&gt;
Il est également possible d&amp;#039;enchaîner les déclarations sur une seule ligne (voir cas numéro 4 ci-dessus) :&lt;br /&gt;
&lt;br /&gt;
 [[AviSource]](&amp;quot;c:\video.avi&amp;quot;).[[Trim]](0, 499)&lt;br /&gt;
 -or-&lt;br /&gt;
 [[AudioDub]](AviSource(&amp;quot;c:\video.avi&amp;quot;), [[AviSource|WavSource]](&amp;quot;c:\audio.wav&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
Avisynth per met également d&amp;#039;écrire une déclaration sur plusieurs lignes en utilisant un backslash (&amp;quot;\&amp;quot;) soit à la fin de la première ligne de déclaration soit au début de la ligne suivante de déclaration.&lt;br /&gt;
&lt;br /&gt;
Un exemple (les deux syntaxes sont valides :&lt;br /&gt;
&lt;br /&gt;
 Subtitle(&amp;quot;Hello, World!&amp;quot;, 100, 200, 0, \&lt;br /&gt;
     999999, &amp;quot;Arial&amp;quot;, 24, $00FF00)&lt;br /&gt;
&lt;br /&gt;
-ou-&lt;br /&gt;
&lt;br /&gt;
 Subtitle(&amp;quot;Hello, World!&amp;quot;, 100, 200, 0,&lt;br /&gt;
     \ 999999, &amp;quot;Arial&amp;quot;, 24, $00FF00)&lt;br /&gt;
&lt;br /&gt;
Faites attention lorsque vous utilisez les commentaires en même temps que les déclarations sur plusieurs lignes... Cela peut conduire à des bugs difficiles à déceler : &lt;br /&gt;
&lt;br /&gt;
Voici un exemple du genre de bug que l&amp;#039;on peut rencontrer :&lt;br /&gt;
&lt;br /&gt;
 [[ColorBars]]&lt;br /&gt;
 [[ShowFrameNumber]]&lt;br /&gt;
 Trim(0,9) # sélectionne un certain nbre de frames  \&lt;br /&gt;
 +Trim(20,29)&lt;br /&gt;
&lt;br /&gt;
L&amp;#039;exemple ci-dessus ne renvoie pas les frames [0..9,20..29] car le caractère &amp;quot;\&amp;quot; est masqué par le marqueur de commentaire &amp;quot;#&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Category:AviSynth_Syntax]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>