Selur's Little Message Board

Full Version: Limit Cache (MB)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Selur,

  In Hybrid under Filtering->Vapoursynth->Script, there is the option Limit Cache (MB).

  I'd like to understand how this option is used, because by enabling/disabling it, I don't see any change on the generated script or the vspipe command used for encoding.

Thanks,
Dan
the tool tip seems clear to me,...

If you enable it and:
a. enter a value, that value, i.e. 2048, that value gets set as max_cache_size
Code:
# Limit frame cache to 2048MB
core.max_cache_size = 2048
if a value of 0 is set and '8GB for > SD' is selected and your output is > 720x576
Code:
# Limit frame cache to 8192MB
core.max_cache_size = 8192
will be used,...
read also:
https://www.vapoursynth.com/doc/pythonre...cache_size
https://forum.doom9.org/showthread.php?t=185774

Cu Selur
I turned this option to 16GB, but I don't see in the generated code the lines

Code:
# Limit frame cache to  16384MB
core.max_cache_size =  16384

The cache settings is also depending from the clip input resolution ?

Dan
Yes, unless you enter 16384 as number, instead of 0, or use the 3/4 option, those limits only are activated on content that is greater than SD, HD or UHD.