ActionScript 3.0 :: Dynamic Streaming Video Not Adjusting Bitrate
Nov 17, 2010
I am using Amazon's CloudFront to deliver streaming video using Adobe's Flash Media Server. I want the video to dynamically adjust it's bitrate based on the speed of the client's connection. Supposedly this is pretty straight forward using the FLVPlayback component. The thing is that the Dynamic Stream should start with the lowest quality video and then automatically adjust upward based on the connection speed of the client. For me, testing on a localhost, it is starting at a stream rate it cannot handle. I don't think it is moving down streams either.
I just converted a WMV to flash video .flv through the wizard in Flash CS3 Pro. It converted it OK, but made quite a large file.Is it possible to produce a file of lower size and quality.Is there a bit-rate setting somewhere?(We have some people outside the US in developing countries who don't have such a good connection.Whats about the lowest you would go in terms of quality / bitrate?)
We are successfully using Captivate 4 to create SWF files leveraging a Flash Streaming Media Server hosted on a CDN.My question is, does anyone know how to leverage the dynamic streaming / adaptive bitrate feature in FMS 3.5 with a Captivate file? I have spent an entire day searching all over Adobe forums and am surprised to see this is not documented ANYWHERE and given Captivate REQUIRES FMS to stream, it would be incredibly poor design if it cannot leverage the best feature FMS has to offer!
We publish to Flash Player 10, and while FP 10 IS compatible with dynamic streaming, my challenge is Captivate only allows one URI path and one stream name.To deliver dynamic streaming you have to have several files with different encode rates availalbe. But if Captivate only allows one stream name,how do you point it to a stream that finds all the alternative files? I've explored this with 3 different CDNs and they don't know how to do it(Limelight, CDNetworks and Internap)
The reason I'm so interested is we are delivering a Moodle hosted eLearning course to users around the globe with VERY different internet speeds.We've followed all the best practices in encoding and this is the next step in making our course accessble to ALL users.For those interested,our files are mostly less than 10 MB, though some are as much as 50 MB, all encoded at 500 kbps.
Is there any way to do dynamic video streaming in flash without using Flash Media Server (FMS) 3.5 as it's a very expensive software but using some open-source software or in any other way.
When using Flash Media Live Encoder 3 to dynamically stream live video, the subscribing to it is "jumpy", for lack of a better term. I have no issues with swapping between bitrate streams on pre-recorded video, but when I use live feeds one of the streams seems corrupted. I've tried various bitrate settings and different people experience the video differently, but about half the time, one of the streams is all tiling and stuttering.
Example: If publishing 3 streams (200kb/s, 600kb/s, and 1200kb/s) and the bandwidth drops, causing a downshift from 1200 to 600, after the transition the 600 is in this weird stuttering 1 second loop and persists to do this until the dynamic stream requests a switch to one of the other streams.I've tried reinstalling FMIS, FMLE and no matter what I do, there seems to be a 50/50 chance that a viewer will experience this. What's so weird to me, is I'll watch it in 2 separate player instances on the same machine and one of them gets the stuttering on the 600 stream and the other one doesn't.
We recently purchased FMS4 and I'm in the midst of setting it up. However, not that it's a HUGE deal, but....
I see conflicting answers in the forums about whether or not it is possible to stream media in the HTML5 <video> tag (going back to early 2010).
Ideally, I'd like to stream (most of the time using flash), but for the specific browsers that support it, (chrome, ff, IE9, and select iOS devices) HTML5 video tags.
If so, how? I gave it a shot using the above code (minus the "blah, blah, blah" ), and the video doesn't play - if all it is, is a syntax error, then please be so kind as to provide the correct syntax.
However, if it isn't possible unless you download something else, like the File Packager for HTTP Streaming or the Origin module for HTTP Dynamic Streaming..
why dynamic streaming taking too much time to switch video from lower bit rate to higher bit rate and vice versa. I am doing dynamic streaming in following ways -
var param:NetStreamPlayOptions = new NetStreamPlayOptions(); param.oldStreamName=oldStream(); param.streamName=newStream()
[code]....
I am using duel buffering and that is 3 seconds when video starts and 10 seconds when "NetStream.Buffer.Full". Video taking approximately 30-50 seconds to switch video and when I am calling the above code.
I have FMIS 3.5.I've installed it with pretty much all the default values.I haven't changed any of the settings in either the LIVE or the VOD applications.Dynamic Bitrate Switching is working well for VOD, but not working at all for LIVE streams.Doing a regular bandwidth detection on both the LIVE and the VOD applications give similar, high bandwidth results. However, the LIVE application NetStreamInfo.maxBytesPerSecond is showing a very low bandwidth capability of around maxBytesPerSecond = 19016, where as for the VOD its achieving around 637110.I can play a single LIVE stream of a high quality smoothly without any error.
I don't know if this is relevent but I'm getting some error messages occassionally in the log of the live application saying : Dropping application (live/_definst_) message. Clients not allowed to broadcast message.These messages aren't consistent, and don't coincide with trying to use bitrate switching.I have tried downloading the Adobe sample StreamSwitching. fla and it won't play the LIVE streams at all.Using the opensource Longtail Video player it just always defaults to the lowest stream.Here is an example: http:[url]....
Is there a way to get multi-bitrate playback working with progessive playback without having to download all versions of the file? People all coming up with all kinds of cool ways to make progressive feel like streaming.
So I'm loading text into a scroll using xml and I'm running into a problem. If the text in the xml is longer then the dimensions I set for the dynamic text box in flash, then it just cuts off the words. Is there a way so that that the dynamic text box adjust to the amount of information the XML is loading into it? The easy solution is to just make the text box in flash really long but then people are just scrolling down and there is nothing there.
When creating a new TextField dynamically, is there a property that automatically adjusts the width to the content or is it always necessary to have txt_field.width = ...? My text field: txt_field = new TextField(); txt_field.wordWrap=true; txt_field.text = source; txt_field.autoSize=TextFieldAutoSize.LEFT; txt_field.mouseEnabled=false;
I am looking to broadcast live video and need a camera that is better than a simple webcam. It looks like they used to make video cameras that would register as webcams, but stopped making them.If you wanted to broadcast an event live, what would be a good camera to use?
I am streaming flash video and the dimension of the video is 1280 by 720 (same size as the stage)
but just before the video streams, there is a quick flash of the video (about 320px by 240px) at the top corner of the stage, and then it plays the videos at the correct size (which is 1280 by 720) .... a quick flash is the best way I can explain it.
This is my code:
function clicked(event:MouseEvent):void { var video:Video = new Video(); addChild(video);
[Code]....
is there anyway I can stop that quick flash of the video .... so when I click on the button, it just plays the video, at the correct size?
I want to play smooth streaming video from IIS using the flash video player like e.g. jw flash player instead of silverlight player?Which video format should I use in this case? Can flash then play e.g a video via smooth streming encoded with microsoft encoder?Do you know some alternative video players, that combines flash and silverlight functionality (selected per java script) to use with flash and silverlight?
I am trying to make a flash movie and have it find a external movie to show. I also need to be able to change the location of the video without flash, so I think I have to use a seperate .as file.
I need a flash video player for our public site where users will share videos.The video usage model is similar to youtube as far as video part is concerned.Users will upload and share videos. Users will browse and play all shared videos as well.The videos will be streamed from the server and our app is a .NET/C#/JQuery application.We have 3 options:
1) Either buy a commercial flash player
2) Customize a open source player or use free player and customize its gui
3) Develop our own (time consuming and last resort)
I am required to find a flash video player with these requirements:
Player should work in all major browsers (IE, FF, Chrome, Safari)
Player should have way to inject Advertisement clips when playing a video file
Light weight and easy to integrate
Must support streaming and scale
Plus all other basic features of a flash video player.
Possible Duplicate: Flash video player for video streaming.is there any good and open-source video player to be embed in as3, no flex, html, and js.i tried
f4player.org
https:[url]....but i found tons of bugs,if you know any comercial player, that would be awesome too.
I'm looking to duplicate the video-embedding technique shown on [URL], whereby they show the flash video to all platforms where flash is available, and only show the HTML5 player on mobile devices. (specifically, iphone / ipad)
Is there a browser-sniffing framework, or some other method available to accomplish this?
Got a large file 12 minutes long clip and I compressed it with the adobe optimization program adobe media encoder. I got a 350 megbite file to be 60 megabites as a 320X240. I choose also a medium size video file. How do I keep the video quality and stream it (like hulu would do) or how do I compress it smaller than 60 megabites and keep the same quality. Either or. I am not familiar with web video so I am trying to make the file as small as I can in size with the most amount of quality.
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 a "Play video" button that does exactly that, it loads a flv video and plays it - I can stop, pause and play the video. Now, I want to add a streaming bar.
I'm trying to decide whether, for my particular application, I would be better off delivering video via streaming or progressive download. Here's the situation: Background: this will be a learning drill for learning foreign language phrases. There will be a series of ten short video clips, each one a headshot of a native speaker, saying a single sentence. The background is static so the only thing changing will be facial expressions, so compression should be pretty effective. Each clip will be approximately 4-6 seconds total length. Resolution will be approximately 360 X 270.
The way this particular drill works makes me wonder if perhaps progressive downloading might make more sense than streaming. But like I said, I'm not a Flash developer, so I could easily be wrong. (Did I mention we're currently looking for a talented, reliable Flash developer?) So here's how it will work: Drill will load up showing written text of instructions, along with audio of the narrator reading the instructions aloud. Approximate length of the audio instructions will be 15 seconds. (I"m thinking progressive download could begin during the reading of the instructions.)
After the instructions have been read, the intructional text goes away and is replaced with (from top to bottom) the text for the first sentence, the video box with a static image of the first frame, a "Begin" button. When the user clicks the "Begin" button, the video begins to play, and the "Begin" button transforms into a "Repeat" button, which is inactive while the video plays. When the video ends, the "Repeat" button becomes active. Clicking the "Repeat Button" causes the same video clip to play a second time (again, the "Repeat" button is inactive while video plays.