<?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=Animate</id>
	<title>Animate - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=Animate"/>
	<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Animate&amp;action=history"/>
	<updated>2026-08-24T16:32:22Z</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=Animate&amp;diff=12736&amp;oldid=prev</id>
		<title>Reel.Deal: add link to avs+ documentation</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Animate&amp;diff=12736&amp;oldid=prev"/>
		<updated>2022-09-17T17:29:07Z</updated>

		<summary type="html">&lt;p&gt;add link to avs+ documentation&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 19:29, 17 September 2022&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div {{BlueBox2|40|0|3px solid purple}} &amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{AvsPlusFullname}}&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Up-to-date documentation: [https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/animate.html https://avisynthplus.readthedocs.io]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&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;&amp;#039;&amp;#039;&amp;#039;Animate&amp;#039;&amp;#039;&amp;#039; is a meta-filter which evaluates another filter with continuously varying arguments.&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;&amp;#039;&amp;#039;&amp;#039;Animate&amp;#039;&amp;#039;&amp;#039; is a meta-filter which evaluates another filter with continuously varying arguments.&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>Reel.Deal</name></author>
	</entry>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=Animate&amp;diff=8723&amp;oldid=prev</id>
		<title>Raffriff42: formatting, links, phrasing</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Animate&amp;diff=8723&amp;oldid=prev"/>
		<updated>2016-02-27T22:17:08Z</updated>

		<summary type="html">&lt;p&gt;formatting, links, phrasing&lt;/p&gt;
&lt;a href=&quot;http://www.avisynth.nl/index.php?title=Animate&amp;amp;diff=8723&amp;amp;oldid=6952&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Raffriff42</name></author>
	</entry>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=Animate&amp;diff=6952&amp;oldid=prev</id>
		<title>Raffriff42: added category</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Animate&amp;diff=6952&amp;oldid=prev"/>
		<updated>2015-11-08T15:48:43Z</updated>

		<summary type="html">&lt;p&gt;added category&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 17:48, 8 November 2015&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-l144&quot;&gt;Line 144:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 144:&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;[[Category:Internal filters]]&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;[[Category:Internal filters]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Meta_filters]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Raffriff42</name></author>
	</entry>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=Animate&amp;diff=3888&amp;oldid=prev</id>
		<title>Raffriff42: subheading for examples; link to Subtitle animated example</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Animate&amp;diff=3888&amp;oldid=prev"/>
		<updated>2014-09-15T05:51:51Z</updated>

		<summary type="html">&lt;p&gt;subheading for examples; link to Subtitle animated example&lt;/p&gt;
&lt;a href=&quot;http://www.avisynth.nl/index.php?title=Animate&amp;amp;diff=3888&amp;amp;oldid=563&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Raffriff42</name></author>
	</entry>
	<entry>
		<id>http://www.avisynth.nl/index.php?title=Animate&amp;diff=563&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=Animate&amp;diff=563&amp;oldid=prev"/>
		<updated>2013-05-09T15:02:25Z</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;{{Template:Func2Def|Animate(clip &amp;#039;&amp;#039;clip&amp;#039;&amp;#039;, int &amp;#039;&amp;#039;start_frame&amp;#039;&amp;#039;, int &amp;#039;&amp;#039;end_frame&amp;#039;&amp;#039;, string &amp;#039;&amp;#039;filtername&amp;#039;&amp;#039;, start_args, end_args)|ApplyRange(clip &amp;#039;&amp;#039;clip&amp;#039;&amp;#039;, int &amp;#039;&amp;#039;start_frame&amp;#039;&amp;#039;, int &amp;#039;&amp;#039;end_frame&amp;#039;&amp;#039;, string &amp;#039;&amp;#039;filtername&amp;#039;&amp;#039;, args)}}&lt;br /&gt;
&lt;br /&gt;
Animate is a meta-filter which evaluates its parameter filter with continuously varying arguments. At frame &amp;#039;&amp;#039;start_frame&amp;#039;&amp;#039; and earlier, the filter is evaluated with the arguments given by &amp;#039;&amp;#039;start_args&amp;#039;&amp;#039;. At frame &amp;#039;&amp;#039;end_frame&amp;#039;&amp;#039; and later, the filter is evaluated with the arguments given by &amp;#039;&amp;#039;end_args&amp;#039;&amp;#039;. In between, the arguments are linearly interpolated for a smooth transition.&lt;br /&gt;
&lt;br /&gt;
ApplyRange is a special case of Animate where start_args = end_args, and present in v2.51. It can be used when you want to apply a certain filter only on a certain range of frames of a clip - unlike Animate, frames outside the range &amp;#039;&amp;#039;start_frame&amp;#039;&amp;#039; to &amp;#039;&amp;#039;end_frame&amp;#039;&amp;#039; are passed through untouched. Another difference with Animate is that args can&amp;#039;t contain a clip. Starting from v2.53 it supports audio, and start_frame can be equal to end_frame (such that only one frame is processed).&lt;br /&gt;
&lt;br /&gt;
In cases where a large number of ranges need similar processing using many ApplyRange calls may cause resource issues. An alternative can be to use [[ConditionalReader]] with [[ConditionalFilter]] to select between the unprocessed and processed version of a source.&lt;br /&gt;
&lt;br /&gt;
The filter name must be enclosed in quotation marks (it&amp;#039;s a string), and the two nested argument lists are not parenthesized. Strings and video clips can&amp;#039;t be interpolated, and therefore must be identical in the two argument lists. An important warning though: If you use a clip as first argument, that same clip shouldn&amp;#039;t be included in start_args and end_args. Thus for example&lt;br /&gt;
&lt;br /&gt;
 v = Version()&lt;br /&gt;
 Animate(v,0,149,&amp;quot;Crop&amp;quot;, v,0,0,64,32, v,316,0,64,32)&lt;br /&gt;
&lt;br /&gt;
results in an error, since the first frame is the same as the invalid syntax Crop(v, v, 0, 0, 64, 32).&lt;br /&gt;
&lt;br /&gt;
This filter will not correctly handle a changing sound track, so I don&amp;#039;t recommend its use with filters which modify the sound track. And for heaven&amp;#039;s sake don&amp;#039;t make the initial and final parameters yield a different output frame size. &lt;br /&gt;
&lt;br /&gt;
The filter argument can even be Animate if you want quadratic rather than linear interpolation.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Several examples:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 # Make a scrolling version of the &amp;quot;Version&amp;quot; video:&lt;br /&gt;
 ver = Version()&lt;br /&gt;
 Animate(0,149,&amp;quot;Crop&amp;quot;, ver,0,0,64,32, ver,316,0,64,32)&lt;br /&gt;
 &lt;br /&gt;
 # or what is the same:&lt;br /&gt;
 ver = Version()&lt;br /&gt;
 Animate(ver,0,149,&amp;quot;Crop&amp;quot;, 0,0,64,32, 316,0,64,32)&lt;br /&gt;
 &lt;br /&gt;
 # Fade to white&lt;br /&gt;
 AviSource(&amp;quot;E:\pdwork\DO-Heaven.AVI&amp;quot;)&lt;br /&gt;
 Animate(100,200,&amp;quot;Levels&amp;quot;, 0,1,255,0,255, 0,1,255,255,255)&lt;br /&gt;
 &lt;br /&gt;
 # Do a gradual zoom into the center of a 320x240 video, starting at&lt;br /&gt;
 # 1:1 magnification in frame 100 and ending with 4:1 magnification&lt;br /&gt;
 # in frame 200:&lt;br /&gt;
 clip = AviSource(&amp;quot;E:\pdwork\DO-Heaven.avi&amp;quot;)&lt;br /&gt;
 Animate(100,200,&amp;quot;BicubicResize&amp;quot;, clip,320,240,0,0,320,240, clip,320,240,120,90,80,60)&lt;br /&gt;
 # Animate(clip, 100,200,&amp;quot;BicubicResize&amp;quot;, 320,240,0,0,320,240, 320,240,120,90,80,60) # also works&lt;br /&gt;
 &lt;br /&gt;
 # Make the text &amp;quot;Hello, World!&amp;quot; zoom out from the center of a 320x240 video:&lt;br /&gt;
 BlankClip(width=320, height=240)&lt;br /&gt;
 Animate(0,48,&amp;quot;Subtitle&amp;quot;, &amp;quot;Hello, World!&amp;quot;,160,120,0,99999,&amp;quot;Arial&amp;quot;,0,&lt;br /&gt;
   \  &amp;quot;Hello, World!&amp;quot;,25,130,0,99999,&amp;quot;Arial&amp;quot;,48)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Zooming clip c2 while overlaying it on c1:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 Function myfunc(clip c1, clip c2, int x, int y, int w, int h)&lt;br /&gt;
 {&lt;br /&gt;
   w = w - w%2&lt;br /&gt;
   h = h - h%2&lt;br /&gt;
   my_c2 = BicubicResize(c2,w,h)&lt;br /&gt;
   Overlay(c1,my_c2,x,y)&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 c1 = AviSource(&amp;quot;D:\Captures\jewel.avi&amp;quot;) # c1 is larger than c2&lt;br /&gt;
 c2 = AviSource(&amp;quot;D:\Captures\atomic.avi&amp;quot;).BicubicResize(320,240)&lt;br /&gt;
 Animate(0,1000,&amp;quot;myfunc&amp;quot;,c1,c2,10,10,10,10,c1,c2,300,300,360,288)&lt;br /&gt;
 # or&lt;br /&gt;
 # Animate(c1,0,1000,&amp;quot;myfunc&amp;quot;, c2,10,10,10,10, c2,300,300,360,288)&lt;br /&gt;
 &lt;br /&gt;
 # but the following doesn&amp;#039;t work, since three clips are passed to myfunc (c1, c1 and c2), while only two are allowed:&lt;br /&gt;
 # Animate(c1,0,1000,&amp;quot;myfunc&amp;quot;,c1,c2,10,10,10,10,c1,c2,300,300,360,288)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A small picture enlarges on a black clip until replace the main clip:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 function res(clip clip, clip &amp;quot;LClip&amp;quot;, int &amp;quot;width&amp;quot;, int &amp;quot;height&amp;quot;, int &amp;quot;centerX&amp;quot;, int &amp;quot;centerY&amp;quot;) {&lt;br /&gt;
 LClip = BicubicResize(LClip, width, height)&lt;br /&gt;
 Overlay(clip, LClip, centerX-LClip.width/2, centerY-LClip.height/2)&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 function resize(clip clip, clip &amp;quot;LClip&amp;quot;, int &amp;quot;start_frame&amp;quot;, int &amp;quot;start_width&amp;quot;, int &amp;quot;start_height&amp;quot;,&lt;br /&gt;
   \ int &amp;quot;end_frame&amp;quot;, int &amp;quot;end_width&amp;quot;, int &amp;quot;end_height&amp;quot;, int &amp;quot;centerX&amp;quot;, int &amp;quot;centerY&amp;quot;) {&lt;br /&gt;
   return Animate(start_frame, end_frame, &amp;quot;res&amp;quot;, clip, LClip, start_width, start_height, centerX, centerY,&lt;br /&gt;
     \ clip, LClip, end_width, end_height, centerX, centerY)&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 clip = AviSource(&amp;quot;D:\captures\jewel.avi&amp;quot;)&lt;br /&gt;
 clip = clip.BicubicResize(640,480)&lt;br /&gt;
 clip = clip.ConvertToRGB()&lt;br /&gt;
 black = BlankClip(clip)&lt;br /&gt;
 &lt;br /&gt;
 resize(black, clip, 0, 120, 120*clip.height/clip.width, 500, 640, 480, clip.width/2, clip.height/2)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples using ApplyRange:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 ver = Version()&lt;br /&gt;
 return ver.ApplyRange(0,149,&amp;quot;Crop&amp;quot;, 158,0,64,32)&lt;br /&gt;
 # gives an error since cannot have different frame sizes within a clip&lt;br /&gt;
&lt;br /&gt;
 Version()&lt;br /&gt;
 ApplyRange(100,149,&amp;quot;Blur&amp;quot;, 1.0)&lt;br /&gt;
&lt;br /&gt;
 AviSource(&amp;quot;E:\pdwork\DO-Heaven.avi&amp;quot;).BicubicResize(320,240)&lt;br /&gt;
 ApplyRange(0,48,&amp;quot;Subtitle&amp;quot;, &amp;quot;Hello, World!&amp;quot;,25,130,0,99999,&amp;quot;Arial&amp;quot;,48)&lt;br /&gt;
 &lt;br /&gt;
 # or what is the same:&lt;br /&gt;
 clip = AviSource(&amp;quot;E:\pdwork\DO-Heaven.avi&amp;quot;).BicubicResize(320,240)&lt;br /&gt;
 ApplyRange(clip, 0,48,&amp;quot;Subtitle&amp;quot;, &amp;quot;Hello, World!&amp;quot;,25,130,0,99999,&amp;quot;Arial&amp;quot;,48)&lt;br /&gt;
 &lt;br /&gt;
 # but since the frame range can be provided to Subtitle itself, this is the same as: &lt;br /&gt;
 AviSource(&amp;quot;E:\pdwork\DO-Heaven.avi&amp;quot;).BicubicResize(320,240)&lt;br /&gt;
 Subtitle(&amp;quot;Hello, World!&amp;quot;,25,130,0,48,&amp;quot;Arial&amp;quot;,48)&lt;br /&gt;
&lt;br /&gt;
[[Category:Internal filters]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>