<?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=ResizeARC</id>
		<title>ResizeARC - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=ResizeARC"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ResizeARC&amp;action=history"/>
		<updated>2026-04-07T19:34:21Z</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=ResizeARC&amp;diff=1284&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ResizeARC&amp;diff=1284&amp;oldid=prev"/>
				<updated>2013-05-19T22:03:18Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:03, 19 May 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=ResizeARC&amp;diff=1283&amp;oldid=prev</id>
		<title>Wilbert at 21:22, 19 May 2013</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ResizeARC&amp;diff=1283&amp;oldid=prev"/>
				<updated>2013-05-19T21:22:00Z</updated>
		
		<summary type="html">&lt;p&gt;&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 21:22, 19 May 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&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='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 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;[[Category:Shared functions]]&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;[[Category:Shared functions]]&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;[[Category:External filters]]&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://avisynth.nl/index.php?title=ResizeARC&amp;diff=952&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ResizeARC&amp;diff=952&amp;oldid=prev"/>
				<updated>2013-05-09T21:34:45Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:34, 9 May 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=ResizeARC&amp;diff=951&amp;oldid=prev</id>
		<title>Laur: Shared functions/ResizeARC moved to ResizeARC: Remove obsolete shared functions category. See Talk:External filters.</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=ResizeARC&amp;diff=951&amp;oldid=prev"/>
				<updated>2009-08-18T14:57:40Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=Shared_functions/ResizeARC&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Shared functions/ResizeARC (page does not exist)&quot;&gt;Shared functions/ResizeARC&lt;/a&gt; moved to &lt;a href=&quot;/index.php/ResizeARC&quot; title=&quot;ResizeARC&quot;&gt;ResizeARC&lt;/a&gt;: Remove obsolete shared functions category. See Talk:External filters.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Function ResizeARC (Aspect Ratio &amp;amp; Compressibility) (from [http://www.doom9.org/index.html?/gknot-basics.htm]) ===&lt;br /&gt;
&lt;br /&gt;
It's a bit guesswork as you cannot predict compressibility of your movie but here's some hints:&lt;br /&gt;
&lt;br /&gt;
* It's not a good idea to go below 0.20 bits/(pixel*frame).&lt;br /&gt;
&lt;br /&gt;
* If you go above ~0.35 you might not be able to reach your desired filesize.&lt;br /&gt;
&lt;br /&gt;
* If you go for 1 CD stay close to 0.20.&lt;br /&gt;
&lt;br /&gt;
* If you go for 2 CDs stay around 0.27.&lt;br /&gt;
&lt;br /&gt;
* If TV bits/(pixel*frame) is below ~0.13 you should raise your bitrate (and go for more CDs).&lt;br /&gt;
&lt;br /&gt;
This function respects AR (Aspect Ratio) as possible mantaining MOD32 resolutions, uses bitrate, bpp (bits per pixel) and the resize function specified as parameters.&lt;br /&gt;
&lt;br /&gt;
Usage: ResizeARC(860, 0.2, &amp;quot;FastBilinearResize&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
 function ResizeARC(clip c, int bitrate, float compressibility, string resizefn)&lt;br /&gt;
 {&lt;br /&gt;
   ratio = c.width./c.height&lt;br /&gt;
   res = bitrate*1000./(compressibility*c.framerate)&lt;br /&gt;
   nhtemp = sqrt(res./ratio)&lt;br /&gt;
   nwtemp = nhtemp*ratio&lt;br /&gt;
   nh = nhtemp - nhtemp%32&lt;br /&gt;
   nw = nwtemp - nwtemp%32&lt;br /&gt;
   return resizefn(c, nw, nh)&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
[[Category:Shared functions]]&lt;/div&gt;</summary>
		<author><name>Laur</name></author>	</entry>

	</feed>