jit.qt.movie gapless sequential video playback

Oct 9, 2013 at 9:56am

jit.qt.movie gapless sequential video playback

Evening all, I’m quite new to Max and jitter.

I’ve built a simple system (see pasted patch) that in theory will play video files in in order (using the loop report to trigger the “read” of the next file into the window) using logic gates in a nice tree.

However my main issue is getting the video’s preloaded so when the “next” file is called there isn’t the black half second halt between the files.

In the end this will be a decision tree based on the Run toggle. So it moves down through the files until the toggle is set back to off and then runs a specific file to return to “idle” state and resets all the gates till the run toggle is set 1 again.

My searching says that you can preload video into ram to remove the “pause” between files, but I can’t make this work.

Alternatively a logic gate similar ggate which works with matrix outputs would enable me to have multiple jit.qt.movie (one for each file) which could preload each video and store in a paused state and then be switched into the jit.window (seemless again) but this doesn’t seem to exist easily..

Any suggestions or pointers to what I should be reading would be great.

Thanks

(Oh and 720p video playback is never 100% smooth which is irritating, which I’m sure is again something I’m doing wrong)

<code>

– Pasted Max Patch, click to expand. –

</code>

#267579
Oct 9, 2013 at 11:59am

Did you look at this : http://cycling74.com/2009/09/23/the-video-processing-system-part-4/
And look for Vade optimization.

<code>

– Pasted Max Patch, click to expand. –

</code>

and another version :
<code>

– Pasted Max Patch, click to expand. –

</code>

#267596

You must be logged in to reply to this topic.