jit.qt.movie

Replaceable white mask

If you have a video that you first want it masked by a white background, and uncover the video as lines are drawn into it, you can use a jit.lcd with a white background, draw into it with black lines, and add that to your video. All the pixels that are white (255 255 255) in your jit.lcd matrix will be white in the summed output, and all the pixels that are black (0 0 0) in the jit.lcd will not affect the video.

Create a stop motion effect using jit.qt.movie

To create a stop motion effect, calculate the ratio of the movie’s framerate to your desired (stopframe) framerate. Use that value to calculate a metro interval. Then move ahead the desired number of frames with each bang of the metro. In order to avoid any errors caused by using int instead of float, calculate and store the current frame number as a float (outside of the jit.qt.movie object). Finally, send a frame message to jit.qt.movie.

Output video duration after read

This example shows how to automatically retrieve several information data regarding a loaded video on jit.qt.movie. In this case we are taking advance of the message read filename 1 that is output on the second outlet after a successful file load, and using that to trigger several get messages which will also be output out the second outlet and then routed to their proper place using the route object.

text to video

This example shows a simple way of putting text into video, with the lines of text stored in a coll object. After loading the video sending a read message to jit.qt.movie, you can load each line by clicking the button in the middle of the patch.