Check movie position
This example shows you how to how you can retrieve some attributes of jit.qt.movie object, and how you could use the position of the movie in milliseconds to cause an effect.
This example shows you how to how you can retrieve some attributes of jit.qt.movie object, and how you could use the position of the movie in milliseconds to cause an effect.
If you want to drive a slider using the current time information from jit.qt.movie, you can send the ‘gettime’ message into jit.qt.movie to cause the ‘time’ message to come out, and use that to drive the slider.
The imovie object displays a video within a single UI object in a Max patch. To detect when the movie has ended, use the getduration message to determine the movie's duration, then use the gettime message to monitor the current time of the video as it plays. In this example, we use the grab object to get the duration once and store it in other objects (select and >=).