ActionScript 3 :: Flex : How To Stream A Webcam
Oct 23, 2009how to stream a webcam using ActionScript 3
View 1 Replieshow to stream a webcam using ActionScript 3
View 1 RepliesI 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]....
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 RepliesI have a webcam looking out the window, and I would like to be able to access it from time to time via website.
I have never touched flash, but I know some programming languages.
I know I want to use Flash, but I have no idea where to start, and I thought this might be a good place to ask.
I am looking to create a flash movie that lets users watch a webcam from my website, How is it done? any tuts they can get me started?
View 1 RepliesDoes anyone know anything about recording webcam streams and storing them using FMS? I'm looking into capturing the stream as an FLV that can then be stored on the server so it can be played back.If anyone has any ideas on hwo to go about this or knows of any good reading material, let me know.
View 17 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'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.
I wonder if i can do the following, send a stream to fms from a webcam and then serve it with apache on http x-flv format.
View 6 RepliesShould I buffer a live webcam stream?
View 1 RepliesI'm recording a stream from a webcam as an f4v file using FMS 3.5. The file is created in the live folder, and i can stream it back to the client no problem, however when I try to play the file in Adobe Media Player (or anything else) it won't play. I've used the f4v post processor which claims to run successfully, but with no joy.
View 5 Repliesgoal is to record a stream from a webcam with the best possible quality regardless the bandwith of the user.(it doesn't have to be live or broadcast, just stored on the server)
is it best to record from server side with asc script or directly from the flash player ?what are the parameters on the server that i can play with in order to cache locally the stream if the bandwith is not high enough ?
Server conf:
2 x Intel(R) Xeon(R) CPU L5410 @ 2.33GHz
16Gb RAM
2 Gbit ethernet channel
OS - Linux CentOS 5.5 x86_64
FMS4 Interactive
Live stream parameters:
320Ń…240 qua_=87 bw_=200000 kf_=5 fps_=18
So, after approximately 600 connections to one stream video becomes choppy (periodically freeze, slow motions). CPU-usage at this time is 100-120% (maximum is 800%, 100% per each core), network usage is 500 Mbit/sec.But second live stream(with few connections) at this server looks fine simultaneously with 600 connections at first stream.Experiments with recommendation in "Configuring performance features" documentation chapter(enabling/disabling aggregate messages and configure the size of stream chunks) do not help.
We have a Red5 Server that we use to host a video chat. We are looking for a way to overlay SWF files over the top of a live stream video.For example, we could overlay an SWF animation of snow falling in front of a live stream from a webcam.
View 1 RepliesHow does the url of FMS real time video stream look like?
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'm trying to implement a flex app that will be able to record a video from a webcam and then upload it to a server. I've only found tutorials and examples that require a media server running such as Red5, Flash Media Server and Wowza and an open rtmp stream to the server. However, I want to know if it's possible to record a video locally and then submit it to the server with a simple HTTP request. Is there a tutorial somewhere that shows how to do this? I'm really new in flex development
View 3 RepliesUsing Flex, what is the recommended way of taking a webcam snapshot picture? Something along the lines of:
var camera:Camera = Camera.getCamera();
var image:Image = /* magic goes here */
I would like to buffer a WebCam stream and formulate it into flv, this on client side only.
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've seen this effect before, where everything is blurred except the front most object in the shot. it was possibly a flash or flex effect which worked in realtime with video and snapshots. can anybody shed some light as to what this effect was called or point to some resources?
View 2 RepliesI want to save published streams on my application server, so I can use the videos to create a webcast presentation later.P.S. I may be sounded like I already have an application up and runnning, but I don't. I'm at the planning phase at the moment and trying to decide what/which technology to use.
View 2 Replieswhile 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].........
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 RepliesI 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 RepliesI have been working on a Flex application that sends a feed from my webcam to the Flash Media server. The application connects to the server fine but for some reason the camera is not sending anything to the Media Server. I am pretty sure that the answer to my question is really simple but I need another set of eyes to llok at my code and tell me what I am doing wrong.
[Code]....
close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?
View 8 RepliesOnly just getting started on this whole domain of learning, so go easy!If I set up a P2P video/audio chat (similar to the sample VideoPhone thing on the Cirrus site), can I get the stream from both parties to send to a server at the same time so that I can record it? If so, would I have to use a FMS to stream it to and perform the recording (and if so which version could I get away with)? Are there any (preferably free, or just tutorialised) solutions for the recording side of things?
Currently it seems like the only option for doing the P2P thing is to use Stratus/Cirrus unless I use FMS4 Enterprise.
how effective this kind of situation can be, in terms of quality of the stream and recording? Does any of this make sense?
I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
I'm running Windows XP service pack 3 & FMIS 3.5.
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
Here's my AS3 code...
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);
[Code].....