stutter on loading

jhdkfj39929's icon

I have a slide show that loads images into GL textures. I was loading my images directly from the drive first and the display stuttered on every load, even with very small images. Following the recommendations on these forums, I made a quicktime movie from my images and load them into textures as frames, I also preload the movie to ram first. With small images this seems to help (or maybe it is just in impression). But I need to use 1280x1024 images and they stutter visibly.

Is there something that can be done? Any particular way to compress/setup them within quicktime or to load them into max?

Thank you for the advice.

JATom's icon

hello jitter fellow,

a question first for understanding:
how can still images stutter ?

my experience with movies is.
jitter always stutter, even if you use
the "movie bank" from Andrew Benson.
https://cycling74.com/tutorials/the-video-processing-system-part-4/
this patch tries to preload the first 2 second into ram,
and play the rest from harddisk.
but this does not work. you always have 8 - 10 stills
after loading. playback hangs from 200ms - 300ms
but its better than nothing.

using asyncread instead of read to load clips
in the jit.qt.movie object is also better.

the best solution for me is load everything
into ram with the loadram message.

but this it only possible, if your all your clips are fitting
into ram.

to cycling team:
it would be great, if the frame preload would work
seamlessly. i think its a smart idea only load the first frames.
but 8-10 stillframes at the begining is a nogo in most cases.

it would be great to have a 64 bit version to load everything into ram.

hope it helps,
tom

jhdkfj39929's icon

Thanks. Well, my still frames are assembled into one movie file. I load them into textures one by one, with frame message. They are all loaded into RAM. At every load, there is a pause. They are pretty big. Actually, it is better now with

;
jitter glreadback fbo