Video

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.

Movie

The Movie class makes it possible to load movies and to play them back in many ways including looping, pausing, and changing speed.

Movie
read()
available()
play()
pause()
stop()
loop()
noLoop()
jump()
duration()
time()
speed()
frameRate()

Capture

The Capture class makes it possible to grab frames of video from an attached capture device such as a camera. Adjustments to the size and speed are made through calling the functions defined below.

Capture
list()
read()
available()
start()
stop()

Video Events

captureEvent()
movieEvent()