ActionScript 3.0 :: Recoding Video Using Webcam?
Dec 19, 2011i am new to as3,i configured webcam,but i am unable to record video using as3.
View 1 Repliesi am new to as3,i configured webcam,but i am unable to record video using as3.
View 1 RepliesThis will create an flv video file on flash media server:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.publish("yourCamera", "record");
ns.attachVideo(Camera.get());
How can I generate an image for the current video frame every 2 seconds?
For fun I'd like to recreate [URL]. Basically i need to be able to stream webcam video from one computer to another using flash.
View 1 RepliesI added a dropdown menu to an fla, the current AS is coded for navigateToUrl, I'm trying to change that to code gotoAndPlay(frame)if I remove the line in red and change navigateToURL to gotoAndPlay I get an error, a bit confusing.
mainBtn1.addEventListener(MouseEvent.CLICK, main1Click);
function main1Click(event:MouseEvent):void
{ var main1URL:URLRequest = new
[code]......
I would like to point out that I am not an employee of either Comedy Central, The Daily Show or the website. The labels 'Production Assistant' and 'Intern' are just the sites rankings descriptions.There is an assumption by iPad owners, that all Flash websites must be converted to be compatible with the iPad, rather than the iPad should be compatible with existing websites.Is it worth continuing to defend against this assumption? Should we just give in to these people or try to engage them in a discussion, get them to demand Flash support from Apple?
View 2 RepliesCapture 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);
i know how to use a webcam in as3,i want to record webcam video and save to my Local disk
View 1 RepliesIn my application I want to display the webcam video. for that I use the as3 code
[cODE]....
but When i run the project there is no webcam video. I have trace the current Frame rate of the camera by trace(cam.currentFPS) ;and the output is 0; But I can watch the webcam video by yahoo messenger window and the software provide by the webcam driver.What is the problem of my code?
I recently was sent the source to a set of Actionscript classes and libraries which allows flash devs to track faces in Flash by use of a computer's webcam. This is pre-written source that I am wanting to embed into a game I am designing so that when the person leans left or right, the character on screen will move left or right respectively.
Here's the problem, the face-tracking is working, but the video that is being pulled in from the webcam is reversed...it is not a true mirrored image. I'm assuming that there's a line of Actionscript in my code that needs to be modified so that the video is mirrored rather than be displayed reversed.I did some research and found a few solutions, but I haven't been able to successfully implement them...I don't know how. I've tried but I'm guessing I've inserted these lines of Actionscript into the wrong spot within my Main class. Here's the couple examples I've found:
ActionScript Code:
//Example 1
myVideo.scaleX = -1;[code]................
I almost think it's impossible but I know little. I saw once on a website a streaming webcam video in fact it was live. I right-clicked it and it was in flash. Does anyone know how do streaming video with a webcam in flash?
View 12 Repliesi have to record a video from the webcam and generate a video file from this ( i really cant figure this thing out )
View 2 RepliesJust wondering if it is posssible to use Flash to record the AV from a web cam and save the video file locally?
View 2 RepliesI want to create a simple app the will run on a PC as a desktop application - not on the web. What I would like to do is have it show a webcam image on screen (yup, i can do this bit), then when the user clicks a button, the video and audio from the camera is recorded and saved to their local machine (eg. the desktop). I'd prefer it to be an flv or f4v file, but any video format would do for now. I've seen examples of video being recorded only (basically grabbing a jpeg/png of each frame and using these, but this has no audio!) I've also seen mention off flash media server, but as this app will be going on over 100 pc's with no network/server connection - I cant see how the cost would work!! (100 x licences -
View 1 RepliesI hava an application that captures video from webcam and renders some additional elements on its display (augmented reality).Now I need to record this video and stream it to FMS.
View 3 Repliesthere 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 RepliesI'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 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();
Am trying to record video from my webcam.
here is my code
[code]...
When i click record_btn, flash asks me permission to access my webcam. If i alow in the screen i am able to see live video. But I want to store the video and replay it.
I noticed that AS3 is able to take a snapshot out from a webcam & save it as a .jpg but is AS3 capable of recording a video with a webcam and save it to a local disk/network server? any video format is fine with me as long it can be played with window media player.
View 4 RepliesI am wondering where I should start with using Flash to create a video chat.
I have experience in HTML, PHP, C++, and SQL... not sure if that helps. But basically I am new to flash and wanna learn how to get a video chat going on my website.
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 RepliesIs it currently possible to create a flash free live webcam chat with HTML5? If so, how can I go about doing this?
View 2 RepliesI 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 Repliesmy task is to code a flash application that lets an user take a snap shot with webcam, attach it to an movieclip and modify the self portrait by adding hair, hats, glasses etc. that are available on menu.[URL]..
I managed to get the webcam working when i used it as a document class. When i changed my code so that the Free Transform Tool code is in document class and the webcam script is in Webcamactions.as file, i can't control the movieclips anymore...the movieclips (such as "imagecanvas" where i attach the video). My Mac's webcam light indicates that the function works, but the video doesn't appear in the movieclip.
[Code]...
I have an application which shows videos from users webcam. I want to know that is there any open source script or something in as3 which can save this video as mpeg or flv format.
View 2 RepliesI am wondering where I should start with using Flash to create a video chat.
I have experience in HTML, PHP, C++, and SQL... not sure if that helps. But basically I am new to flash (I do own CS4 Flash though) and wanna learn how to get a video chat going on my website.
Before I buy the Flash Media Server, I would like to know that:
- Is it possible to crop the webcam video (because I need just one part of the whole picture) before streaming from the client's Flash Player to the Media Server? (it would reduce the bandwidth a lot)
- If not, can the player store some parts of video until it is fully streamed with all it's data (30 fps) to the Server? (e.g: client: low bandwidth, I need all frames that the webcam records, real-time doesn't matter if it takes 1 minutes for 20sec video, that would be ok.
I am trying to broadcast live video using a webcam. I am using the developer version of FMS3.0. Actually i have a working code of webcam broadcasting, which i used before. But now i am using a free version of FMS3.0. When i tried to connect, the following error is showing:
"NC.onStatus> info.code: NetConnection.Connect.InvalidAppNC.onStatus> info.code: NetConnection.Connect.Closed"
I am trying to connect with [URL]
I am trying to capture video from my webcam to a video display. I created a button on my main application and it gets my webcam just fine. When I try to use the same code inside a class I created it does not work. Does anyone know what could be the problem? Here is my code to capture the webcam.
[Code]...
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.