|
Author |
Topic: video/screen capture (Read 2518 times) |
|
bsr
|
video/screen capture
« on: Oct 6th, 2004, 8:43pm » |
|
i want to record the output of an applet as a quicktime file, i know there is Snapz Pro 2.0 for apple but i'm on a pc, does anyone know of a similar program for xp? saveFrame() isn't an option as it takes too long and this is a reactive audio applet visual thingy so needs to run at full speed. cheers, jon
|
http://hippocamp.net
|
|
|
cello
|
Re: video/screen capture
« Reply #1 on: Oct 6th, 2004, 9:00pm » |
|
I'd imagine if save frame is too slow, most other options will be as well... Maybe just use a faster computer? Marcello
|
|
|
|
rgovostes
|
Re: video/screen capture
« Reply #3 on: Oct 6th, 2004, 11:05pm » |
|
Is it possible to tweak the code to use a pre-recorded QuickTime movie or WAV file and then output with saveFrame() - just for your example? It seems like it would be the smoothest way to go. QuickTime Pro can join an image sequence into a movie and then add a sound track, so you'd be able to compress the images once you're finished demonstrating the sketch.
|
|
|
|
bsr
|
Re: video/screen capture
« Reply #4 on: Oct 6th, 2004, 11:44pm » |
|
it's a sonia based reactive applet, unfortunately using saveframe() wont result in a synched movie file, there's just no way the loop can write a frame to disk in time. i've been writing some code in the vein of: http://processing.org/discourse/yabb/board_Contributions_Audiov_isual_action_display_num_1086450442.html but much simpler, just some ellipses pulsing in time to music, pretty hypnotic. a much more complicated way to do this would be to actually open the wav file and read the frame data using that to effect/control stuff, you'd have all the time in the world then... but i've not got enough time or skill to go into into it that way.
|
http://hippocamp.net
|
|
|
cello
|
Re: video/screen capture
« Reply #5 on: Oct 7th, 2004, 2:24am » |
|
Then what about using the copy() command, saving the images into memory, yourself, then saveframe() them all later when you're done. Marcello
|
|
|
|
bsr
|
Re: video/screen capture
« Reply #6 on: Oct 7th, 2004, 12:43pm » |
|
aaaaah, there's a plan, will look into it, cheers! now how much to order a gig of ram haha.
|
http://hippocamp.net
|
|
|
fjen
|
Re: video/screen capture
« Reply #7 on: Oct 7th, 2004, 4:55pm » |
|
following the ram-idea, why not have the saveFrame run in a different thread? so it won't slow down performance .. loop(): grab screen -> move into array second thread: for each entry in array saveFrame() maybe this will help save some more ram: http://www.florianjenett.de/p55/P_JPGEncoder.java /F
|
|
|
|
|