[Flashcoders] Saving an image from a webcam?

2006-11-23 Thread Josh Santangelo
I'm working on a digital photo booth. The idea is that with a webcam and 
a touch screen, I can save a still image from the camera back to a 
server and then do other fun things with it from there.


I thought FMS2 could save images from webcams, but now I'm finding that 
it's only video. Great. I could just capture short videos and then work 
out some way to convert them with ffmpeg, but that sounds like a big 
pain. Has anyone done similar with success? This needs to run on Windows 
btw.


I recall some demos which used AS3/FP9 to create BitmapData objects and 
send them back to the server somehow, which were then processed and 
saved as normal images. Has anyone come up with a stabilized package for 
doing this sort of thing? All I'm finding now is this...


http://www.quasimondo.com/archives/000572.php

...and I'm not sure it will work with larger images very well.

thanks,
-josh
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Saving an image from a webcam?

2006-11-23 Thread Eric Kersten

As already stated, Flash (since player 8) allows you to manipulate
bitmaps via it's BitmapData Class.

You can process each pixel of a MovieClip (containing the video symbol
with the webcam video attached) and then send it to a server side
script like PHP to save the image file.

An example of (kind of) such thing can be found at:
http://www.sephiroth.it/tutorials/flashPHP/print_screen/

It's done with a video player but it can be done with a webcam too
with minimum adjustments.

On 11/23/06, Josh Santangelo [EMAIL PROTECTED] wrote:

I'm working on a digital photo booth. The idea is that with a webcam and
a touch screen, I can save a still image from the camera back to a
server and then do other fun things with it from there.

I thought FMS2 could save images from webcams, but now I'm finding that
it's only video. Great. I could just capture short videos and then work
out some way to convert them with ffmpeg, but that sounds like a big
pain. Has anyone done similar with success? This needs to run on Windows
btw.

I recall some demos which used AS3/FP9 to create BitmapData objects and
send them back to the server somehow, which were then processed and
saved as normal images. Has anyone come up with a stabilized package for
doing this sort of thing? All I'm finding now is this...

http://www.quasimondo.com/archives/000572.php

...and I'm not sure it will work with larger images very well.

thanks,
-josh
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Eric Kersten [EMAIL PROTECTED]
Web Site  Application Developer
Macromedia Certified Flash MX 2004 Developer
http://kersten.com.ar/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com