Short freeze at the beginning - video playback
I’m working on a simple patch to alternate the playback of various videos, one at a time, selecting the files via MIDI keyboard input. Everything works, but each time I switch to the next file it freezes on the first frame for a short moment (about half a second). I need the transition from one file to the next to be perfectly smooth.
I’ve tried different methods for loading and reading the files (loading from an external folder with jit.movie, loading and reading internally with jit.gl.polymovie), I’ve tried changing the playback position, and I’m always working with textures in order to reduce CPU load. None of these attempts have solved the problem.
Important: I need the videos to always start from the beginning when I select them. In the jit.gl.polymovie help file this initial freeze is not noticeable because the files resume from a middle point instead.
What am I missing?