Flash :: Webcam Capture On Web Application
May 26, 2010I 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 RepliesI 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 Replieswe 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]...
I am using Asp.net/C# to build an application , i have a requirement wherein i need to access webcam from my page and capture images of users.So i am trying to achieve this by creating flash file .
View 2 RepliesI would like to know if it's possible to capture a users webcam in flash and directly upload it to YouTube without a backend server setup. Or if there are any third party providers that support this service. I see YouTube offers a live streaming API, but it seems it's only available for selected users.
View 1 RepliesI'm new in AS and trying create util such Youtube's "My webcam". Here's a part of my code:
[Code]....
Can't attach video object or stream to spark.components.VideoPlayer to view video and don't know how to convert video to flv contents for sending in POST form.
Does anybody know if there is an example paid or not that combines a webcam picture capture and simple drawing app? URL...
View 3 Repliesi am trying to create a code that will use the local webcam (inbuild) to capture the users pic and use it, lets say, attach it to a movieclip..
View 7 RepliesI have to take a snapshots form my webcam every 5 minutes. Now my script is whit a button and its working but my file have to take the picture alone and then again whitout button to send them? I saw something on the net but when I try to do it its not working.
View 1 RepliesI want to capture webcam video at run time.user can preview and save the video.
I am able to capture video using camara.get();
I have an AVER-TV HD Video Capture Card. Using Flash AS3 I can display HD content on the screen just as if the card was a WebCam. However, the performance is not that great as it get's quite 'stuttery' and is not smooth. I wondered if there were a way I could get StageVideo to help with this? It seems the StageVideo object needs a NetStream to operate. I've tried attaching a Camera to a NetStream Object and then passing it to StageVideo. The Camera seems to turn on, but it doesn't display anything on screen. Do I need to do something for the NetStream / StageVideo to display the output on screen? I really hope there is a way to use StageVideo with this HD Video Capture Card as I imagine it would be a lot smoother.
View 1 RepliesIs 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... ).
I want to capture live webcam in the form of video, i am not getin the proper example in the official page documentation of the webcam plugin.How to do so???
View 2 RepliesFor example, check out [URL] They enable their users to capture videos of themselves and then create animated gifs from them.
Just so this isn't construed as spam, I do not work for Gifyo. It's just an example.
Can this be done now with HTML5? Should I maybe us Javascript? Flash?
I'm writing a flex 4.5 application that's supposed to capture a video from a webcam and audio from microphone and save it in some video format (i don't care which format). I use VideoDisplay to display the webcam. how can I fetch and play audio in real time ? Is there a way to save the video locally without using a flash media server?
View 2 RepliesBasically I have designed a flash interface which puts a moustache over the users face in real time. My lecturer has told me to add a button which will take a capture of the image of the person with the moustace and add the image to a folder.
how to even begin this project, would anyone be able to point e in the right direction or offer a little wisdom on the issue?
I need to build an app. that will record video from the webcam, show the user what's being recorded and have buttons to start the recording, stop and send to the server.
Here at SO people said the easiest way would be using Flash, but I never used it and searching the web it's being kind of confuse so where should I start?
how to capture the mouse in an air application. I know its possible because the flex scrollbar captures the mouse. I want to replicate the scrollbar's mouse capture.
Try this in a flex/air application window:
<s:Scroller height="500" width="300">
<s:VGroup>
<s:Rect width="100%" height="2000">
<s:fill>
[Code]...
If you press and hold the scrollbar handle and drag outside, even outside the window, the scrollbar still works. It wont lose focus. So it is capturing the mouse.
what I want:
Mouse and touch capture. (Even outside the window while still pressing down the button or touch point)
What I want to do is have control over the streams so I can send them wherever I want, have it interface w/a mic and cam, and the ability to capture and record them. At this point I don't have any specific specs or limitations. It will be used in a commercial project so the license must allow for that. Free and OSS is preferably, but commercial and proprietary is not out of the question if it's worth it.
I don't see html5 as a viable solution at this point so I'm assuming it's going to rely on flash which is fine, but I do not know actionscript. I'm not opposed to learning it, and assume I could pick it up fine within a week, but keep that in mind. If I have to build something myself from the actionscript libraries (I assume they provide enough functionality) I can do so, but I'm hoping for a quicker solution than that.
Got round to the point where screen grabbing an image and saving it to file is too much, so what i want to do now, is take a snapshot of a live webcam image (I have webcam display working) and display the snapshot/screen grab, next to it or anywhere in the movie. This way the screen capture can be stored temporarily in the movie. once the movie is closed, all info is lost. Once another screen grab is taken, then the previous one is overwritten. The idea is simple but having problems working out how to do it in AS3!
I have got to the idea that i may need to use the Bitmap API to copy a section of the movie, and then redraw it into a new bitmap object?
Is there any way asp.net can access/stream web cam content without using flash or silverlight to access the web-cam?
View 1 RepliesI'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 RepliesI'm looking for a flash script/library to capture video and audio from a webcam and then somehow get a saved flv to my encoding server. I'm not looking for something that will host the videos for me. I just need something simple to capture and then upload. I really want this to be open source and free.
I've done a fair amount of searching and it seems that most of what i can find is either a full blown service with hosting, or the red 5 suite. I've been trying for a day to get something going on with Red5, but honestly I haven't done any flash or java development in over 6 years and this seems way too complicated when all i really want is a flash object i can stick on a webpage.
I've written a little video game in Flex that runs in a browser. The player moves by pushing the arrow buttons on the keyboard, so I need to capture those keystrokes. In fact, the game action starts when the player presses one of those keys.In order to capture the keystrokes, the Flash/Flex application, not just the browser, needs to have the focus.How can I ensure that the application has the focus? I've implemented a bit of a hack: A "Begin" button you must click to start the game. The only point of this button is to ensure that the app has the focus.
View 2 RepliesI 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?
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]...
I am trying to capture enter key in my application. I can get the event firing, but when i try to access a variable outside the function it says it is undefined. Flash Player v8. Actionscript 2.
Here is main part of the code:
class Library.ClientListTS extends mx.core.UIComponent
{
//Declare variables for controls to be used
public var dgClientataGrid;
[Code]....
The Alert.show pops up a box with the contents specified. So when i run this code and press the "enter" key, i get the alert popup box , which shows that the event is triggering ok. But the variable "listLength" shows as undefined. I wanted it to show the value 4. The main essence of my questiion is how can I access a variable outside the listener event function.
I have tried various combinations of public and private settings as well as prefixing the variable with _parent.
I have few queries on Flash Media Server:
My Requirements 1. First requirement is to broadcast a live event through a website. So I need to develop an application to capture the event using a cam (I don't want to use Media Encoder) and I need to create a player for the web site.2. Second requirement is, in a webpage need to display the same live streaming event, also need to display another 8 live videos (which capture the webcam of 8 different users). Basically can I do multiple streaming how can I handle
Questions:a. Can I use Flash Media Server to meet the above requirements?b. I have a dedicated server for FMS and I have webhost for hosting the website. Since FMS and the web hosting are different server, will FMS communicate with the hosting server?c. What is the minimum config for the hosting server? Is it better to go for some Unmetered Servers?
Want to add following feature to my web application: To decode barcodes generated by this script with webcam and use values in PHP web application. Is that possible? if yes how?
View 1 RepliesCurrently in my flex application, I've got all of the app's assets being served from my local server, but I want to be able to serve all of the assets from a CDN (URL...)
the application has quite a bit of components so rather than going to each component and changing the source of the asset, is there a way to capture all of the outgoing request from my flex application and run some logic where I can change the request from [URL]...
while linking a webcam i xperience following error
ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/ctor()
at flash.net::NetStream()
Following is my code in main.mxml
<fx:Script>
<![CDATA[
import flash.media.Camera;[code].........