ActionScript 3.0 :: Webcam Recording On FMS3.5 Is Choppy
Apr 25, 2010
I'm recording Webcam to FMS 3.5 but when I play the recorded video from FMS it's choppy. I have set the camera.fps to 30 but when I trace out the currentFPS for camera it's variable and usually falls between 20 and 30. However when I play the recorded video, netStream's currentFPS returns a lower value, something closer to 10. So my question is, 1) why currentFPS of netStream is not the same as Camera's? 2) What's the actual frame rate of the recorded video (not the netStream, but FLV's)?
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.
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.
Which flash server does youtube use for url... Is it just FMS? I'm asking because I have to implement a webcam recording application, and youtube one's the best I've seen so far. Great video quality and perfect audio sync.For now I'm using rtmplite as flash server url.. but the results aren't satisfactory, frequent out of sync audio and poor video quality. So I'm thinking to give Wowza a shot: did anybody try it with good webcam recording quality and quasi-perfect audio sync? Also, if you have any other suggestions on how to create a reliable webcam recording application/server, I'll be glad to hear them.
the webcam feed must be local, and not local sent to server... this is to maintain image quality, and supress high network traffic of multiple users of one flash movie.
I managed to record webcam stream by using the FMS developper version locally my computer.And if I try to use a remote FMS (FMS Stream EDTN 3.5 ALP), my doesn't work anymore!
import mx.rpc.http.HTTPService; import flash.net.ObjectEncoding; private var nc:NetConnection;
I 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.
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.
Is there a possibility - instead of attaching a camera [via ns.attachcamera()] to a netstream - to "attach" e.g. BitmapData to netstream. The reason is, that I use BitmapData's .draw method to get the webcam video in order to change it, such as with the .treshold method. And I want to record and save these altered bitmaps (as a video) on the FMS instead the original webcam video.
[URL]
Two videos are shown, the left one is the original from the webcam, the right one the "modified" video. Only the modified video shall be recorded via the netstream .publish method.
I'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.
i'm developing a web site, and i'm trying to let the user record some video from his webcam. I'm using actionscript and flash media server. I got it work in my delevoper enviroment, but when i deployed it to the production server, the webcam can't get connected to the FMS. I'm afraid this is because of port blocking from the firewall. Does anyone knows wich ports are userd for recording from a browser by the Flash Media Server? I open the 1935 port in the Flas Media Server, but it still doesn't work.
I'm trying to record a stream from a webcam using FMS4 developer edition. The streams are recording on a linux box in .flv files. These files though have problems.
1 - The video quality is terrible. Fuzzy/blocky. Any kind of motion looks awful. Is there any way to improve this?
2 - The sound jumps/skips and goes out of time with the video.
As it is now this is useless. I am trying to make a system where a user records a short video from the camera and then I upload it to YouTube from my server. If you use Youtube's webcam page the video quality is quite acceptable and the audio is obviously in sync too, so they must know something I don't. [URL]..
I'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
i have build a small test app in Flash Pro 5.5 overlayed with the AIR 3 sdk.is has just 2 buttons to record and playback audio from the microphone. when i test this on my iPhone 3g - i record myself saying "1-2-3-4-5". but when i playback a half a second or so is missing from the beginning : "3-4-5-".
when i test this on the desktop all is fine is this a result of the iPhone 3g's cpu power or is it a bug or is it my code?
1. I entered a url in a video player : rtmp://10.0.0.1/vod/mp4:sample1_1500kbps.f4v
2. this video doesn't exist in 10.0.0.1 server. it is exist in 10.0.0.2.
3. the server 10.0.0.1 connect, play, and resource not found.
4. server 10.0.0.1 know that this video exists in 10.0.0.2 ,then redirect the whole url to 10.0.0.2. such as rtmp://10.0.0.2/vod/mp4:sample1_1500kbps.f4v
I thought that FMS3.1 supported f4v files but I cannot get mine to play. It says it cannot find the stream specified but the file is right where all my other files are that do play fine (both flv and mp4 files). Am I incorrect in thinking that FMS3.1 supports f4v files or do I have the wrong code?
I've spent the past 2 days scouring Google and dozens (easily over 100) websites trying to find an answer to something that people do every day! I am absolutely shocked that this info is not available anywhere online.
A simple FMS3 and AS3 and RTMP and FLVPlayback example. totaly not simple and not possible to find
Currently I am working on FLVPlayer using AS3 and FMS3. When I test tthe connection Traced NetConnection.Connect.Success And I had added eventlistener for NetStream. It also shown NetStream.Play.ResetNetStream.Play.Start But the video is not showing.
I stream some h264 videos to my application in FMS3.5, the videos can be played in FMS, but don't work in the local playback, <s:VideoPlayer source="test.f4v" x="31" y="18" width="402" height="206"/>. I get some h264 videos from FMS application "vod", they work well.
1)I can use rtmp://localhost/vod/mp4:sample2_1000kbps.f4v , it works ok. But when I use rtmp://192.168.8.3/vod/mp4:sample2_1000kbps.f4v, I got Netconnect.connection.rejected. 192.168.8.3 is my fms server IP.
2)When I set fms use port 1935 and 80, rtmp://192.168.8.3/vod/mp4:sample2_1000kbps.f4v works ok on other pc. But using wireshark(Wireshark is a network protocol analyzer for Unix and Windows.) I found , the flash player connect 1935 port at first, it send "connect",the server replay "connection.rejected" and "no scope "vod" on this server". Than it connect to 80 port, so I see the video is not send throw 1935 port with rtmp, but throw 80 port with rtmpt. Why? How can I see video throw rtmp?
I'm new to the streaming video world but I do have FMS 3.5 up and running and have encoded some wmv and mp4 videos to flv using adobe encoder CS4. I followed the tutorials and have created the swf files in flash CS4 and the videos are streaming as expected.
The primary issue I am having is the videos tend to be choppy at times. They pause, run slowly, audio pops and just overall; glitchy. Typically at the beginning but some times throughout. The test files at the FMS admin page stream fine without issue from the same server. We have tested the site/streams from multiple providers all at cable modem speed or above.
We are running FMS 3.5 developer version and wish to purchase the full version but I really need to fix this issue to prove it's value.As a bit of background we are running/testing FMS 3.5 from a server with the following specs:Redhat EL 4.6-32 SuperMicro X7DBU Intel Xeon QuadCore DualProc Sata [2Proc] Intel Xeon-Harpertown 5420-Quadcore [2.5GHz] OEM 4GB ECC FB-DIMM DDR2 Mainboard Onboard SATAII Controller (2) Western Digital WD Caviar RE 16 WD2500YS Uplink speed 10 (Mbps) Bandwidth allotment 2000 GB(Virtual Private Rack)
I have created a flash map that uses this script to move the the world map movie clip around when buttons are clicked.
I am using the tween class to adjust the x and y postion as well as the xscale and yscale.
It works fine when I view the swf but is really choppy when I post the file onto my server for testing. The file is pretty small, about 230 kb, but I guess that has nothing to do with it tweening so choppy. Can anyone lead me in the right direction of why it is so choppy when I upload the file to my server and is there any adjustments I can mke to stop it.[url]...
I placed my audio in the timeline, but I want it streamed rather than event driven because people will be jumping around the timeline When I change the sound to Stream the audio gets incredibly choppy.
I'm new here. My first post Just for info , I use Flex to build Action script project.
So I preload some f4v movie, <1,50 mo , 720*405, between 4 and 10 s duration.
No problem for the preload. But when 'bytesloaded=bytestotal' , I play the file, it looks like choppy. The video is not smooth at all.
I try with flash player beta 10.1 , it's better but still choppy. Anyone get this problem ? I try to play with the buffertime method of F4vPlayBack , it changes nothing.