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.

The source code is available on the processing-video GitHub repository. Please report bugs here.

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.

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

Video Events

captureEvent()
movieEvent()