capture Jpeg live from webcam
AS3 April 29th, 2008For one of my projects that let’s the user record a profile video through his webcam, I need to publish a JPEG from the recorded video to later display in an html video list.
After turning the web upside down, I found that byteArrays blog’s approach seemed the most suitable one. But he works with AMFPHP, which I did not want to add to the other frameworks already involved with this project, and therefor reconstructed it using a simple PHP solution.
I will continue posting my progress here, and offer src files ASAP.
Another source I found, but haven’t evaluated yet, because it is built in AS2, works with PHP’s GD image library.
For more information on AMFPHP (aka flash remoting for PHP), which is a remoting service for flash applications, that basically allows flash movies to call remote server side applications. Here is an introduction, but I think that it deserves it’s own topic in flashcrobat. I hopefully will soon have time to look deeper into it.
<update >
Ok I have come closer :
http://labs.findsubstance.com/2008/04/03/as3-upload-encode-images/
and :
http://www.hackszine.com/blog/archive/2008/04/encoding_jpegs_clientside_in_a.html
http://henryjones.us/articles/using-the-as3-jpeg-encoder
I am going to try to combine the infos found on several resources, and hope that as an outcome we will have a nice reusable application with which you can make a thumbnail of a clip recorded through your webcam. So let’s spit in our hands: