ActionScript 3.0 :: NetStream: Video Is Taking A Long Time To Begin Buffering
Jul 28, 2009
I'm trying to implement a simple NetStream video player with Progressive Video, but for some reason the video is taking about 12-13 seconds to begin buffering...I don't get it. If you check this link, you can see the buffer progress, you can see that it sits at 0 for >10s, until finally starting to buffer, at which point it finishes very quickly. [URL] It's a hard one to search for as any query using connection or slow obviously returns a bunch of crap that I don't need...
[Code]...
View 1 Replies
Similar Posts:
Aug 1, 2010
I'm trying to play a 10 minute long video (h264/mp4) which is 39MB in size, after I call stream.play(fileURL) it doesn't start playback until its loaded around 12-16MB of the file (many many seconds later), I finally get onMetaData at this point too. Why doesn't it begin playback right away, or at least w/in a couple seconds? What can cause this bloated lead in time?
View 2 Replies
Aug 18, 2010
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.
View 6 Replies
Aug 3, 2009
Whenever I launch the Flash application or try to save or load a file, I get the "beach ball" for 30-60 seconds, sometimes a bit longer.I have plenty of disk space, plenty of memory.I'm on a 8 core Mac Pro with 10GB of memory, so I don't get it. It should load instantaneously just like Photoshop and In Design do.
View 2 Replies
May 26, 2004
I have a product demo in Flash that's roughly 1MB in size. When people access a page that this demo lives on, the demo doesn't visibly "appear" until over half of the total bytes have already been loaded..You can see this by clicking here, and seeing that by the time the swf materializes on the screen, the preloader progress bar is already over 50% (or so).How can I fix it so that at least something shows up right away, so that the user isn't staring at a blank screen for 30 seconds? The preloader seems to work ok.
View 3 Replies
Feb 10, 2009
I implemented a flv player with actionscript 3.0. The player loads a list which contains the url of flv. Users allow to choose different flv to play. However, when playing 3rd flv, the player uses a lot of time to play.
View 1 Replies
Dec 15, 2010
I have never worked on flash - I used a developer to code a flash based webcam recorder that runs on red5 as backend. He provided me with the swf file and the source like mxml file.This recorder has 3 images and the total size of swf file is 800KB.Now when I load it on my production server - this page takes sometimes upto 10 secs to load. I'm completely lost as to what the reason is and not sure where to start debugging.I'm not sure if the problem is in the flash code or is it that red5 is taking a long time to establish the connection.
View 1 Replies
Dec 23, 2009
I've got a file upload that's working just fine except for the fact that the Event.COMPLETE event seems to take way longer than it should to fire. The Progress event is firing just fine and filling up the progress bar, and on top of that the entire file arrives on the server just fine, and way before the complete event fires. I've read I need to echo something back from the server, but I have no idea what that should be.
View 4 Replies
Dec 7, 2009
I am streaming a playlist of multiple mp4 video files and have been experiencing strange netStream.time values when the buffering is set for an extra long time on slow connections.
For example, when starting the video, if I set the buffer to something like 90 seconds, while filling the buffer netStream.time reads 0. The second the buffer is full, instead of reading 0,1,2 +++ it jumps to a really high value, in this case 53535 and sticks there until the video, which seems to play correctly from the begining ,catches up to that time and then starts incrementing as it should. What's odd about this is that the time the netStream.time gets stuck to always corresponds to the end/begining point between two streams in the playlist. For whatever reason this always seems to be the third video in the playlist. IF I seek to a new location, it re buffers, and then the time properly is stuck at the time that corresponds to the end of the 4th stream.
If the connection is relatively fast and the buffer is set to a smaller value, I never see any issues.
I know netStream.time is notoriously buggy, but something tells me there is more going on here.
View 0 Replies
Dec 14, 2009
I am streaming a playlist of multiple mp4 video files with flash 9 and FMS 3 and have been experiencing strange netStream.time values when the buffering is set for an extra long time on slow connections. When I have my buffer set to something like 60 seconds I'll start experiancing this problem:
the NetStream.time value will return 0 on progress events while buffering, but the moment the buffer is full, instead of reading 0,1,2 +++ it jumps to a really high value, in this case 53.5 seconds, and sticks there until the video (which seems to play correctly from the beginning) catches up to that time and then the netStream.time starts incrementing as it should.
Another relevant fact is that the time the netStream.time gets stuck to always corresponds to the end/begining point between two streams in the playlist. For whatever reason this usually seems to be the third video in the playlist. If the connection is relatively fast and the buffer is set to a smaller value,
View 1 Replies
Nov 11, 2011
I use FMLE to publish h264 video to FMS , my server side code (main.asc)[code]...
View 10 Replies
Mar 13, 2009
I have a slideshow posted at url....My client is saying it takes too long to load, and I am finding that it is loading all of the photos first before you can scroll through and view them. It's just not functioning properly.I wonder if someone could look at the actionscript and give me any suggestions? Maybe there's something else going on?I have attached the script from the original fla file.
View 6 Replies
May 31, 2007
My website[URL]is taking too long to upload, can somebody tell me how to fix this problem
View 2 Replies
Jul 3, 2008
I have made an application in flash, which is more like a photo/video gallery, in it, an event(birthdays parties) can be selected and a scroller appears which contains the thumbnails of all the pictures of that event, and one video appears in another panel,basically one video per event(birthdays and parties) is supported.My problem is that pictures are around 50, and there size can be around 2 MB, sometimes it happens that whole flash CS3 hangs, it is too difficlt to use the application this way...near impossible..these pics are loaded dynamically through xml file and i have used loadMovieClip.loadClip() method to load pics to movieclips and loadMovieClip.onLoadInit() method to resize them to make thumbnail and the main picture in the gallery
View 12 Replies
Oct 9, 2009
I am using sendAndLoad heavily in my fms3.5.2 application because it accesses an API on the webserver to execute commands. It calls a PHP file on the webserver which connects to a database, does some processing and returns XML output. Now, LoadVars has been giving me problems for months now. I suspect it is the reason my application crashes intermittently.
Also, lately.. it takes about 2 minutes just for the sendAndLoad to reach the onData stage. I have no idea why. This is not a problem of the PHP taking long to display the XML because if I access the PHP directly using `links` linux command, then it returns practically immediately.
View 1 Replies
Feb 5, 2004
I'am making a advanced mp3 player arund this tutorial: [URL] and i want the users of the player to see how long they have listen or how long time back of the song. i have the AS i what to use but i cant connect them. becuase the tutorial i used does not make a sound objekt (MUSIC)
[COde]...
View 1 Replies
Nov 21, 2011
I just created a basic flash file to play a video on my web page and it's taking several minutes to load before it starts playback. I'm using progressive downlaod and the file is in *.mov format and is 84MB in size. At first that seemed large to me for web play back, but I thought it could handle it since I thought the way progressive download works is that it would start playing the first frame right away and progressively play other frames as they download. However, this seems to be downloading the whole file first (or a major part of it) before starting any playback at all.
Is there some kind of setting I'm missing or is my understanding of the download incorrect and the file size is too large? Some vitals: I'm using Flash Pro CS5 - To create my flash file, I used the standard import video wizard and selected the a file that is "on my computer" and "load external video with playback component" and then, I selected one of the standard skins.- To deploy the vidoe on my webiste I have three files:
1) swf file containing the FLV component
2) the swf file related to skin
3) the actual video (84MB, mov file) - Web page includes/embeds reference to swf file
View 12 Replies
Mar 7, 2011
Some background info: I'm trying to create a website to upload my photography portfolio to; the URL is as such [URL] So what I have done is create a parent page and created a variable that functions as a loader. Whenever a button is clicked an external swf file is loaded into that variable. And within those external swf files are additional buttons that will load an image into another loader.
Here's my question; for those of you who've tried the site will realise the images are taking an eternity to load, everything I learn about actionscript tells me this should not be the case. Each of the photographs are between 100 - 300kb in file size and really should not take more than a few seconds. This leads me to conclude theres something wrong with my code.
The code itself is nothing special, in fact it is the absolute most newbie way of creating a function eventlistener for every button. This is the code for the parent page;
var loader = new Loader();
var Xpos:Number = 440;
var Ypos:Number = 380;
[code]...
Here is where things got hectic for me for a while. I tried using the same type of code in the parent page for the external swf pages, for some reason it does not work, I had use the loader component (component's instance name is interfaceloader);
Product_A.addEventListener(MouseEvent.CLICK,Produc tA);
function ProductA(event:MouseEvent):void {
interfaceloader.source = "Product_A.jpg";
}
Once again to summarise my issues; why are 100 - 300kb images taking so long to load even on a ADSL connection and is my code part of that problem?
View 0 Replies
Oct 11, 2010
So I built a videochat client that uses the adobe stratus protocol. Its very simple and just connects two users. However, after about a minute of video chatting the clients freeze and the browser crashes.what might have caused this? Is there some sort of cache that I need to clear every so often or a possible memory leak? I am not sure where to start
View 1 Replies
Mar 8, 2009
I'm using netStream to stream dynamically loaded flv's into a video gallery. I've created a "buffering" animation called "bufferCounter" that loops while the stream is buffering. However, it keeps reappearing at odd times in front of the movie.
I'm assuming it's doing this because the buffer is no longer at 100%, but I can't seem to work around it.
Here is my code for reference:
Code:
// Create a NetConnection object
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection
[Code].....
View 1 Replies
Nov 3, 2009
I am loading a showreel in my flash file using this:
[Code]...
The .flv is 35mb so the video is understandably jumpy. I was wondering what i should do to get round this... Is there a way to buffer it at the start so that there will be no glitches in it? The showreel has already been compressed quite a lot so can't shave much off the film size...
View 0 Replies
Apr 12, 2012
As I understand it video over a connection of say 40Kb/s wont actually have time to load and make a buffer, and it'll be "glitchy", so it wont make much difference whatever buffering is put in place. I'm getting complaints about glitchy video. I don't have access to the servers serving the media so I put a load timer in a swf along the lines of averageLoadSpeed = (bytesLoaded / loadTimer.currentCount) / 1024;
Out of 5 tests run, 2 were below 50Kb/s. And I've been told the server also is not geared towards media and put priorities on other business tasks. The head of IT for this company keeps going at me about buffering, and how that'll fix the problem. I tried to explain that the speed is way too low (32Mb = 32768Kb / 24Kb/s = 1,365 seconds * 60 = 22min) enlighten me on buffering aside from wikipedia's explanation about IO streams.
View 1 Replies
Sep 9, 2009
Is there anyway to use ActionScript (and/or Flashvars) to tell a video page to begin with the Mute button toggled to off? We are creating a page for multiple-languages, and the client wants the sound to begin muted. I have yet to figure out what kind of variable is used by muteButton in the built in skin, whether its a boolean with true/false or what.
View 1 Replies
Jan 11, 2012
I am developing the video player with custom video controls and I want to stop the video buffering when my video is paused. As sson as I play the video the buffering starts from the last bufferring point.
View 8 Replies
Oct 8, 2009
I have a buffer bar on my FLVPlayback using the BufferBar component. Is there a way I can set the buffering time before the video plays? I want the video to fully load before it plays on the stage. Actionscript on the stage is below. I have 3 buttons calling on cue points in the video, and I want to buffer the whole video before playing so that when the last button is selected, it will go to the correct point in the video.
import flash.events.*;
import fl.video.*;
display.playPauseButton = play_btn;
function cuePointHandler( event:MetadataEvent ):void
[Code]...
View 1 Replies
Jun 17, 2010
I haven't played around in flash for awhile due to other projects outside of it taking up most of my time, but I'm trying to create a simple 4 digit count-up display that uses a sprite-like movieclip instead of a dynamic text field.
The movieclip has 0-9 layed out vertically and each interval basically shifts the movieclip instance up by 20 pixels. There are 4 instances of the movieclip on stage side by side.
I'm wondering if there is a simpler way to do this other than how I did. I honestly can't wrap my brain around this anymore without going insane, and just wanted to get some other opinions.
[Code]...
View 9 Replies
Oct 1, 2009
I recently to created a simple movie with FLVPlayback component. I have customized all of its controls (play, pause, volume, progress). I have also created a simple Table of contents for movie with four buttons. Every button jumps to different place in movie.
Problem starts to happen when i want to jump to movie position that haven't been downloaded yet. My question regards this situations. Can I tell FLVPlayback component to start buffering from different position?
In other words do it always have to be starting from begining of the movie. Can I start buffer movie for example from the middle of it?
View 5 Replies
Jun 23, 2009
I have implemented an image scroller. Now the client had reported that a few seconds are taking to load images. We have a local server. When we load images from it, it's not taking that much time to load images.You just copy the following code in a notepad save it as .html extension, which is the widget taken from client site.
[Code]...
View 10 Replies
Feb 10, 2011
We have a flex application and in that we have a screen that taking a lot of time to load, almost 60 seconds.Basically the screen is a very big form. I wanted to divide the form as a wizard but the client wants a single form with Vertical Scroll on. Now there are 8 sections in the form, each section has two form elements (so around 16 form components) but i have divided each section into a separate component of its own as some pieces are reused .So the whole screen is like Form - Divided into 8 sections Each Sections is an mxml components contained in a Almost each components contains two form components kept side to side in horizontal flow i.e something like that.This screen is taking hell of a lot of time to load. How should i speed it up, please tell the approaches.Also the main application doesn't take much time to load, this particular screen is loaded on the click of a button and on clicking the button the screen gets stuck because its taking a lot of time to load.
View 2 Replies
Nov 29, 2010
I do not why but now my flash files are taking much more time(Ctrl+Enter) to load than usual .. Automatically debugger starts when i run the file. And for heavy files, the file hangs and ends up in restarting my Flash Application. I am using CS4.
View 1 Replies