Yesterday at LCA 2010 I did a lightning talk in the Open Programming Languages Miniconf about a Javascript library I've been working on for a while called CineJS. CineJS provides a simple way to apply real-time filters to HTML5 video (and images) with only a few lines of Javascript and ships with nine pre-written filters that match the basic filters you would get from a simple image processing program.
There's a simple example that applies a greyscale filter to a 30 second clip from the classic 1964 film Santa Claus Conquers the Martians
. Check out the source code to look at how the filters are constructed and applied, or look at the more complicated stack demo to see how filters can be combined and altered.
This is pretty alpha, but it should work on current versions of Firefox, Safari and Chrome. I'd love to see some more complicated filters, and if you e-mail them to me, I'll be very happy to include them in future versions.
The current version is 0.1.1 (and comes minified), and you can also clone the git tree.
Copyright © 2006-10 Adam Harvey. Original content is licensed under a Creative Commons Attribution 2.5 Licence.