<?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=ResizeARC</id>
	<title>ResizeARC - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=ResizeARC"/>
	<link rel="alternate" type="text/html" href="http://www.avisynth.nl/index.php?title=ResizeARC&amp;action=history"/>
	<updated>2026-08-04T20:13:30Z</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=ResizeARC&amp;diff=1284&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.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 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 00:03, 20 May 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=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://www.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 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 23:22, 19 May 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-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;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:Shared functions]]&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:Shared functions]]&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: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://www.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://www.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;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&amp;#039;s a bit guesswork as you cannot predict compressibility of your movie but here&amp;#039;s some hints:&lt;br /&gt;
&lt;br /&gt;
* It&amp;#039;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>Admin</name></author>
	</entry>
</feed>