Log in

View Full Version : A question about script commands & calls..


TR-9970X
13th February 2025, 02:43
I hope someone here can tell me, what takes priority..

I use RipBot264 which now sets this:-

SetCacheMode(CACHE_FAST_START)
SetMemoryMax(8192)

as the default for ALL encodes, what I would like to know is, if you had a custom script that had this:-

SetCacheMode()
SetMemoryMax(16384)

which setting would Avisynth use ?
I can't get any comments on the RipBot264 thread....

I had posted this here:- AviSynth+ thread Vol.2, but I think it might have been the wrong thread.

Selur
13th February 2025, 05:07
Sorry, no clue how to check which is used, but 'CACHE_FAST_START' is the default (http://avisynth.nl/index.php/Internal_functions) for SetCacheMode, so 'SetCacheMode(CACHE_FAST_START)' and 'SetCacheMode()' have the same effect.

TR-9970X
13th February 2025, 05:31
Sorry, no clue how to check which is used, but 'CACHE_FAST_START' is the default (http://avisynth.nl/index.php/Internal_functions) for SetCacheMode, so 'SetCacheMode(CACHE_FAST_START)' and 'SetCacheMode()' have the same effect.

Thanks for your reply :)

I guess the only way would then be to test each setting on a high core count CPU, with a reasonable amount of RAM.

Not too concerned about the Cache mode, as I'd already found out they were basically the same.