is Jit.movie capable of load movie to ram

balam's icon

can not find documentation
if not possible what do you recommed to load to ram one movie and play from ram not from Hd.
I am on mac

Herr Markant's icon

"jit.movie @engine viddll @cache_size 1" should do that. this is viddll engine only. look at jit.movie "viddll specific".

Herr Markant's icon

If you want to pre-load your movie into ram, you need to work with poly~. (Poly~ForMovies.maxpat in jitter examples)

Rob Ramirez's icon

if you're on 32 bit, you can use jit.movie @engine qt and send it the "loadram" message.

however, i'd recommend using viddll. i've implemented "loadram" functionality, and it will be updated in the package manager after some more testing. for now simply set you cache_size large enough, and the frames will be cached into memory as they are played.

balam's icon

thanks for the replies.
regarding viddll and cache_size
how is set regarding amount or ram use
is 1 = 1 meg or 1 gig or 1000 bites.

best

Rob Ramirez's icon

it's in gigabytes: @cache_size 1 = 1 GB

Herr Markant's icon

Loadram for viddll? That would be great!

balam's icon

thanks Rob
so using 0.5 will = 1/2 gig
and 0.1 = 124 mgs.
or only works with full gigs of ram

Federico-AmazingMaxStuff's icon

A question: would load a movie into ram keep a steadier frame rate than reading from hard disk? If the drive is an SSD would still make sense? What's the situation with HAP encoded files? Thank you very much

Rob Ramirez's icon

if you have enough memory to load your movie, jit.movie @engine viddll with loadram will be the most performant solution. make sure you set your cache_size attribute high enough. also, the frames stored are uncompressed, so the amount of memory required is not equal to the file size.

i'm not sure what your asking with regards to Hap