Export video without SaveFrame?
in
Core Library Questions
•
6 months ago
Hey,
I'm working on a simple Processing app/toy for some preschoolers to play with, which uses the Kinect to let the kids make green-screen style videos in front of a virtual backdrop, and wear their own digital "costumes" through head-tracking. It works pretty well, and the kids are having fun with it.
I'm interested in adding functionality that will let the kids record short videos of their performances. Because I'd like it to be relatively intuitive for the kids (and other less tech-savvy teachers I may share this program with), exporting frames via SaveFrame and then combining them into a video with another tool is an option I'd like to avoid. With Processing 2.0 are there
any options for exporting a reasonably-sized video as a video file rather than a series of saved frames? Or is there a way, in code, to access the MovieMaker tool and have it turn the frames into a video file automatically within the program after they stop recording.
(While I want the students to be able to play independently with the tool, I plan on including safeguards in the program that will keep them from eating up the entire hard drive by recording videos - no need to caution me on that front. My first priority is to find if there's a user-friendly way to export video from a Processing application, THEN I'll start dialing back and adding limits and things.)
1