We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Filters for Movie (Read 582 times)
Filters for Movie
Apr 11th, 2010, 1:42pm
 
Hi everyone,

I would like to make a filter for videos that I have already captured. I have been reading some code on frame differencing etc. and it seems to me that so many things exist for "Capture" but not as much for "Movie". What I would like to know is if I can get the RGB data from the pixel array of an already captured video and modify it. Would you know of a good example that I could use as a sample?

Thank you!
Re: Filters for Movie
Reply #1 - Apr 12th, 2010, 7:15am
 
Capture and Movie both extend PImage, which means that you can apply the same filters. Frames will be treated as regular images, whatever the source is (a camera capture or a movie frame).

In the examples, just replace myCapture or whatever it is called by myMovie or whatever you may call it.
Page Index Toggle Pages: 1