<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://avisynth.nl/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=VScrollTitle</id>
		<title>VScrollTitle - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=VScrollTitle"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=VScrollTitle&amp;action=history"/>
		<updated>2026-05-23T13:49:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.24</generator>

	<entry>
		<id>http://avisynth.nl/index.php?title=VScrollTitle&amp;diff=10688&amp;oldid=prev</id>
		<title>F00P: Fix timing in example</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=VScrollTitle&amp;diff=10688&amp;oldid=prev"/>
				<updated>2019-05-31T20:07:02Z</updated>
		
		<summary type="html">&lt;p&gt;Fix timing in example&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:07, 31 May 2019&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+40, &amp;quot;Produced by&amp;quot;, &amp;quot;Arial&amp;quot;, 14, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+40, &amp;quot;Produced by&amp;quot;, &amp;quot;Arial&amp;quot;, 14, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+49, &amp;quot;nkotb&amp;quot;, &amp;quot;Arial&amp;quot;, 24, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+49, &amp;quot;nkotb&amp;quot;, &amp;quot;Arial&amp;quot;, 24, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;49&lt;/del&gt;, &amp;quot;Multi\nline\ntext&amp;quot;, &amp;quot;Arial&amp;quot;, 24, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;55&lt;/ins&gt;, &amp;quot;Multi\nline\ntext&amp;quot;, &amp;quot;Arial&amp;quot;, 24, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; return clip&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; return clip&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>F00P</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=VScrollTitle&amp;diff=10687&amp;oldid=prev</id>
		<title>F00P: Added ability to insert multi-line text</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=VScrollTitle&amp;diff=10687&amp;oldid=prev"/>
				<updated>2019-05-31T20:06:21Z</updated>
		
		<summary type="html">&lt;p&gt;Added ability to insert multi-line text&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:06, 31 May 2019&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; ef = StartFrame + int( Time * Clop.FrameRate )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; ef = StartFrame + int( Time * Clop.FrameRate )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; return Animate( Clop, StartFrame, ef, &amp;quot;subtitle&amp;quot;,\&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; return Animate( Clop, StartFrame, ef, &amp;quot;subtitle&amp;quot;,\&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Title, Clop.width/2, int(Clop.Height*1.2), StartFrame, ef, Font, FontSize, Colour, 0, 5, 0,\&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Title, Clop.width/2, int(Clop.Height*1.2), StartFrame, ef, Font, FontSize, Colour, 0, 5, 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, -1&lt;/ins&gt;,\&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Title, Clop.width/2,&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; 0, StartFrame, ef, Font, FontSize, Colour, 0, 5, 0)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; &amp;#160; Title, Clop.width/2,&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; 0, StartFrame, ef, Font, FontSize, Colour, 0, 5, 0&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, -1&lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+40, &amp;quot;Produced by&amp;quot;, &amp;quot;Arial&amp;quot;, 14, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+40, &amp;quot;Produced by&amp;quot;, &amp;quot;Arial&amp;quot;, 14, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+49, &amp;quot;nkotb&amp;quot;, &amp;quot;Arial&amp;quot;, 24, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; clip = clip.VScrollTitle( sf+49, &amp;quot;nkotb&amp;quot;, &amp;quot;Arial&amp;quot;, 24, $ffffff, 5 )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; clip = clip.VScrollTitle( sf+49, &amp;quot;Multi\nline\ntext&amp;quot;, &amp;quot;Arial&amp;quot;, 24, $ffffff, 5 )&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; return clip&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; return clip&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>F00P</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=VScrollTitle&amp;diff=1270&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Hope you find this useful. If you want scrolling 'credits' you'll need to set the start frames  manually for each row of text. Note that these are all centered by default.    ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=VScrollTitle&amp;diff=1270&amp;oldid=prev"/>
				<updated>2013-05-12T21:07:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Hope you find this useful. If you want scrolling &amp;#039;credits&amp;#039; you&amp;#039;ll need to set the start frames  manually for each row of text. Note that these are all centered by default.    ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Hope you find this useful. If you want scrolling 'credits' you'll need to set the start frames&lt;br /&gt;
&lt;br /&gt;
manually for each row of text. Note that these are all centered by default.&lt;br /&gt;
&lt;br /&gt;
    #----------------------------------------------------------------------#&lt;br /&gt;
    # VScrollTitle                                                         #&lt;br /&gt;
    #----------------------------------------------------------------------#&lt;br /&gt;
    # V0.0                                                                 #&lt;br /&gt;
    #                                                                      #&lt;br /&gt;
    # Insert a subtitle that scrolls from (below) the bottom to (above)    #&lt;br /&gt;
    # the top of the frame. The total time for the scroll is given in      #&lt;br /&gt;
    # seconds in parameter &amp;quot;Time&amp;quot;                                          #&lt;br /&gt;
    #----------------------------------------------------------------------#&lt;br /&gt;
    function VScrollTitle( clip    Clop, \&lt;br /&gt;
                           int     StartFrame, \&lt;br /&gt;
                           string  Title, \&lt;br /&gt;
                           string  Font, \&lt;br /&gt;
                           int     FontSize, \&lt;br /&gt;
                           int     Colour, \&lt;br /&gt;
                           int     Time ) {&lt;br /&gt;
 &lt;br /&gt;
        ef = StartFrame + int( Time * Clop.FrameRate )&lt;br /&gt;
        return Animate( Clop, StartFrame, ef, &amp;quot;subtitle&amp;quot;,\&lt;br /&gt;
        Title, Clop.width/2, int(Clop.Height*1.2), StartFrame, ef, Font, FontSize, Colour, 0, 5, 0,\&lt;br /&gt;
        Title, Clop.width/2,                    0, StartFrame, ef, Font, FontSize, Colour, 0, 5, 0)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
Example application. This was written for a 25fps avi - start frames may need to be adjusted for another frame rate, but the scroll time will stay at 5 seconds.&lt;br /&gt;
&lt;br /&gt;
 clip = AVISource(&amp;quot;blah.avi&amp;quot;)&lt;br /&gt;
 sf = 50&lt;br /&gt;
 clip = clip.VScrollTitle( sf, &amp;quot;The End&amp;quot;, &amp;quot;Uncial&amp;quot;, 48, $ffffff, 5 )&lt;br /&gt;
 clip = clip.VScrollTitle( sf+15, &amp;quot;Directed by&amp;quot;, &amp;quot;Arial&amp;quot;, 14, $ffffff, 5 )&lt;br /&gt;
 clip = clip.VScrollTitle( sf+24, &amp;quot;nkotb&amp;quot;, &amp;quot;Arial&amp;quot;, 24, $ffffff, 5 )&lt;br /&gt;
 clip = clip.VScrollTitle( sf+40, &amp;quot;Produced by&amp;quot;, &amp;quot;Arial&amp;quot;, 14, $ffffff, 5 )&lt;br /&gt;
 clip = clip.VScrollTitle( sf+49, &amp;quot;nkotb&amp;quot;, &amp;quot;Arial&amp;quot;, 24, $ffffff, 5 )&lt;br /&gt;
 return clip&lt;br /&gt;
&lt;br /&gt;
If you change the font / size the start frames will need tweaking.&lt;br /&gt;
&lt;br /&gt;
[[Category:Shared functions]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>