Re: [Flashcoders] webcam video capture

2007-06-16 Thread [p e r c e p t i c o n]

thanks Bob and Jim!
p

On 6/15/07, Bob Wohl [EMAIL PROTECTED] wrote:


anywhere outside that camera object

(other than bitmap class like jim just posted)

On 6/15/07, Bob Wohl [EMAIL PROTECTED] wrote:

 yes and no. You can do a camera.get but that will basicaly create a
 connection to your camera, no one else can see it just you. It is not
only a
 few frames, it is live.  it's also not accessible (images that is) to
use
 anywhere outside that camera object. 'Capturing' it and saving to a
source
 can only be done through FMS (server side FLV which I believe is not
 accessible outside of the server it's self).


 B.


 On 6/15/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:
 
  Hi all,
  is there a way to capture web cam video straight into flash...not a
  single
  frame, but a few seconds worth?
 
  thanks
  p
  ___
  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
 


___
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


___
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


[Flashcoders] webcam video capture

2007-06-15 Thread [p e r c e p t i c o n]

Hi all,
is there a way to capture web cam video straight into flash...not a single
frame, but a few seconds worth?

thanks
p
___
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] webcam video capture

2007-06-15 Thread Jim Cheng

[p e r c e p t i c o n] wrote:


is there a way to capture web cam video straight into flash...not a single
frame, but a few seconds worth?


I'm assuming by straight into Flash you mean without recourse to a 
RTMP server such as Adobe's Flash Media Server or the open-source Red5 
project as per the documented means.


Assuming you're targetting Flash Player 8 or later, if all you want to 
do is capture bitmaps of the video feed across multiple frames, you can 
simply make bitmap copies of the video object displaying your local 
camera feed and save them to BitmapData instances on each frame (say, 
via an onEnterFrame handler in AS1/AS2 or the analogous enterFrame event 
if you're already using AS3).


The only significant constraint you need to watch out for here is memory 
usage.  Allocating and storing a bitmap in memory for each frame goes 
through RAM very quickly if you're storing more than a minute or two of 
video in this manner.


While this works, it doesn't work nearly as well as saving to FLV via a 
server.  Your frame rate may get choppy depending on the Flash Player 
and/or system performance and you're certainly not going to get sound 
this way.  If you want the full monty, you'll need to go RTMP.


Jim Cheng
EffectiveUI
___
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] webcam video capture

2007-06-15 Thread Bob Wohl

yes and no. You can do a camera.get but that will basicaly create a
connection to your camera, no one else can see it just you. It is not only a
few frames, it is live.  it's also not accessible (images that is) to use
anywhere outside that camera object. 'Capturing' it and saving to a source
can only be done through FMS (server side FLV which I believe is not
accessible outside of the server it's self).


B.


On 6/15/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:


Hi all,
is there a way to capture web cam video straight into flash...not a single
frame, but a few seconds worth?

thanks
p
___
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


___
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] webcam video capture

2007-06-15 Thread Bob Wohl

anywhere outside that camera object


(other than bitmap class like jim just posted)

On 6/15/07, Bob Wohl [EMAIL PROTECTED] wrote:


yes and no. You can do a camera.get but that will basicaly create a
connection to your camera, no one else can see it just you. It is not only a
few frames, it is live.  it's also not accessible (images that is) to use
anywhere outside that camera object. 'Capturing' it and saving to a source
can only be done through FMS (server side FLV which I believe is not
accessible outside of the server it's self).


B.


On 6/15/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:

 Hi all,
 is there a way to capture web cam video straight into flash...not a
 single
 frame, but a few seconds worth?

 thanks
 p
 ___
 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




___
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