Groups | Blog | Home
all groups > flash actionscript > september 2007 >

flash actionscript : Camera.get - USB vs. Firewire


jgomula
9/2/2007 6:53:29 PM
This may not be the right forum, I'm not sure this is a "code" issue. I am
trying to display live video. My project works [b]GREAT[/b] with a Firewire
video camera attached - I see live video in my SWF; but I get no video in my
SWF when I attach a USB 2.0 webcam. I don't think this is my code - is this a
bug? I am using Flash MX 2004. The USB webcam works fine with iChat and
QuickTime, just not in Flash. Any ideas on this would be greatly appreciated.

:brokenheart;



my_cam = Camera.get();
my_cam.setMode(320, 240, 15);
videoContainer.myVideoObject.attachVideo(my_cam);
Crandom
9/2/2007 8:02:52 PM
Its not your code - that's fine. Its nothing to do with firewire or usb 2.0, as
firewire transfer rates are only 400mbps compared to usb 2.0's 480mbps - the
usb should be better. Are you using a mac? You hardly ever hear of firewires on
pcs.

Your problem is to do with the curse of all hardware: drivers. Now, most
drivers are good, and the best are the ones that come with your pc - the plug
in and play ones. These work find with Flash and are tested and efficient. If
your using a Mac, you would've had the drivers for the firewire, apple likes
firewire, but perhaps not the usb.

Anyhow, what im really trying to get at is its nothing to do with flash or
your code, its the camera's drivers failing to interact with flash. Either this
was a dodgey install or you have a Mac, which then you have no hope, or just
siply flash doesn't like it. I suggest you put it on a website to test with the
people on this forum.
SpaceGirl
9/2/2007 11:13:04 PM
[quoted text, click to view]

Hmm FireWire is *sustained* 400Mbps (or 800Mbps). USB can only burst to
480Mbps, then slows, depending on your hardware. At least that's what I
was told?

[quoted text, click to view]

However I think you're right :)


--

x theSpaceGirl (miranda)

http://www.northleithmill.com

-.-

AddThis Social Bookmark Button