Flash Webcam DVR

I recently spent a couple weekends geeking out to make this. It’s pure Actionscript 3, which meant excessive amounts of code to draw the UI.
You’ll need a webcam to test this.
Big caveat: This eats up a _ton_ of memory, as the video is simply made up of hundreds of frames stored in an array of BitmapData. Bigger caveat: The save and load feature is only practical for very short video clips, and will otherwise bring down the browser (!). It stores megs of data to a local SharedObject, which surely constitutes a criminal abuse of what LSO’s are designed to do. Hah. Rational: When doing personal stuff, I’m only half-interested in questions of usability and stability (Did I just say that?! LOL.)
To-do, hopefully: Port to Apollo. (But first learn how to use Apollo, haha). Offload video data from memory to disk using the Apollo file I/O API (Thanks, Béla, for the idea).
To-do, ideally: Find a solution to compress video to memory/disk on the fly.
Version: 0.8

April 30th, 2008 at 7:26 am
See some more Flash webcam experiments & interactive samples on http://www.SillyWebcam.com , have fun!