| Language \ Environment \ Comparison |

| Index

The video library allows Processing to display QuickTime video files and grab video data from a camera. Video can be captured from USB Cameras, IEEE 1394 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. For this library to work, it is necessary to have QuickTime for Java installed on your computer. Download and install QuickTime and do a custom installation, making sure the QuickTime for Java option is selected. You also need video driver software for translating from the proprietary format of your video source into commonly used video functions. You can get this software from the makers of the video hardware. If you are not using an Apple computer, you will also need a VDIG, a video driver that translates from your hardware to the video functions used by QuickTime. This software may be included in the software provided by the maker of your hardware, or you can download the free VDIG available at http://www.vdig.com and check if it is compatible with your video camera. The free VDIG is slower than many you pay for.
| Loading & Playback BVideo Datatype for storing video. loadVideo() Loads a video into a variable of type BVideo. play() Starts a video. stop() Stops a video. repeat() Starts a video and re-starts it when finished. pause() Pauses a video. Capture beginVideo() Begins capturing frames from a video source. endVideo() Stops capturing frames from a video source. videoEvent() Called when there is a new video frame available. video Variable containing the most recent frame read from the video source.

| © 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea |
| Processing is an open project initiated by Ben Fry and Casey Reas |