Actionscript :: Detect Webcam Hardware With Flash?
Aug 27, 2009
Is it possible to detect the specific webcam hardware that a person is using to stream through flash? Assuming that the user has accepted the webcam security questions and is successfully streaming to a FMS server; Can some code we written so that I can tell if the user is using a lifecam vs another model. Ie. are there headers or some other signature that can be used to detect this?
View 1 Replies
Similar Posts:
Aug 9, 2009
Currently making a music project that will, in theory, play sounds based on detected colors a webcam can see.
I'm certain this is possible in either AS 2 or 3 - but unsure exactly how.
I've searched the wonderful nets for a tutorial or an example of this being done with flash but have come up with nothing.
Is there any tutorials for detecting colors and then responding to them? (All as viewed by webcam, so in real-time).
View 5 Replies
Aug 16, 2009
I need help with a small flash project i'm doing. Basically the task is to detect a color via webcam, then respond to what colors it can see (using the webcam). Example Color red is held in front of camera - flash sees this, then respond by playing a sound. green and red is held in front of cam, flash can tell there is two colors, plays a sound. etc would writing the webcam video object to a BMD every frame, then getPixel that to work out the colors? I'm guessing i'd need to use colorTransform to merge all the blues, reds, greens, etc together (so it only checks for those 3) then responds if it finds them with getpixel?
is there any examples of that, or something similar i could work from? would anyone be able to give a quick write up of what this might looklike/how to do it? (havent done much programming in as3) All i need it to do is: Check video for range of colours (ie, blue, light blue, dark blue, etc, all are equal to blue, unsure how i'd do this. Was thinking Yellow, Red, Green, Blue as the 4 colours) If any of those are in the video, then respond by playing a sound. (However if yellow and blue are in the video at the same time, play a DIFFERENT tune)
View 1 Replies
Jan 6, 2011
I searched forums and googled and not found anything on how to detect the Webcam supported resolutions in flash.The whole issue stems from the issue when I use Camera.getCamera() (only have one attached to my laptop) I'm always getting different values for camera.height and camera.width. Also some 720p cams have different aspect ratio then the old cameras.Is there possible to detect somehow what's the largets resolution is supported by a webcam? Or all possible resolutions supported?
View 2 Replies
Oct 7, 2009
I'm working on a school project that will work so that a webcam can scan a grid of colors and determine what color it is and there by playing a sound tha is connected to that color. You can then create music by drawing different colors on a grid.I know that this is doable in AS3, I just don't know how exactly since im kind of new to this.So i managed to import the webcam image to flash, and that's all. How do I Proceed?
* How do i get the webcam to detect colors? (Green, Blue, Red, Yellow and Black)
* How do i connect these color detections to start playing a sound/movieclip?
View 1 Replies
Oct 11, 2010
From a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but if the user doesn't have the hardware, I want to skip over them altogether. Requesting access to the cam before those dialogs won't make sense to the user.
It appears not to be possible to call Camera.getCamera() without the security prompt happening. Is there a workaround? (For instance, could I, perhaps, call getCamera in a hidden Flash object and inspect its return value, or does it block until the user acknowledges the security prompt?)
View 3 Replies
May 29, 2009
im trying to detect when a webcam fails or is unplugged.
Code:
//Get webcam on the screen
var video_vobj:Video;[code]....
this is only executed at the start and i cannot tell if the camera is disconnected during the rest of the clip.Is it possible to check the connection for the life of the clip ?
View 1 Replies
Jul 15, 2010
Is there any way to detect webcam and microphone connections in runtime in flex.Suppose the clients are participated in a videoconnference .One of clients joins the conference without webcam.In meantime he connects to webcam as he in the conference.How to stream that user video to all connected clints.
View 5 Replies
Nov 20, 2011
I'm having a bit of trouble implementing a system that can detect night and day through webcam.
I've decided the best approach would be to detect the average colour of the webcam image, and through this it can be converted to grayscale and if its closer to black the background will be dark or if its white it'll be brighter.
What I'm having trouble doing is working out how to achieve this, I've been using the kirupa webcam tutorial but I've got no idea how to actually go about working out the average colour.[URL]..
View 6 Replies
Jan 11, 2012
Is there any possibility/workaround to detect if user's webcam supports 16:9 aspect ratio?
View 4 Replies
May 23, 2011
I want my site's users to be able to record videos straight from their webcams into my site. Videowhisper is one such tool which seems to work fine - [URL] But I'm looking for opinions on better / more scalable / reliable solutions. Paid solutions are fine.
View 4 Replies
Jun 24, 2011
I don't need to stream anything. Just wanting to look at a webcam using Flash. Hopefully be able to control (zoom) a Logitech cam on Mac os 10.6+.
It will be a screen I share in Connect. The video pod in connect is not what I want.
View 1 Replies
Dec 16, 2010
I don't have my own Flash Media Server. I can however use the Highwinds CDN. They run FMS on their CDN. When you schedule a live event, Highwinds gives you two urls: the "server" and "stream name". Examples:
[Code]....
View 2 Replies
Sep 7, 2011
[Code]...
That is the entire code for my program and when it runs, nothing happens. I know the program has access to the laptop's webcam because it can trace the name and a similar program I wrote works with the same webcam. This program doesn't even ask for permission to access the webcam so I'm rather confused.
View 1 Replies
Aug 9, 2009
I've been trying to access my webcam on my macbook pro using flash cs4 in an attempt to try and use the live feed to detect levels of motion and from there use that information to alter / animate an image on the screen (idea being more movement = more change in image), however I cant seem to get my webcam to even stream out and play on a flash file.
The code I am using is:
start code
var camera;
var video;
camera = Camera.getCamera();
video = new Video(camera.width * 2, camera.height * 20);
video.attachCamera(camera);
addChild(video);
end code
And when I run the file it asks for me to grant access to webcam / microphones (which is what it should do) but it doesnt stream to the file.
View 1 Replies
Dec 31, 2009
I am looking for a "test your webcam" flash movie like this one that is free and OK to use in a closed environment.
I need the camera testing only, no server side processing of the video stream. It is thought as a small online tool for a client.
View 1 Replies
May 26, 2010
I need to take a picture from a webcam into a webapp (PHP5/JQuery/HTML5) but I cannot use Flash; Is there a light java applet or any alternative technology for this?.
View 1 Replies
Jun 3, 2010
Is there any way asp.net can access/stream web cam content without using flash or silverlight to access the web-cam?
View 1 Replies
Jun 4, 2010
I'm trying to play with live web cam using asp.net with C#. I want to access/stream web cam content using flash then send the captured streams using Real-time Transport Protocol.
View 1 Replies
Jul 14, 2010
I'm trying to embed some flash code, and I'm using swfobject. When I put it in the parent div, it asks the users for permission on the webcam/audio. However, when I put the flash code into a lower-level div, it doesn't prompt for permission to use the webcam, or anyting. I.E.I can put the flash into container, but not inside.
View 1 Replies
Jul 26, 2010
we have the below code and it captured the video but not the actual video which displayed in the webcam. It only captured one third of the image like from x 100 and y 40 something how to capture the whole image displayed in the webcam like 320*250 below is the code
[Code]...
View 1 Replies
Feb 24, 2011
I'm trying to accomplish something with flash but I'm having some problems, if not a solution I'm hoping someone can tell me a method and what I should read up on to do this: I want to have an image on the stage that has a gap the shape of a face in the middle of it, I'd then like to put a webcam feed behind it so people can line their face up in the gap and press a button to take a picture. (I've managed to put the webcam on the stage and take the picture but can't work out how to put it behind an image). Then I cant quite work out how I'd put the face onto a character I've drawn.
View 1 Replies
Mar 17, 2011
I've been looking at opensource tools, but turns out my roommate has an old version of flash. All the webcam tuts I've seen don't work in this, i'm wondering if webcam controls even exist in as2 and if someone could possibly provide a simple explanation on how to make them work?
I have wowza media server running on my host and I want to be able to broadcast my webcam on a website using it.
View 1 Replies
May 1, 2011
I'm making a book/magazine with EZFLAR and Flash, but I was going to need a lot of markers (and they become indistinguishable by FLARToolkit the more they are), so now I'm trying a different approach: just three markers and then, load a different SWF that triggers different actions for each marker.
To do so, I made a loader.swf that will be in charge of loading any of the specific swf depending on what the user clicks. I started with my first button and it loads fine, just it has two problems.
First problem, and not so important, is that I can't seem to add anything over the webcam stream, not even placing it on the EZLFAR.fla, the webcam always covers everything. I decided, then, to add a little margin where I can place a UI (maybe a back button or the other swf loaders).
[Code]...
View 1 Replies
Jul 12, 2011
I'm trying to make an instant messaging website that allows webcam. What would people suggest (webcam wise) I use to implement webcam into this site?
View 2 Replies
Jul 15, 2011
I've just an SWF object to display the users webcam, however it won't let me make the webcam smaller than 320 x 240. Is this the lowest size I can go?
Just for any reference if needed:
import flash.media.Camera;
import flash.media.Video;
var camera:Camera = Camera.getCamera();
[Code].....
View 1 Replies
Jul 25, 2011
I'm currently developing a website in which I want to stick webcam chats between the users. Each client has an account and can call up a different client when he needs some help.I'm thinking about setting up a flash media server or creating p2p (cirrus) connections between the clients. Pretty sure that the first solution will work just fine, however the cost of the hosting might be much higher. I'm worried that the p2p solution might cause some problems to the users, as then might be hidden behind some firewalls or be in some networks that don't allow them to create a p2p connection with a remote computer.
View 3 Replies
Dec 19, 2011
i know how to use a webcam in as3,i want to record webcam video and save to my Local disk
View 1 Replies
Sep 18, 2010
I am trying to activate a my webcam and run a live stream from it. Im running into problems though. I can get the webcam to turn on(the green light comes on). However, nothing is displayed. I have copied the code i am using to try and achieve this, hopefully its just a simple mistake.I am using Flash Builder 4 to put all this together.
Code:
package camera
{
import flash.display.Sprite;
import flash.media.Camera;
[code]....
View 2 Replies
Sep 9, 2004
Is it possible to have live webcam in flash? Is there a tutorial out there I can check out? All I want to do is have a viewer look at my site and click on a button to view a live webcam. I know when you right click you can set the settings for webcam and mic.
View 3 Replies