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
Non-realtime video processing? (Read 964 times)
Non-realtime video processing?
Aug 25th, 2009, 11:47am
 
Is there a way to do non-realtime video processing using Processing's video-related classes? Ideally, I'd like to be able to read frames from a video file sequentially, without skipping any, regardless of whether this alters the playback speed. Thanks.
Re: Non-realtime video processing?
Reply #1 - Aug 25th, 2009, 2:09pm
 
sure, did you check out the video lib page ? http://processing.org/reference/libraries/video/
Re: Non-realtime video processing?
Reply #2 - Aug 25th, 2009, 11:03pm
 
Cedric wrote on Aug 25th, 2009, 2:09pm:
sure, did you check out the video lib page


Yeah, but the problem is, I can't figure out how to tell an instance of Movie to give me frame # x -- i.e., I'd like to be able to do something like "movie.getFrame(1); movie.getFrame(2), ..." etc. All I can do is read whatever frame is currently available and hope that I'm able to do my processing on it before the next frame -- otherwise, I'll get dropped frames. Granted, I can slow down playback with the speed() function, but that seems like a bit of a kludge...
Page Index Toggle Pages: 1