PDA

View Full Version : problem with DirectShow or VFW


stax76
14th December 2003, 02:36
I'm working on a AviSynth script editor that opens multible scripts with DirectShow. The problem is each script takes 150 MB due to heavy caching so opening two scripts takes 300 MB which is to much for most machines. Has somebody a idea how to reduce it to at least 50 MB for each instance? Which API to use don't matter as long as it can play the script and seek frame accurate. VDM takes 100 MB as well, I wonder if the caching is done by VDM, VFW or maybe windows chaches all files that much

here (http://home.tiscalinet.de/pva2divx/AVSEdit.rar) is the script editor AVSEdit 1.0a3, from my point of view it's stable and feature complete but it needs to beta tested by other users/machines, it requires .NET 1.1

Bidoche
14th December 2003, 11:57
Are you sure it's not simply avisynth who is caching ?
Try the SetMemoryMax(megs) command in the scripts.

stax76
14th December 2003, 13:22
great, that did the trick, I don't know yet how to handle it best, anybody ideas?