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
saveFrame() stops after x frames (Read 877 times)
saveFrame() stops after x frames
Feb 6th, 2007, 8:28pm
 
Hi everyone.

I have a pretty simple JMyron/Processing programs from which I wanted to make a movie.

The problem is after x frames (145 to be exact) the program stops saving frames (but continues running).

I checked my code and it seems fine, there are no counters, etc... I simply implemented a mousePressed function to stop() JMyron and processing.
There's plenty of room (10Gb) on the drive.
I'm using Processing 0123 with Java 1.6.

Anyone came across with something like this before?

Also, is there any benchmark on saveFrame()?
(How many images/second, etc...)

Many thanks in advance.
Re: saveFrame() stops after x frames
Reply #1 - Feb 6th, 2007, 11:46pm
 
i'd start by using the version of processing that includes java, and not using 1.6.
http://processing.org/reference/environment/platforms.html#java

then i'd check to see if a non-JMyron program has trouble with saveFrame().
Re: saveFrame() stops after x frames
Reply #2 - Feb 7th, 2007, 5:25pm
 
Hi fry,

Thanks for the reply.
That seemed to solve the problem, but meanwhile I started using the MovieMaker library (saves a few steps Wink ).
Page Index Toggle Pages: 1