Actionscript 3 :: Webcam Captured Image Resolution / Size

Mar 9, 2012

I have been having a bit of trouble with AS3 and webcams. I have a script that connects to a webcam and then sends its output to a php script that saves the captured image. This works all except for one problem. It seems that the maximum resolution allowed for the actual Camera object is 320x240. I went to the extreme of hooking a Canon 60D up as a webcam because I have a normal webcam that is supposed to have max resolution of 1280x720 and all I can get is a 320x240 image from it. What I have found so far is the max I can get out of the Canon is also 320x240. Maybe I have been looking at this to long but I am stumped. Below is a sample of the action script where videoCapture should be 1024x768. What happens instead is a 1024x768 image is created with a black background and in the top left is a 320x240 image from videoCapture. I could obviously resize this but that would defeat the purpose being poor quality. Is there something I am missing here or maybe some limitation of Flash even?

[Code]....

View 1 Replies


Similar Posts:


Flash :: Save Captured Still Image From Webcam?

Jul 14, 2010

I have written enough code to preview the webcam video in Flash.Now, I want to capture images at 10 second intervals.

Here's my code:
import flash.display.BitmapData
import flash.geom.Matrix

[code].....

View 1 Replies

Actionscript 3 :: Morph Image Captured Through A Webcam?

Jul 15, 2010

I'm trying to morph image captured through a webcam. The webcam snapshot part is already working but I still have no clue on how to do the morphing part. Can anyone point me to a tutorial (or kindly post code sample) on how to achieve image morphing using flash actionscript 3?

View 5 Replies

Save Video Captured From Webcam In Flash?

Oct 4, 2010

Im making a flash app that will capture video from the users web-cam, show whats being captured and when he clicks submit, send this to the server.Its already capturing video from the user web cam, but its not recording anywhere. Whats my next step to save it somewhere where it can be played to the user after recorded and after he clicks in a submit button send it to the server?

View 1 Replies

Actionscript 3 - Save Video Captured From Webcam Using Flash?

Dec 29, 2009

I'd like to use Flash to capure video from the user's webcam and then save it on the same server that hosts the Flash file. The web server will be running ASP.Net technology. Lot of searches yielded the same lines of code to start a webcam capture using Flash. I can't find anything that sends that captured video back to a server.

I can find lots of blog and forum posts that imply 3rd party software or Flash Communication Server is required to collect it on the server, but I don't understand why. It seems like Flash ought to be able to capture some video and send it as an HTTP post to the same server that hosts the Flash file. That's pretty basic Flash/webcam functionality, right? It seems like we don't need to introduce 3rd party dependencies just yet.

View 1 Replies

Actionscript 3 :: Directly Upload Video Captured From Webcam?

Aug 3, 2011

I'm working on a site, which needs to have a feature of users capturing their opinions about a specific topic with their webcam, and uploading them to the server. After a short research, and viewing similar questions like this one I ran out of possibilities:

I cannot use Flash Media Server (out of budget) I cannot use Red5, as the server where the app will be hosted is not able to build or install it. (our server guy told me that Red5 was last updated in 2007, and he got some errors which I include below (in case that someone would have an idea how to fix it) )

red5 install errors:

xxyyzz@zzyyxx ~/red5 $ sh red5.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Standalone

[Code]...

View 3 Replies

User's Resolution Is 1680 X 1050, The Image Would Scale To That Size?

Aug 5, 2009

I am developing a flash website that will dynamically fit to the size of the end-users' browser and screen resolution. I have a 2100 X 1400 Background I'd like scaled to 100% of the screen size.
 
So if the user's resolution is 1680 X 1050, the image would scale to that size.
 
However, another problem arises - I do not want the image to "stretch" or lose quality, and that it must maintain the same aspect ratio. How can I do this?

View 1 Replies

ActionScript 3.0 :: Make Brightness Of Footage Being Captured By Webcam As Trigger To Start / Stop Event?

May 9, 2011

Im looking to make the brightness of footage being captured by a webcam as a trigger to start or stop an event or animation. basically when the brightness being captured by the webcam goes below a certain level a layer will be effected and when the brightness goes back above this level it will revert back to its original state.

View 1 Replies

Flex :: Capture Webcam Images Always At Max Resolution?

Jun 22, 2010

Is there a way to know the max resolution of a webcam ? I need to capture images from webcam and send its on another notebook throught internet.

So I want to capture images at max resolution indipendently from webcam automatically without setting the resolution every time ( if I have a webcam with 1.3 MPixel, I want to capture images at 1.3 MPixel; If I have a webcam with 640x480 Pixel, I want to capture images at 640x480 Pixel; and so on... ).

View 1 Replies

ActionScript 3.0 :: Show Captured Image In MovieClip Without Saving Image First?

Jan 31, 2009

How can I show an image that I have just captured with the webcam?I am able to save that image using PHP but before I save it, I want to show a preview. How can I do this? Here is a snippet of the code that I think can be used to do this:

ActionScript Code:
foo = new BitmapData(640,480);
foo.draw(myvideoobject, scaleMatrix);

[code].......

View 3 Replies

Actionscript 3 :: Pan&Zoom Over A Captured Image With Cam?

Mar 26, 2012

I have an issue with zooming gesture in iOS over AIR. Here is the code (an excerpt):

package
{
import flash.display.DisplayObject;
import flash.display.Sprite;

[code]....

Where, the app, basically captures an image using the iphone's device and then should scales (zoom), but doesn't...

View 1 Replies

Asp.net :: Sending Captured Image From Flash To Page

Mar 27, 2012

I am using Asp.net/C# in my application , I am using a .swf file which is placed on my Default.aspx page to capture images from webcam, I have a requirement that the captured image should be sent to server or aspx page without storing it on the clients machine,

View 1 Replies

Actionscript :: Passing Image Captured Using Flash To Asp.net Page

Mar 21, 2012

I am using ActionScript 3 to capture image via users webcam in one of my Asp.net Page. Here is the code i am using

package
{
import flash.display.Sprite;

[Code]....

Here the image is saved using file reference, which prompts the user to save. However i want that the image should be sent to asp.net page or server, so that i can get the image and save it to the database

View 1 Replies

ActionScript 3.0 :: Flash Webcam Application With Resolution Of Snapshots And Flash Cam?

Apr 29, 2011

I'm a beginner in Flash AS3 and I want to ask some questions in this community. I have been having some troubles in taking a snapshot using a webcam in my flash application. My webcam flash application is supposed to take a snapshot and save it in mysql server.

I have a small space in my flash application to put the camera so I have set my camera to show up in my flash application at (160,120) resolution size so that the camera preview will not take up much space in my application. I have a button_takepicture that allows the user to take picture with it and it will be saved in the server. However, the picture is saved at (160,120) resolution, which is a super small picture when I view it in the server. Is there any way to set the size of the camera showing up in flash but will not affect the resolution of the saved picture? I want my resolution of the saved picture to be 300x400 and the camera box in flash to be a small size but not a 300x400 size because my stage size is only 550x400.

as u can see in my flash application, the black box is 160x120 in size, it is the size of the camera preview that I want in my flash application. But in my server, the picture resolution size is also 160x120 (I want a 300x400 instead)

figure 1b. if i set it to a higher resolution, the camera preview will fill up my flash application. (shown as a red box. 300x400 size) (this is not I want because it takes up huge space) What should I do if I want my camera size in my flash to look like figure 1a but in my snapshot saved picture in server to be a 300x400 size?

[Code]...

View 15 Replies

Best Stage Size For A 1024 X 768 Screen Resolution?

May 21, 2009

I want to know which is the best stage size for a 1024 x 768 screen resolution.i see site for example in thefwa.com that are full screen in any resolution, but the need to set a stage size for their app.

View 3 Replies

Flash :: Set Stage Size By Screen Resolution?

Feb 17, 2012

I want to create a flash flip-book.How do i set the flash size to be according to screen resolution?Because i want to strech an image to fill the entire sreen.

View 1 Replies

ActionScript 3.0 :: Fixing Stage Size Independent Of Resolution?

Jan 13, 2010

I'm sure it's been posted about a million times before but I've been trying vars searches and seem to always be coming up with answers to do with the exact opposite of what I'm trying to achieve! I'm creating a flash Movie that is 800 x 600 pixels in size and I'd like to fix that size so that it will always be 800 x 600 regardless of the screen resolution of the computer running it. At the moment it seems to scale by default and is winding up looking ugly on other people's computers.

View 3 Replies

ActionScript 3.0 :: Change Stage Size With Screen Resolution?

May 13, 2011

I make flash util with as3. Utility like paint program and export png file your draw shape. Our users put anything on own screen and shape frame this thing with mouse. Then send me exported png. I want equal users drawn shape and png shape sizes. But users screen resolution different. I want all screen resolution my flash stage same size on screen. How can do this?

View 7 Replies

Resolution - Create A Flash File For Each Screen Size?

Nov 8, 2011

I created a swf file for one my clients using a screen size of 1024px x 768px (4:3 ratio), now my client wants to re-use the video in a bigger screen (TV) that still uses a 4:3 ratio but the screen size is considerably bigger (I do not have the exact size yet). Do I need to recreate the flash file using images that fit the new screen size, or the fact that they both use a 4:3 aspect ratio means that the image quality will not suffer?

View 1 Replies

ActionScript 3.0 :: Adjust Stage Size To User Resolution?

Jul 28, 2011

how can i adjust the stage size to user resolution?

View 3 Replies

ActionScript 3.0 :: Background Size According To User Screen Resolution

Oct 30, 2011

Is it even possible to make the background adjust automatically to users screen resolution from the center of the pic (I have a big background pic and I would like it to be fullscreen without any margins).

View 1 Replies

Flash8 :: Change The Size Of A Flash Template To Fit Any Screen Resolution?

Aug 31, 2011

I am editing my website, a full flash site bought from Template Monsters and it seem there is a problem with screen resolution. When i publish the fla in flash only, it fits the screen exactly with no scroll bar but when i publish in html the flash content is bigger than screen size and menu bar stays outside the screen in the way that i have to scroll down to see menu contents and tabs.In order to make this site more user friendly I have tried to resize the screen to a smaller but seems to be not a good idea. I have also tried to use different .js and includes in order to solve the problem but still not giving the result i am looking for.

View 5 Replies

Flash :: Make Webpage Displayed Same Size On Any Screen Resolution?

Nov 19, 2010

How can I make my flash Webpage displayed same size on any screen resolution of my computer? Whether it is 1024 X 768 or 1280 X 960 screen resolution, the size of Webpage (Flash Webpage) should always be same so that user don't need to use horizantal scroll bar to view all the content.

And secondly, how can I scroll my webpage vertical on moving with my mouse like in the following link: The below link also shows that it's webpage size is always same on any screen resolution.[url]...

View 1 Replies

Flash :: Resizing A High Resolution Video To A Smaller Size?

Nov 2, 2011

My company sent me a video that they wanted us to post on the intranet.  It's a simple powerpoint video with a narrator talking about some policy and benefit changes, etc.

I tried the exporting the video in both 720(width) and 1280 format, and found that when shown in fullscreen mode, the 1280 format was much easier to read than the 720, however, we didn't want to show it on the intranet page at full 1280 by default.  So I modified the html and javascript that plays the movie so that it would show in 720 width on the page.  The problem with resizing the 1280 video into a 720 space is that the video player bar (where the play, stop, volume controls are) becomes extremely small when I do this.  Of course, this is because Flash generated the player with a toolbar optimized for 1280, so it's getting scaled down when I pack it into a smaller playing area.

Is there an solution to this that I haven't thought of?  How can I generate this movie to get the better full screen appearance of the 1280 video, but also still show the video in a smaller 720 area when the user is not in full screen mode?

View 1 Replies

CSS :: Design Flash Based Site With Different Screen Size / Resolution?

Jun 25, 2010

I am developing a flash based website using mxml. My monitor's resolution is 1280x768 and is widescreen. The problem is while it appears properly in my screen it doesn't appear properly in others.

-Let scrollbars take care of it : If the screen is 14 inch screen with 800x600 resolution it appears zoomed in. So that's a problem
-Get screen resolution and resize using scaleX and scaleY : The graphic components will get resized but fonts give problem.

View 3 Replies

ActionScript 2.0 :: Make The Site So That Its Size Is Dependant On The Users Resolution

Feb 3, 2003

I have created a website 900px by 600px, and need to know how to make the site so that its size is dependant on the users resolution.( I have had complaints of the text being too big in 800 by 600, but too small in 1600px by 1200px) the site itself is created in flash 5 if that is of any use.(although wouldn't it be something more to do with the html coding?

View 3 Replies

Resize - Size For Webcam In Flash?

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

ActionScript 3.0 :: Center A 1966px Wide Flash Regardless Of The Users Resolution Or Size Of The Monitor

Nov 1, 2009

how to center a 1966px wide flash regardless of the users resolution or size of the monitor?

..and without resizing it just cropping both sides of it in the browser.

View 5 Replies

Actionscript 3 :: Does The Value Of Stage.stageWidth Change As Per The Screen-resolution, Monitor-size, Browser Etc

Mar 12, 2012

Does the value of Stage.stageWidth or Stage.stageHeight change as per the screen-resolution, monitor-size, browser etc ?

View 2 Replies

ActionScript 2.0 :: Size And Resolution - Make A Stage Adapt To The Browsers Viewable Space

Apr 19, 2007

is there any good tutorial on how to make a stage adapt to the browsers viewable space, with everything inside visible and with the correct size, not distorted? maybe a list of things needed to make it possible like the kind of layout?

View 9 Replies







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