ActionScript 3.0 :: Saving A Webcam Still To JPG Via PHP?

Dec 11, 2008

I am capturing a webcam still and saving in a BitmapData variable. I want to then pass the BitmapData to a php script where I can save it to a folder.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Saving A Webcam Video Stream?

Mar 24, 2010

I'm pretty new to flash.how to add a webcam, but is there a way to save a video from the webcam feed onto the pc running the flash app?

View 3 Replies

Actionscript 3 :: Saving Webcam Image To A Website?

Jan 19, 2011

How can i save a webcam screenshot to a website?

I know you can save it to your hard drive using:

var browseFileReference = new FileReference();
browseFileReference.save(video);

But how would i go about it to save this image to a website, lets say flickr or facebook or something.

View 3 Replies

ActionScript 3.0 :: Saving Webcam Picture As JPG File?

Oct 8, 2010

I have a swf that lets you take a picture with your webcam , I have changed the scaleX to -1 so that the picture on screen appears like a mirror. This works fine, when I take a screenshot I am getting a bitmapdata from the video stream, which I am also setting scaleX to -1 to preserve the image the same as from the video. But now I am trying to save that picture as a jpg file, I can't seem to save the pictures as it appears, I can only save it as the original data which is essentially the wrong way around (doesn't preserve the changes made to scaleX = -1)

Code:
bitmapData = new BitmapData(this.video.width,this.video.height);
bitmapData.draw(this.video);
// at this point the bitmapData is the webcam view, but not with the scaleX I applied before
[...]
var jpgStream:ByteArray = jpgEncoder.encode(bitmapData);
// so now this jpg data is of the picture which isn't horizontally flipped
How can I get a bitmapData from the video and preserve the scaling I applied to the video?

View 3 Replies

Php :: Saving A Picture In Flash Webcam Snapshot Application?

May 5, 2011

I have made a flash webcam application to allow the user to take a photo of themselves using a webcam. I have successfully saved the photo in my localhost. However, I would like to set the names of those photos. Currently, the photos names are generated by

$uniqueStamp = date('U');

I also have a textfield in my flash app that allows inputs from user for the photo name. For example if the user write 'MYPHOTONAME' in the textfield, the photo which will be saved in my localhost will be named 'MYPHOTONAME' too. How do I do it in Flash and in PHP? Currently I'm having some problems because I cannot send the textfield string to PHP.

Here is my flash code to send the snapshot to PHP and let the PHP save it in my localhost:

imgBA = jpgEncoder.encode(imgBD1);
sendReq.data = imgBA;
sendLoader.load(sendReq);

[Code]....

As you can see, I tried to pass in $photo = $_POST['photo']; from flash to PHP however I do not know the exact code, can anyone help me?

View 1 Replies

ActionScript 3.0 :: Capturing And Saving Screenshot From Webcam Feed

Jan 4, 2012

I'm new to AS3 and attempting to learn it by doing a small task, I am trying to get a live local video feed from USB webcam and want to be able to capture and save screenshots from it.I have the live feed working fine, but I am struggling to capture and save a screenshot.Someone from adobe forums suggested I should use BitmapData and JPGEncoder, which I have alongside as3corelib's.[code]I think I am doing something wrong when I am capturing the binary data, or when I am encoding it to JPG.Some assistance from somebody familiar with these methods will be a huge help as I am stuck now, and I am not getting any replies from adobe forums.Both the resolution of the videoInstance object and camera feed are 640x480, and the video is displayed fine.

View 7 Replies

ActionScript 3.0 :: Displaying/saving Webcam Snapshot In Correct Size?

Jul 13, 2010

Im sitting here with a project that i feel i have come a long way with (found some very usefull rescources). But i am stuck now and need some guideance in short terms what i am doing is a project where users can take a snapshot of them selves by using their webcams, and then save this picture.

This is all going ok, but when i save the picture its not the same size as the webcam picture. From what i can tell there is something going wrong with the bitmap creation process, and i cant seem to figure out how to add a field that i can toss the picture into like i have done with the video. (its using addchild(bitmap) now and that just adds a small picture at a given x & y, but i cant control size of it. And the saved pictures im getting are the size of the video area, but only 1/8th is filled with the picture, rest is just white..

[Code]...

View 3 Replies

Media Server :: FMS 4 - FLV Not Saving - Record Video From The Users Webcam And Play It Back At A Later Date

Mar 24, 2011

I'm trying to record video from the users webcam and play it back at a later date.
I call

[Code]...
 
However, when I look at the FMS Admin Console at the streams in app/_definst_, their types are either "NetStream" or "Live". If they were being saved wouldn't they say "Stored"? After I close the application doing the recording, the "NetStream" type stream disappears, and after a while all the "Live" typed streams are gone too. Nothing is saved.

I have no idea what is happening. I don't know if it's a problem with my AS3 code not closing the recording properly or if I'm doing something else wrong, or maybe somethgin isn't right in the FMS?

View 1 Replies

Flash :: Recording Live From A Webcam / Recording From User's Webcam - PHP

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

No Webcam In Player 10.0.32.18?

Aug 7, 2009

I noticed I can't see my webcam anymore when I publish an exe file. There comes no dialog and I can't see the webcam picture. I even can't click the Preferences menu in the context menu.

View 1 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

Flash :: Interface That See A Webcam?

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

Flash :: Webcam Stream To CDN FMS

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

Actionscript 3 :: Two Webcam At Same Time?

Feb 1, 2011

Is this possible to stream two webcam at same time in flash !?I want to use one to track a person from top and one for face detection ?!I just wonder am i able to use two webcam at same time in as3 or as2 !?

View 1 Replies

Php :: Add Webcam Capabilities To My Site?

May 25, 2011

I'm trying to allow users to take pictures with their webcams and save it. How can this be done? I am looking for something similar to Facebook or dailybooth in terms of their UI. I know smoe PHP/jQuery but I'm also wondering how I could save the pictures once "taken"?

View 1 Replies

C# :: Jquery Webcam Plugin With Asp.net Mvc 3?

Feb 25, 2012

has anyone gotten this [URL]..to work with aps.net mvc 3? I can't seem to decode the image, using the WebImage class or BitmapImage. I've tired to do this with Silverlight, but I'm really unsure on how to upload the image. I do not need to save the image, I just want to process it, what im really looking to do is read a bar-code via web app.

I just can't seem to find a good guide to uploading an image from Silverlight or flash to my MVC app.

View 2 Replies

ActionScript 3.0 :: Get My Webcam To Take A Snapshot Using It?

Nov 16, 2008

Currently working on a school project that requires me to use AS3 to display a webcam, and create a button that will take a snapshot and place it beside the video display.[code]...

View 2 Replies

ActionScript 3.0 :: Webcam Bounding Box?

Jun 9, 2010

I am currently in the middle of creating a project which essentially uses Flash as a type of augmented reality system. The idea behind it is that a webcam input will capture a users hand which is placed on a white pedestal (esstially creating a complete white backbround in contrast to the hand). Create a bounding box around the hand so that objects will only move in the space taken up by the hand.

The problem I am having is wondering which functions i should use to create a bounding box that will select the space that the hand is taking up in the webcam input. I have seen the function GetColorBoundsRect but it only seems to focus on one colour and it seems to be a static function instead of one that will need to constantly create the bounding box if it moves. This isn't just a motion dection but will need to detect the hand even if it isn't moving.

View 0 Replies

Actionscript 3.0 :: FLARManager On The Web. No Webcam?

Nov 17, 2009

SO. I built an Augmented reality demo using the FLARManager. It works great locally but when I try to run it on a server the web cam won't show up.

View 3 Replies

WebCam : Put More Quality Into The Video?

Apr 19, 2010

Capture the webcam, how do I put more quality into the video? The video comes out very bad! Does anyone know how to better quality in webcam video? And if I put larger(1280x1024), also is very bad! Is there any way that does not happen!

The Code:

Code: Select allvar cam:Camera = Camera.getCamera();
var video:Video = new Video(320, 240);
video.attachCamera(cam);
this.addChild(video);

View 2 Replies

IDE :: Pausing A Webcam Stream?

Apr 18, 2009

ok so I have the webcam in my flash movie,so you see your cam in the frame..but i was wondering if there was a code to pause the stream so you can a 'snapshot' without having to save anywhere or anything too complicated.. just literally pausing then un-pausing

View 3 Replies

ActionScript 3.0 :: Turn Webcam Off After Use?

Oct 7, 2009

I'm using the webcam to record some footage, but when I'm done, I can't seem to turn the camera off (the LED stays on) no matter what I try.

Camera.getCamera("")
netStream.close()

View 3 Replies

IDE :: Webcam Warning Bow / Allow / Deny

Dec 4, 2009

I've written some code for a small webcam application. It's working well within Flash, there are just some minor adjustments I'd like to make to 'fine tune' the application.Let me explain the issue:

1) I have a button on screen, to call/activate the webcam.
2) When that button is clicked, (you guessed it) it activates the webcam.
3) It also displays two new buttons on stage (Click and Cancel)
4) A warning msg pops up, asking you to Allow/Deny flash webcam access.
5) If I click Deny, the Two new buttons on stage (Click and Cancel), remain there.

So what I'd like to do, is to display Click and Cancel, only if the user allows webcam access.

View 2 Replies

ActionScript 3.0 :: Draw On Webcam Capture

Jun 9, 2009

Does anybody know if there is an example paid or not that combines a webcam picture capture and simple drawing app? URL...

View 3 Replies

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 :: Flash Isn't Asking For Webcam Permission

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

ActionScript 3.0 :: How To Show Webcam Popup Again

Dec 11, 2008

[code]i use the code above to use webcam in my website first time the webcam setting panel will show up asking user to allow or deny the webcam access.if they choose deny but later they change their mind and want to allow the webcam access how to show the webcam allow & deny setting panel again(beside right click and select "settings..." in the menu)I was trying to setup a button and click for calling back the setting panel but failed.

View 2 Replies

ActionScript 3.0 :: Record Webcam Onto Server?

Jan 21, 2009

I merely want to use Flash and a webcam to record video with audio, and have it stored on a server (on a regular HTTP server running PHP, not on FMS).

View 1 Replies

Accessing Webcam On MacBook Pro Through Flash CS4?

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







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