Thread: Avisynth+
View Single Post
Old 6th July 2016, 14:32   #2006  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,309
Quote:
Originally Posted by Groucho2004 View Post
I'm aware of how much memory these frame sizes need (more or less).
I'm not sure if you realize that the point of that script is simply to force Avisynth to run out of memory and see how it behaves.

So, the only question is why the new version behaves differently.
Meanwhile the resizer memory question solved (why it seemed to use so big intermediate frame)

And I have learned that these are not the same
Code:
setmemorymax(16000)
setmemorymax(16000)
n = 5
colorbars(width = 1920 * n, height = 1080 * n, pixel_type = "rgb32").killaudio().assumefps(25, 1)
turnleft().pointresize(width() - 1920, height() - 1080)
result is 7680x4320

Flow: orig 9600x5400
-> turnleft 5400x9600
-> resize to 7680x4320 =
resize_horiz 5400x9600->7680x9600 (huge!)
resize_vert 7680x9600->7680x4320

or

Code:
turnleft()
pointresize(width() - 1920, height() - 1080)
result is 3480x8520
pinterf is offline