Video
The video library allows Processing to display QuickTime video files, grab video data from a camera, and make QuickTime 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 QuickTime files located on your computer or anywhere on the Internet.
Note: Issues related to video setup on different platforms are documented on the Processing Wiki.
Capture Class
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()
format()
source()
settings()
read()
available()
frameRate()
crop()
noCrop()
stop()
Movie Class
The Movie class makes it possible to load QuickTime 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()
MovieMaker Class
The MovieMaker class makes QuickTime movies from a running program.
MovieMaker
addFrame()
finish()