|
Author |
Topic: very slow save() and saveFrame() on OSX (Read 593 times) |
|
battey
|
very slow save() and saveFrame() on OSX
« on: Oct 25th, 2003, 1:02am » |
|
Processing alpha 65 OSX 10.2.6 Seems like this is probably an OSX java issue rather than a P5 issue.(?) Using P5 to generate full frame (640x480) video frames, I found that it was taking 45 seconds (or so) to write out each frame on an OSX machine, even on a brand new G5. Same story if I edit the p5 prefs to use java 1.4 rather than 1.3.1 Today I tested on a windows XP machine. The same frames are writing out in 8 seconds. So looks like I'll be moving this project to Windows
|
|
|
|
skloopy
|
Re: very slow save() and saveFrame() on OSX
« Reply #1 on: Oct 25th, 2003, 9:06am » |
|
I noticed that too. I'm doing a project right now that has a LOT of frames and it goes super slow no matter if it's on a G5 or anything. PC's are faster for the frames but using them is painful so i'm stuck with the delay
|
|
|
|
fry
|
Re: very slow save() and saveFrame() on OSX
« Reply #2 on: Oct 25th, 2003, 7:31pm » |
|
i think it's something that can be optimized. 45 seconds is way too long, i had tested that code mostly on the pc (and not bothered optimizing it), so i didn't realize it was so bad on osx. i'll see about getting a quick fix in there.
|
|
|
|
fry
|
Re: very slow save() and saveFrame() on OSX
« Reply #3 on: Oct 26th, 2003, 3:00am » |
|
k, fixed.. save times for an 800x600 image on my ipoo have gone from 55+ seconds down to 3 seconds. the joy will be available with rev 67.
|
|
|
|
|