Jitter

Networking Jitter matrices via TCP

For sending large amounts of media data—such as video—over the internet, TCP is more reliable than UDP because the receiving computer can check that it has received packets in the proper order, and it sends back an acknowledgement messages so that the sending computer knows whether the packet was successfully received. For large packets, it's best to put all the data into a Jitter matrix and send that via TCP.

Delay a matrix

This patch demonstrates a way to create a video delay effect using jit.matrixset. The jit.matrixset object is essentially an array of Jitter matrices. One of the things you can do with such an array is store a set of past frames of a video to recall later. Here we use the array as a circular buffer of the most recent 30 video frames to come out of jit.qt.movie.

Slideshow

This program assumes that you have a folder of image files (jpg, etc.) that you want to show as a slideshow. This program also assumes that those images all have the same dimensions.

The program assumes images that are 320x240 pixels. If you want to use another size, you should change the dimensions of the jit.qt.movie objects and the size of the jit.window. Images that do not have a 4:3 aspect ratio will get distorted when shown fullscreen, unless some adjustments are made.