Google Answers Logo
View Question
 
Q: Viewing a local camera feed in Flash on Linux ( No Answer,   0 Comments )
Question  
Subject: Viewing a local camera feed in Flash on Linux
Category: Computers > Operating Systems
Asked by: petetastic-ga
List Price: $50.00
Posted: 22 Sep 2004 18:34 PDT
Expires: 23 Sep 2004 17:28 PDT
Question ID: 405078
Hi clever people,

This one has me stumped: I'm building a kiosk for a client. A linux
box that is running a flash page in a web-browser. At some point
during the experience, the flash page needs to display a live video
feed. In Windows, this is a trivial matter. The flash app simply runs
two lines of actionscript:

my_cam = Camera.get();
my_vid.attachVideo(my_cam);

...where my_vid is a video object that has been placed on the stage.
And hey presto, live video is displayed from whatever webcam you might
have plugged in. On my linux machine and the same USB camera, however,
I see nothing but a black box. Now, without a camera plugged into the
linux box, I don't see anything (and neither am I prompted whether I
accept the page to view my camera). This means that the linux box is
seeing the camera, but somehow Flash is not displaying the video
correctly.

I know that this USB camera works on this machine in this OS, because
I can see live video using xawk or gnomemeeting. I know that this
flash app can display video on a machine through that machine's local
camera, because the same Flash app works in windows. Just can't seem
to get the two together.

Here are the specs of my system:

Box: Shuttle PC, firewire card, multiple USB ports, 3.4GHz P4, 1Gb RAM
OS: linux Fedora Core 2
GUI:Gnome v.2.6
Browser: Firefox 1.0Pre
Flash version: 7,0,25,0


Here are some links:

An note about a "black box" appearing in Flash when viewing a local
camera feed (however this refers to the *authoring environment*, and
that is only available on Windows):

http://www.macromedia.com/support/flashcom/ts/documents/blackbox_novid.htm

A link to the test file that should simply echo back your local video
feed (try it if you have a webcam).

http://www.urgelab.com/camera.html

I can, of course, send you the source code, although it's effectively
just the two lines of actionscript that I posted above.

My ultimate goal is to get an Apple iSight doing this, but in the
meantime I'll settle for a USB camera. If you can get this working,
I'll throw more money at the iSight problem. Also infinite respect and
probably a bottle of rather good wine.

Cheers,

Pete
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy