Flash :: Server Bandwidth Usage With Rtmp Streaming Of Video?
Oct 11, 2010
Quick question - I have the following setup:
(1) An ec2 instance with an SWF on it - this SWF plays streaming video - i.e. is a video player like JWPlayer
(2) A streaming video distribution set up via Cloudfront
If I stream the the video via RTMP from Cloudfront to the SWF (which is on ec2) - would I incur charges for data transfer into the server (i.e. for data being read by the SWF) and out of the server (i.e. for data being displayed by the SWF to the user) on account of streaming the video to users (assuming that data transfer into and out for the server is being charged for)?
View 1 Replies
Similar Posts:
Aug 15, 2011
I am in a requirement where I need to calculate the bandwidth usage of rtmp streaming. Is there any way I can calculate the number of total bytes I have download during the rtmp streaming?
View 2 Replies
Mar 30, 2010
I've just been asked to create a video player which automatically chooses the correct bitrate video to stream by detecting the bandwidth.I have no experience creating a video player so I'm looking for links/resources to do some research on the topic.Has anyone here created a video player in Flash? Would it be better to create in Flash or Flex?Once again, I have no prior knowledge in this type of creation and could use an experienced developer's opinion on what the first step is towards progress.
View 3 Replies
Dec 21, 2010
We have an application that is using FMS to share slides (swf,jpg, etc) with another client. We added a video as an option. We would like to verify as often as possible the bandwidth quality between communications in order to suggest the user to close video if we notice bandwidth is not optimal.
We've been experimenting doing a bandwidth detection every 60 seconds, but I am wondering if there are specific guidelines to do this for live video, like how many times one should verify bandwidth? Is it ok to take one reading or should we take a few readings and then average out?
View 1 Replies
Oct 7, 2010
I am trying to publish a video to an RTMP Server but it doesn't publish. It might be a pre-release bug. I am able to play a NetStream but not able to publish one. Is there a sandbox issue? I'm not sure. Because, the FMS RTMP Server will not let a client connect unless it has been downloaded from the same host as the server (something like a sandbox condition)
View 2 Replies
Oct 8, 2010
Writing RTMP Streaming Server for streaming AVC+AAC video. And it works fine with rtmpdump. But I can't force it to work in flowplayer and other flash video players.The message sequence after handshake is similar to FMS / RED5 / erlyvideo / haxevideo servers: I've tried a lot of variations.
From Chrome debug console I can see, what all negotiating messages passed to the flowplayer. The last one is onMetaData. And after this the working sample (rtmp://flash.tvwmedia.net/LiveVideo//Live300) gets NetStream.Buffer.Full. And streaming from my server don't get it.
I'm starting with AVC Header message, containing sps/pps. After it first AVC picture passed. After - AAC header and AAC sample. And then AVC/AAC samples. This dumped OK by rtmpdump - I have working flv on exit. But flowplayer and others does not work.
[Code]...
View 2 Replies
Nov 22, 2010
I am developing an application in Flash that runs locally and it uses FMS 4.01, locally. I have been using adobe FMS 4.01 for months with no problem. Today I cannot connect to my server and I cannot even play the sample video on the Flash Media Server Start Screen. The sample video for the http plays after I changed the permissions for flash, but rtmp does not play. I have reinstalled the server; 3.5, 4.0 and 4.01, none of them will connect to rtmp. I receive this error on the flash media server start screen that says "the connection timed out".
View 1 Replies
Jun 5, 2009
We need to record and display daily/weekly/monthly statistics on vod application usage, we are working with multiple application and need statistics for each one of them individually parameters required are bandwidth, number of connection, view time ...
View 5 Replies
Feb 24, 2011
i m developing live video broadcasting app in fms.. hw to calculate bandwidth usage for each and every user
View 1 Replies
Jan 13, 2011
I'm trying to debbug my code on Client side (Action Script 3) that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.Is there a simple way to simulate lower bandwith with FMS4 on localhost (by config, application.xml, programmation...) ?
View 2 Replies
Jan 13, 2011
I'm trying to debbug my actionscript (AS3) code on Client side that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.
However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.
Is there a simple way to simulate lower bandwith with FMS4 on localhost ?
by config, application.xml, etc.?
by programmation (main.asc) ?
both ?
View 2 Replies
Aug 10, 2010
My problem is going to be hard to outlay in detail due to NDA's I am bound to, but the gist is this..I have a swf application the progressively streams content from a cdn edge server.I have built a video player class and instantiate a new one for each new piece of footage I find.Naturally this requires good memory management to ensure no leaks..... and herein lies the problem (surprise).
I have unregistered all my event listeners (not using weak at present) and nulled all objects from my media player object.I slice it from my list and call a destroy method that cleans up all objects setting references to null. Once this is done I call System.gc().My profiling tools are showing that my memory usage is continuing to increase linearly for each new video clip. The jump is about 5mb each time the approx size of each video file.
Is the built in "Video" component on the stage (players all share the same one) a built in type?
View 3 Replies
Oct 8, 2010
We are attempting to transcode some video to a format suitable for our Flash Streaming Server. In the past we have used Adobe Media Encoder (AME) CS4, but we are working with *.VOB files this time, and AME CS4 does not support them. We are attempting to use Handbrake now, as it has great support for h.264 and MP4 files. Unfortunately while the files play wonderfully on our local machines, they do not stream from the Flash streaming server over RTMP. The files come out of Handbrake with a *.m4v extension. Our old files out of AME CS4 are *.MP4's with h.264 and AAC audio. I can see no differences in video or audio codecs which leads me to believe it may be a container format problem. We are attempting to use Handbrake because it does an excellent job of batch encoding files and produces good quality files.
View 1 Replies
Jan 4, 2010
Usually, flash streaming is done by capturing webcam video/audio and streaming using NetConnection and other objects to servers like FMS,Red5,Wowza etc.I haven't found any example on how to create your own stream of images and stream as a video to the server.I know it would be possible to convert the image to bytes and send via SharedObjects. Then decode on server and create a video file on the server (e.g. using ffmpeg), but I would rather do it in realtime on the client side if possible.
View 3 Replies
Apr 23, 2009
I'm trying to stream a webcam from 1 server to many client, what I really need to know is :1. How to adjust a bitrate video for bandwidth streaming, is it enough just using a Camera.setQuality() ?2. If u set Camera.setMode() at large resolution, for example at 1024x768 is it could make the bandwidth for client access increase too ?I mean is it affect the bandwidth for set the resolution at small (ex: 160x120) or set at large (ex: 1024x768) resolution.3. Same as number 2. just it was for video=new Video(w, h) . Is setting a video size affecting the bandwidth ?
View 1 Replies
Feb 3, 2010
I'm running Flash Media Streaming Server and have only been serving VOD up until now. I had my network administrator open up port 1935 to the outside world during the setup process and now I can't remember if that was actually required for streaming VOD to clients. Most documentation I've read says that this port should be open, but I seem to recall reading something at one point that suggested it wasn't necessary.
I've just started messing around with publishing live streams using Flash Media Live Encoder to the Flash Media Streaming Server. I have that working without issue but was surprised to find that no authentication is required before a client running the live encoder can publish a stream to the Flash Media Streaming Server. An authentication module is available however it only works with Flash Media Interactive Server and Flash Media Development Server.
If I leave port 1935 open to the outside world, there would be nothing to stop anybody anywhere from streaming video via my server. Anyone else running a default install of Flash Media Streaming Server and with port 1935 open to the outside should see that this is true of their setup as well. I'm wondering if I can safely close port 1935 without limiting the functionality of the server or if there's some way I can require authentication prior to publishing a live stream even though I'm not on the four-and-a-half-times-more-expensive edition of the product.
View 30 Replies
Apr 28, 2008
I have developed a video player in flash 8 with actionscript 2.0. The problem I am having is that it uses something like 30%-45% of my cpu, 1,73 GHz. Is this normal and can u code it smarter for lower cpu usage?
View 9 Replies
Jun 3, 2009
We have a problem working with FMS 3.5 (installed on a IIS server). Configuration of the servers all based on IIS: webserver (authentification, xml data loaded by Flash app, data (on IIS) sended to and recieve from FMS). Seperate FMS 3.5 (latest update) server. Only running FMS (no other apps are running on this machine).
[Code]...
View 7 Replies
Feb 25, 2012
Currently, we are streaming using RTMP, but I want to switch to HLS to allow iOS devices to stream our video. I do not want to encode two separate streams though because we are operating with limited bandwidth on mobile data cards. If I stream using the livepkgr, the delay to iOS devices is about 12 seconds which is OK. However, on desktop clients, we have live scoring integrated with our video, so we cannot have a delay that long. My question is, if I connect to the same stream in a Flash client for the desktop, will the delay still be that long? Or will it stream in real time to flash clients with the delay only for iOS devices using HLS? Also, am I correct in assuming that I can do this on 1 stream, or do I need to setup a separate stream for RTMP and HLS?
View 1 Replies
Jul 29, 2011
There are 25 livestreams streaming to FMS4 server by fmle3.2,and client number is 20, (FMSCore.exe)CPU usage is about 20%~40%, how can i reduce cpu usage?
CPU: 2x E7320 2.13G
View 2 Replies
Sep 9, 2011
I have some questions regarding 4.5 and deciding which version we must license (FMIS or FMS). Obviously there is a huge price difference and as this is within a local network we don't require encryption or multicast. Here is the scenerio we need to stream live DVR to mac, windows browser AND iPhone/iPad and devices running Android 2.2(Froyo)+. I need someone from Adobe to help us decide.
1. I see DVR is now listed as a feature in Flash media server page. Does that mean its no longer exclusive to Flash Media Interactive server. For both http streaming and RTMP?
2. Previously in order to stream live to Adobe dynamic streaming, Flash media interactive server was required because a live segmenter had to be used. Is this still the case? Or can we just launch adobe live media encoder (FLME) and stream to flash media server.3. Related to #2 can we switch between serving streams via RTMP or dynamic streaming without changing the format of the material on disk?4.I was at a webcast for 4.x and remember being told that the latency for http live dynamic streaming was 20 seconds because of the repackaging that had to take place. Is this still true? What is the latency for iOS playback from ingest to playback?5. For the iOS playback feature do the streams have to be in Adobe dynamic streaming format or can we just stream via FLME RTMP and trust it to do the right thing?6. Does the iOS playback support DVR?7. Does the Android plugin have good support for RTMP live streaming including DVR?
View 8 Replies
Sep 20, 2011
Am developing an application with Flex 4.5 & Flash Media Server. I need a visualization curresponding to the plaing track . It is possible with SoundMixer.computeSpectrum(bytes, true, 0) in case of progressive downloading. But not working with rtmp streaming. And also need audio wave curresponding to the track which is also working with progressive ownloading usinf Sound object.
View 1 Replies
Sep 15, 2011
At a certain point in the app flow, a m4v video is streamed from a remote location via rtmp. This works well, except for two little problems:
1. In very rare cases, the video starts playing, but you see no images and only hear the audio. Seems like this happens more often with Chrome, but that is only a guess.
2. In the first frame or so of the video, you hear a noise in the audio. It really is very short, but still a nuisance. This chirp is not there when viewing the same video with VLC or QuickTime player. It IS there when viewing with the Windows Media Player.
Are there any known problems with codecs and the flash as3 video streaming (via NetStream/NetConnection)? The video is composed by using the ffmpeg library (one mess of a library, I can tell you...) to bring together a live-rendered video (using a 3D Engine) and a pre-created *.wav (which does not have the chirp).
View 3 Replies
Apr 30, 2009
I've freshly installed the FSM demo on a redhat linux box, and have everything working. From that start screen running on Local Host, I click the "Play video (HTTP)" and that video of a train shows up. Cool. But when I click the link above it ("Play Video (RTMP)") I get an error message: "Connection Error. press Play to try again." and no matter how many times I hit play, I get that same message. The Dynamic stream doesn't work either, and the Interactive sucessfully displays webcam feeds, but doesn't show the "Play Live Stream" button thing. Is there anything special you have to do to get the RTMP stuff working? Some special command or server you have to run?
Would firewalls intefere with things (I'm pretty sure there isn't one on the machine, but I'm flailing wildly here) or would permissions mess things up? I'm completely lost ^_^;; I guess I should also add that there doesn't seem to be any log files. I'm looking under the server install directory, and there isn't even a "log" folder. There isn't one under Apache, either. It confuses me. So far all I can find on the internet is instructions to look at the log files...but if they aren't there... Am I just looking in the wrong places, or are they just not being generated yet? I did a tcpdump with wireshark, and the web app IS pinging port 1935 (for RTMP), but the packets are failling the checksum and are refusing to be reassembled because of that. Is this making sense to ANYBODY?
View 18 Replies
Sep 1, 2011
i try to play video on Mac OS system using the standard embed code:
<object height="409" width="600"><param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" /><param name="flashvars" value="src=rtmp%3A%2F%2Fmy-server%2Fvod%2Fflv%3Amy-videoposter=http%3A%2F%2Fosmf.org%2Fimages%2Fposter_cathy_fmp.jpg" /><param
[Code].....
on Safari and Firefox but it doesn't work!
Is it a FSM problem or Flash Player problem?
View 1 Replies
Feb 19, 2012
I have some .mov files want to stream to Flash media server by ffmpeg. i have already tried to stream a single .mov by FFMPEG command in terminal and it works, the FMS can display the thing i streaming in live.Now i want to stream multiple files as one source, i tried to use above command one by one, but it seems Flash media server stop the streaming when file1 is finished, then start the stream with file2.It makes the stream player stopped when file1 is finish, and i have to refresh the web page in order to continue on file2.i am calling the FFMPEG command by a C program in linux, i wonder is there any method that i can prevent the FMS stopped when i switch the file source in FFMPEG? or is that possible to let FFMPEG constantly deliver the stream by multiple files source without stopped when a file finish
View 2 Replies
Apr 7, 2010
i am currently playing around with a flash media server trial in combination with the flowplayer.All in all i am testing the performance and general functionality for the company i work for.Anyways, i am trying to search a way to check the bandwidth of a client ( server sided ) and redirecting him to the right video stream.Sure this could be done by the backend flash application, but its out intention to perform this check server sided.
View 4 Replies
Jul 22, 2010
I'm trying to make a software which sends video and audio data to a flash media server by using RTMP protocol. Currently, my program can communicate with a flash media server correctly. RTMP specifications does not describe about the raw data in video/audio messages, so I muxed raw H.264 and AAC data into video/audio messages and sent to the server. The server seems to accept them, but a video player cannot playback the stream sending from the server. The player just says "Loading..." For a test purpose, I sniffed the network packets between Wirecast and the flash media server and ripped off only video and audio data. Then, I muxed those data into video/audio message and sent to the flash media server. In this case, the video player connected to the server can playback the stream correctly.
I checked the stream sent from Wirecast, the stream seems not to be H.264 raw data because those data are not started from 0x17 instead of H.264 start code. With those situation, I am wondering what kind of container format I should use for H.264/AAC data to the flash media server.
View 12 Replies
Feb 15, 2011
I am developing Video Chat over Ip (including audio and text too). But I am unable to get the proper startup material for my desktop application.
View 2 Replies
May 19, 2010
How can i connect to my own server to watch my streaming video from another computer?
View 10 Replies