Forums > MaxMSP

lowering cpu in max

April 14, 2006 | 8:20 am

hi chaps,

im running a video mixer with audio. i have two jit.qt.movie objects which each play an avi file and crossfade between the two. different files are selected to play when the other one has finished.

however im running into problems…cpu! does anyone know of any ideas to lower cpu drastically? i have lowered the sampling rate (which is a temporary fix) but i don’t know if there is any way to lower the cpu for video? and does the jit.qt.movie object store previous loaded files in memory/ram? and if so is there a way to scrub the memory/ram?

any help?

cheers,
dave


April 15, 2006 | 12:22 pm

if loading time is not an issue (although it sounds like it is in your case) use the loadram command to load movies in ram. This especially increases framerates (not cpu) when playing multiple movies from the same harddisk.

I found out that when scrubbing the movie with the ‘time’ message (instead of using the ‘rate’ message), it significantly improves performance if you set rate to 0.

I can’t really think of a reason why this could be the case, maybe because with rate set to 0 jit.qt.movie disables pre-buffering?


Viewing 2 posts - 1 through 2 (of 2 total)