Professional :: Detect Possible Webcam Resolutions

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


Similar Posts:


ActionScript 2.0 :: Detect Color Using Webcam?

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

ActionScript 3.0 :: Detect A Color Via Webcam

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

ActionScript 3.0 :: Get Webcam To Detect Colors?

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

Professional :: Fit Intro With Motion At All Screen Resolutions

Mar 9, 2010

I'd like to make an intro similar to this one used in this site:URL... In other words, I want the logo to appear firstly in the center and then go to the left side of the screen for every screen resolution. How can I make a motion for an object that will always starts from the center of every screen resolution and ends at the left side of the screen for every screen resolution?

View 11 Replies

ActionScript 2.0 :: Detect When A Webcam Fails Or Is Unplugged?

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

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

Media Server :: Detect Webcam Connection In Runtime?

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

ActionScript 3.0 :: Implementing A System That Can Detect Night And Day Through Webcam?

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

ActionScript 3.0 :: Detect When User's Webcam Supports 16:9 Aspect Ratio?

Jan 11, 2012

Is there any possibility/workaround to detect if user's webcam supports 16:9 aspect ratio?

View 4 Replies

Professional :: Adobe Media Encoder CS5 Hangs When Adding Files Of Varying HD Resolutions

Jul 29, 2010

I have been encoding 1920x1080i mov files (h.264/aac) to 1280x720p (vp6/mp3) flvs.However, when I add older HD content into the AMC que, content with non-standard presets, the program hangs.I tried to import about 15 files last night and the program just sat there all night in a 'NOT RESPONDING' state.The video's have different audio and video settings and it's little difficult to pinpoint exactly what they were.Some are 1440x1080, some are 1280x900, some have PCM audio some of mp3.Now I temporarily resolved this issue by simply using cs4 master on my mac pro which worked great.However I have noticed a huge speed increase in CS5 64bit AMC.It takes 2-3 hours to encode 1 flash video on my mac pro (dual quad core xeon 2.9Ghz/32GB ram) with CS4.It takes ~20 minutes on my windows 7 station (single core 2 quad 3Ghz/8GB ram) with CS5.
 
If I drop a single file into the AMC CS5 que, regardless of the resolution, frame rate, or sound codec; it will import.If I then add another file with a different resolution AMC will hang and become non-responsive.It never crashed but I can't wait 12+ hours to see if it accepted a job or not.As I said before this problem was not observed on CS4 for mac it worked flawlessly, albeit a little slow.[code]

View 1 Replies

Webcam - Detect Flash-accessible Camera Without Prompting User For Access To Camera If One Exists?

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

Professional :: Use Webcam In *.swf On Smartphone?

Sep 15, 2010

I just test my Android 2.2 and Flash player 10.1 on HTC but cannot get webcam in swf files.

View 1 Replies

Professional :: Image Quality Of The Webcam Is Very Low?

Jul 4, 2010

I am creating a basic webcam display right now and the image quality of the webcam is very low how can I fix this? My code is:

var camera:Camera = Camera.getCamera();var video:Video = new Video(); webCam.attachCamera(camera);

View 2 Replies

Professional :: Record Webcam Audio And Video?

Jan 4, 2010

there is a way to record the stream of webcam without use media server or similars servers? with flash or air can do that? record both audio and video?i found a air class that record video capturing bitmap data of each frame and saves to a byte array but no record audio

View 3 Replies

Professional :: Stream A Live Webcam On Website?

Aug 25, 2010

I'm not sure if this is the right place to post but here goes. I'm looking to stream a live webcam on my website and have no idea where to start. I've been searching for a while and various things refer to Flash Media Server but this is costly and, as I will be streaming from University, it will probably be blocked on the network or take up too much bandwidth.

Does anyone know of a way to stream a webcam, without FMS or Quicktime Broadcaster etc.? Any free websites that provide this service could be possible, so long as the stream isn't available to anyone outside my website.

View 1 Replies

Professional :: Watching Ustream Live Webcam Continually Buffers?

Dec 5, 2010

I have Windows 7, 64bit and Flash V 10,1,102,64My problem is with watching a Ustream live webcam on an Eagle nest in Maine, USA,Whilst I can watch it, the streaming keeps on and on buffering, or just stopping and starting. I don't lose the picture but it plays and freezes and then plays and freezes every few seconds. It's off more than it's on.Is there something wrong with my version of Flash, my video card, my computer? I've tried it with Internet Explorer 8, Firefox and Google Chrome and still have the same issue

View 3 Replies

Developing For Different Resolutions?

Nov 7, 2007

I've recently started developing a big project in flash. I'm trying to tackle the resolution issue at the start, but not sure what to do. The way I see it, the only way to go is to make something for default resolutions such as 1028*768. Other then that there isn't much to do.

A browser stats site showed that something like 50-60% have that res, but other users have different resolutions. I dont want my users to see the game as too big or too small.

View 0 Replies

Keep Flash Project Same Size On Different Resolutions

Mar 30, 2010

I made my flash website on my wide screen laptop, and it looks fine in my browser but when i look at it on a normal monitor it looks too big and streches across the screen. Is there anyway i can get it to stay the same size on different resolutions. I'm currently using As2

View 3 Replies

How To Center Large SWF On All Screen Resolutions

May 3, 2009

I'm trying to make my movie look good on all screen resolutions and when the browser is resized. I want to center my movie, and have it stay in the center when resizing the browser, and I can do this to an extent. I usually use the liquid center template in Dreamweaver, like so - [URL]. However, this time I want a big movie to stay in the center like this - [URL], I've ended up with this - [URL].

View 1 Replies

Flex :: Position Objects On Different Resolutions

Feb 17, 2010

A Flex project exported as a Projector, showing fullscreen. The project has a background and several dots which each represent a "Location". These locations are fetched from an XML file and have their position set in percentages. The location in pixels is calculated (this works as it should) by the width and height of the Application. The dots are placed correctly. The background is a JPG with a resolution of 1280*1024. At this moment, the background is set on a Canvas with backgroundSize = auto. This places the image in the center without stretching it. Stretching results in ugly, pixelated images and tears the proportions apart.

Problem When we view the project on 2 different resolutions (1 = 1280*1024; 2 = 1024*768), the dots are in the good position, the background image is sharp. But - because of the background having the same resolution as 1, the background isn't fully shown in resolution 2 (because it isn't stretched. A logic result. That's why I tried stretching the background. The results:

[Code]...

View 2 Replies

ActionScript 2.0 :: External SWF Resolutions (using WINK)?

Jan 5, 2006

I am trying to make a product demo in flash. I have 3 products with a few screenshots for each that link to 30 sec flash recordings of that particular product's features.I used WINK for recording these 30 second clips. I want to call them from a MAIN flash file as external swfs to cut down the load time. Wink renders them very very small. Does anyone know how I can make them a certain size once brought into my MAIN flash demo? Say 600px X 400px.

View 2 Replies

ActionScript 2.0 :: Cd Presentation To Fit All Screen Resolutions?

Mar 11, 2008

i've made a cd presentation in flash. and i hav put in the code

fscommand("fullscreen", true);
fscommand("allowscale", true);

It gets fullscreen. but it doesnt fit all screen resolutions. Like in 1280x1024 resolution it fits perfectly. but in a higher one it doesnt fit the way it fits in 1280...

View 2 Replies

ActionScript 3.0 :: Detecting The Resolutions Of Webcams

Feb 27, 2011

who has ever messed around with this part of AS3 I've run into an issue with detecting the resolution of the webcams hooked up to the individual machines.

Now while the documentation on the Camera-class says that camera.height and camera.width are readable properties of that camera and also uses them as a way to find the camera's resolution in the examples, it just doesn't work that way on my end. No matter what webcam and what PC I try to use for this, it always tells me that my webcam has the dimensions of 160x120 pixels.

This is very frustrating to me since it forces me to impose a dialogbox onto the - possibly not too tech-savvy - user where they can chose a resolution that is closest to their webcam's native resolution.

I've looked around for a solution to this and came up totally dry. As IQAndreas approached me regarding this because of a twitteruser asking for the same thing, I'm pretty sure that I'm not the only one having this issue.

View 2 Replies

Embedding SWF Movie In HTML - Screen Resolutions

May 20, 2009

I have made a 1000 x 600 (px) swf movie for a web and I embedded it in HTML. Now the problem is for some screen resolutions above 1024 x 768, the web is aligned to top left. I tried to put it in a div which aligned to center, then scrolling happens.

View 4 Replies

Media Server :: Live Stream In Different Resolutions?

Apr 13, 2008

i have an urgent question for the following purpose. We plan to develope a solution consisting of a sender software for streaming live video to the streaming server. Now more than one client should be able to connect to the stream of the server. Because the different clients are connected with different bandwidth rates the server should be able to convert the video stream (e.g. the video width and height, framerate and quality) on the fly. Maybe a client with a better connection than DSL should get the video in a resolution
of 640x480, a DSL client should get the video in 352x288 and a client with ISDN in 176x144.

Is there a possibility to do this with the FMS server on the server with server-side ActionScript? Or can I limit the requested stream size on the client side? Or anything I can do?

View 8 Replies

Flash :: Make A Swf Compatible With All Screen Resolutions?

Jun 28, 2010

I'd like to have the swf get as big as possible for each user without requiring scrolling. Of course it would stick to a certain ratio, currently I'm using 2:1 but that could be changed (maybe I should use 16:9 since it is the standard widescreen ratio).

I am only using Actionscript 3 for code and MXMLC for compiling.

View 1 Replies

Android :: Targeting Multiple Resolutions Using Flex 4.5

Dec 26, 2011

I'm developing a game for Android tablets using Flash Builder 4.5. It has been implemented successfully on Galaxy Tab 7.0", but now I need to edit it in order to fit all android tablets. I attempted searching for information on this, but nothing I found was useful.

Should I use multiple graphics to target devices with different resolutions and, if so, how then should I detect the correct resolution? Or, on the other hand, should I use just one graphic and scale it to fit all resolutions required?

View 1 Replies

Flash - HTML5 Resizable Websites With Different Resolutions

Mar 12, 2012

I'm trying to build a website that looks the same (or at least very similar) even with different resolutions. I know it's a pretty simple thing to do with Adobe Flash, but I'm kinda trying to get into the whole "HTML5 scene" so I thought I could try building it without using flash at all. I know I can resize the canvas to fit the window of the browser it's being viewed in, but can I also resize images, text and other HTML structures that I place inside the canvas? Like s, s, s or images?

View 1 Replies

ActionScript 2.0 :: How To Resize Flash Site To Different Resolutions

Oct 11, 2011

people i am having a problem to adjust my site to different resolutions. i have tryed severral options like putting 100% to with and eight but what i really want is something like is told in this tutorial (see image)

the problem is that my site is done is as2.0 and the tutorial is done is as3.0, and it refers to a rectangle with a background, and i want to addapt it to my site and dont know how.

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved