stutter on loading

Oct 18, 2010 at 4:45am

stutter on loading

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 1280×1024 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.

#52797
Oct 18, 2010 at 5:43pm

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.
http://cycling74.com/2009/09/23/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

#189819
Oct 19, 2010 at 3:25am

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

#189820

You must be logged in to reply to this topic.