I deleted the duplicate thread. You can bump up a topic, fix the subject to make it more explicit, but don't post identical threads, please.
Have you looked at the reference: http://processing.org/reference/libraries/video/index.html ?
And the video sketches shipped with Processing?
Have you looked at the reference: http://processing.org/reference/libraries/video/index.html ?
And the video sketches shipped with Processing?