The Video library allows Processing to play and display video files, grab video data from a camera, and make videos directly from a running program. Video can be captured from USB Cameras, IEEE 1394 (Firewire) Cameras, or Video Cards with composite or S-video input devices connected to the computer. Video can be loaded from files located on your computer or anywhere on the Internet.
Issues related to video setup on different platforms are documented on the Processing Wiki.
The Movie class makes it possible to load movies and to play
them back in many ways including looping, pausing, and changing speed.