Play movie frame by frame

SPomo's icon

Hey, I was looking to play a movie frame by frame through jitter. I can get the video loaded, and at one time, came across a way to see what frame of the video it was on but I can't seem for the life of me to figure out where that was. I basically want it to move one frame, every time it receives a bang.

LHolland's icon

You need to use the [frame] message. I'm assuming here that you're using [jit.qt.movie] anyway.

Max Patch
Copy patch and select New From Clipboard in Max.

Something like this would work...

cudnylon's icon

edit: looks like i was a little too slow.

bang goes to [counter] which controls frame position. when you load a video it resets the count to 0 and sets the max count to the # of frames in the video to loop back to the beginning. setting the rate to 0. gets you frame-by-frame playback. there may be a better way to do this, but this should get you where you need to be. sorry about the clutter.

Max Patch
Copy patch and select New From Clipboard in Max.

`