Determine Buffering / Playing?

Oct 8, 2010

I'm trying to use NetStream events from an FMS 3.5.4 server but am having trouble.  I'd like to simply know when a video is playing, buffering, or idle.  I know about Play.Start and Play.Stop, but these can mean the video is playing, or the video is buffering.  Buffer.Full and Buffer.Flush can occur when a video is paused, playing, stopped, seeking, etc.  I'm scouring over every event I get, but I really see no good way to determine what the exact state of a NetStream is at a given time.

View 1 Replies


Similar Posts:


Flash :: Determine Is MovieClip Playing Now?

Apr 17, 2011

I have movieClip (in as3) and I'd like to know is this movieClip playing now

View 2 Replies

IDE :: Add A Buffering Message To Flv?

Mar 3, 2004

I have a flv placed in a swf and i'm trying to add a loading or buffering bar to the flv so that users know that is happening.here is my code that holds my actions for the flv.

Code:
stop();
var flvPlayer:mx.video.FLVPlayback;

[code]......

View 1 Replies

Media Server :: 3.5 Buffering Too Much

Jul 14, 2009

i setup the development versionof fms 3.5 server on windows 2003 server and it worked great in my tests.so we bought the server and are putting it in production now.the only problem is i never "tested" large FLV files.now if i put a large 50+megabytes flv file in the server it constantly buffers on the client.Is there a setting that defines the buffer size to increase the amount of buffer data that gets sent to the client?if i use a small flv file it works flawlessly but for large files it says "buffering" every 2-5seconds on the client.the client is just opening the test page that comes with the server the server has 3000mb/s to the internet and the client has a 20mb/s connection so i don't think bandwidth is an issue...

View 1 Replies

XML :: How To Add Preloader Before Video Buffering

Dec 23, 2009

I have a xml video background and need to add a preloader before the video is buffering. The problem is that I am loading the video from xml file and from what I've tried the preloader works for the swf file but not for f4v video loaded externally. You can check the preview here: [URL]. What I've come with is to compress the video so Ill get a smaller file or change the buffer time, but the priority is to come out with the preloader.

View 1 Replies

ActionScript 3.0 :: Set Buffering Time Of FLV?

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

IDE :: Adding A Buffering Message To Flv?

Mar 24, 2009

I have a flv placed in a swf and i'm trying to add a loading or buffering bar to the flv so that users know that is happening. this here is my code that holds my actions for the flv.

Code:
stop();
var flvPlayer:mx.video.FLVPlayback;
flvPlayer.contentPath = "http://67.227.133.42/flv/TCC30.flv";
var cuePt:Object = new Object();

[Code].....

View 4 Replies

ActionScript 2.0 :: Disable The Buffering Bar Of A FLV?

May 6, 2010

Is there anyway to disable the buffering bar of an FLV?, I have treeview component that shows a video list from which the user has to select a video to play. When i test the movie, the buffering bar starts animating even before the user selects anything from the tree view.

Is there any way to disable the bar ? I am using a pre defined skin from the list of skins.

View 1 Replies

ActionScript 3.0 :: Loading ID3 Information From A Buffering MP3

Oct 18, 2009

I'm making a very simple MP3 player in Flash CS4 Professional 10.0.2 that loads a song from an array containing the locations of the songs and plays it. The player also displays the artist and song info name in dynamic text fields as specified in the ID3 section of the MP3 file. It works as desired when I load the MP3 before playing it. This is the relevant portion of the code, highlighted in green to indicate that it functions as I want:

[Code]....
 
What's odd is that if I comment out the last two lines of the onID3 function, so that the function only performs the trace command that's highlighted in orange, it works! This tells me that it's loading the ID3 information. So why can't it display the information from the currentSong variable?

EDIT: I'm pulling the MP3 files from the same server as the SWF. I would not be pulling them from a remote location!

View 4 Replies

Flash :: Detect When Video Is Buffering?

Dec 7, 2009

my question today deals with Flash AS3 video buffering. (Streaming or Progressive) I want to be able to detect when the video is being buffered, so I can display some sort of animation letting the user know to wait just a little longer.

Currently my video will start up, hold on frame 1 for 3-4 secs then play. Kinda giving the impression that the video is paused or broken :(

Update

NetStatusEvent from livedocs. It seems to me that the key status to be working in is "NetStream.Buffer.Empty" so I added some code in there to see if this would trigger my animation or a trace statement. No luck yet, however when the Buffer is full it will trigger my code :/ Maybe my video is always somewhere between Buffer.Empty and Buffer.Full that's why it won't trigger any code when I test case for Buffer.Empty?

public function netStatusHandler(event:NetStatusEvent):void
{
// handles net status events

[Code]....

View 4 Replies

Html :: Show Flash While Buffering?

Nov 11, 2010

i'm developing a web where i want to show a flash on the index page. The flash got 3Mb size. But while it is downloading, i just see a white space where it should be.

I have tried putting an image in the background, but i just see white until the flash is fully downloaded...

I would like to see the first image of the flash, or an static image while it is loading?

im just putting it in the direct way

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="899" height="138">

[Code].....

View 1 Replies

Flex :: Buffering In Video Display?

Jun 14, 2011

I'm new to Flex and currently working on the Video Component in Flex. The problem is:Buffering starts only after the specified time. So, if i have specified the Buffer Time to be 2 s, then the video buffers for sometime, gets the data for the 2s and then plays it and then again buffers. The point is it is not buffering in parallel to playing. Is there any way of making this possible in Flex 3? Or is it already there in newer versions of Flex?

View 1 Replies

ActionScript 3.0 :: VideoOnDemand - Playlist With Buffering?

Feb 28, 2011

I have a VOD application which reads a playlist from an external file and play the video once the previous one is finished. By default, the buffer is set to 2 and once the buffer is full (Netstream.Buffer.FULL) I have another function setting it to 20.

When "Netstream.Buffer.Flush" is triggered I have to set the buffer to 0 and then set it to 2 again.

This application was working fine before I set those buffering stuff. Now the buffer seems to be ok, those videos play suitably but there are some delay when switching between the video which is ending and the video which will begin. I belive there is something wrong when setting the buffer to 0, but if I get it removed, the application does not call the second video..

View 0 Replies

ActionScript 2.0 :: Buffering Movie Player?

Jul 15, 2004

Just wondering if anyone had a good tutorial for making a buffering video player, with scrubber etc that lets the viewer see how much of the video has loaded whilst they watch it. I've been searching for ages but to of no avail!The kind of thing I'm after can be found at www.hi-res.net on the 'showreel' section in bottom right corner.

View 2 Replies

ActionScript 3.0 :: Loading SWF With FLV Movie - Buffering Video?

Jun 10, 2009

I have some videos that are already in FLV format. I embedded them inside a little swf. And I embedded that swf into a bigger swf where everything els is. When a user clicks on a button, it loads the swf with the FLV movie in it...how would you go about buffering a video?

View 21 Replies

ActionScript 3.0 :: Streaming Video Skips After Buffering?

May 26, 2011

When my streaming videos start they will buffer and begin to play as normal. However, as soon as the vid starts buffering again a problem arises. Basically what is happening is that Flash is buffering the video to a certain point, but instead of resuming playback from the point where the vid paused it now jumps instantly to the end of the newly buffered area without playing the vid portion in between. Which essentially means that it skips merrily through the video and never stops buffering.

View 3 Replies

Media Server :: Pre-buffering Multiple NetStreams?

May 21, 2009

I am running into some streaming bugs and am wondering if anyone else has come across them. Very grateful in advance for any help as I've been banging my head against this for a week now.
 
First of all, I'm finding that no matter what value I set for a NetStream's bufferTime property, the NetStream will not begin actually playing until the bufferLength property is over 2 seconds. This is not what Flash documentation says (that the default value of bufferLength is .1 seconds). Could this issue a function of the FMS configuration with my RTMP hosting account? Is it something I can resolve with my asc file?
 
Also: In my Actionscript 3 app, I need to pre-buffer a number of video streams so that any one of them can be triggered immediately later in the program. I do this by building an array of NetStreams (within a single NetConnection), then playing each of the streams I need to pre-buffer and immediately pausing each too. This is successfully causing them to buffer in the background, so that they're ready for immediate play when I need them. When I do this with just one NetStream, it works fine. But with more, the streams are behaving unpredictably. They are successfully buffering, but when I need to actually play them and I go to unpause them (Netstream.resume), the NetStreams are generally NOT playing back correctly. Their behavior is not consistent, and they mostly play with no video, or no audio OR video. The one exception is the FIRST NetStream that I started pre-buffering, which is the only one that's consistently playing back fine with its audio and video. Again, if I unpause any of the other NetStreams, they play back with just audio, or not at all.

View 2 Replies

ActionScript 3.0 :: FLVPlayback - Buffering From Specified Time In FLV Movie

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

ActionScript 3.0 :: Detecting PAUSED_STATE_ENTERED From User Rather Than Buffering

Jun 2, 2010

Much to my chagrin, my FLVPlayback video enters the 'pause' state rather than 'buffered' when the bandwidth forces the player to pause. Unfortunately, that's the same state as when a user presses the skin's pause button. Therefore, I can't detect whether the video is paused based on a user action versus a lack of downloaded video data.
 
That is, I can trigger an event based on either occurance, but I can't tell which caused the video to enter the paused state.
 
It sounds like others have had this problem as I've caught a couple discussions outside these forums describing how to code around this problem and, well, the descriptions are too sparce for me to code myself.

View 2 Replies

Media Server :: Streaming Vid Skips After Buffering

May 26, 2011

When my streaming videos start they will buffer and begin to play as normal. However, as soon as the vid starts buffering again a problem arises. Basically what is happening is that Flash is buffering the video to a certain point, but instead of resuming playback from the point where the vid paused it now jumps instantly to the end of the newly buffered area without playing the vid portion in between. Which essentially means that it skips merrily through the video and never stops buffering. That said i'd prefer to get to the root of the prob, particularly if this is a codec/keyframe issue, since i could then re-export the vids appropriately.

View 2 Replies

ActionScript 3.0 :: Track Audio And Video Buffering?

May 26, 2011

I'm working on the development of a tool that plays two audio files and one video file simutaneously.All the files need to play together at the exact same time, so that the audio syncs with the video.
 
Our situation right now is that each one of the files start playing at different times depending on how fast they are loading. The problem is, my programmer is telling me that there is no way to track the buffer of the audio, so for example, the video only starts playing when at least 30% of the audio is loaded. Is it possible to do this?
 
The video player would then display something like:

[Code]...

View 4 Replies

ActionScript 3.0 :: Display Buffering Message Netsream

Feb 16, 2011

how would I display a buffering animation whilst a netsream object was downloading video data?

View 0 Replies

ActionScript 3.0 :: Streaming Video Skips After Buffering

May 26, 2011

I am pretty new to scripting and Flash and streaming vid is proving a massive headache at the mo. Have bashed through most of my problems but this one has got me stumped, scripting skills not up to the task. When my streaming videos start they will buffer and begin to play as normal. However, as soon as the vid starts buffering again a problem arises. Basically what is happening is that Flash is buffering the video to a certain point, but instead of resuming playback from the point where the vid paused it now jumps instantly to the end of the newly buffered area without playing the vid portion in between. Which essentially means that it skips merrily through the video and never stops buffering. That said I'd prefer to get to the root of the prob, particularly if this is a codec/keyframe issue, since I could then re-export the vids appropriately. I am using mpg4 (.mov) with H264 compression and keyframes at 1 sec intervals.

View 2 Replies

ActionScript 3.0 :: Know When Live Stream Starts Buffering?

Sep 9, 2011

Is it possible to know when live stream starts buffering? Net status events that are connected to buffering (like NetStream.Buffer.Empty, NetStream.Buffer.Full) doesn't work I am using FMS 4.

View 2 Replies

ActionScript 3.0 :: Stop A Buffering Movie From Loading?

Sep 28, 2011

I have a page on my site, that has thumbnails for about 9 videos that are external and loading through the FLV Playback component. Everything works great unless the user decides to move on to the next page, while a video is buffering (pre-loading). If the buffing bar is showing and click to go to the next page the video continues to play once it is loaded. You can't see the video, but you can hear the audio from it. Sometimes if you are too click happy, you will get the audio overlap of two different videos at the same time.

Is there anyway to stop videos that are loading when you click the button to go to another page?

View 1 Replies

ActionScript 3.0 :: Simulate Buffering Sounds Locally?

Oct 13, 2011

Is there a way to simulate streaming sounds locally? I mean even I check 'Simulate download' in the testing app inside Flash, I get only downloading swf simulated. Then I have all sounds accesible immediately. Would be nice to test buffering locally.
BTW is the sound property 'isBuffering' responsible to let me know if actual sound is loading?I've got a feeling in my app, that clicking on multiply tracks to load (when one hasn't fully been loaded yet) doesn't stop them loading even sound is nulled and recreated. I tried to check that before nulling it by:

View 0 Replies

ActionScript 2.0 :: Start Buffering Video From Specified Point

Feb 8, 2012

I've been working on a video-centric project that requires a very specifically designed video player, which I've built from scratch -- no skin. Things were going great until I actually uploaded the video and SWF to my server and tried it out. Here's the issue: The video, which is an F4V that's been imported into Flash as an external asset -- I'm not using NetStream, nor am I using a Flash media server -- starts loading almost immediately. But when you use the custom-built scrubber bar to jump ahead in the video, it freezes up until, I presume, the video has loaded to that point, at which time the video starts again. If you open the SWF and let it sit for a few minutes, this isn't an issue -- you can jump back and forth as much as you want.

So clearly the problem here is that the video is loading from the beginning and the user can only get to a certain frame when that frame has already been loaded. But it must be possible to start loading from a specified point, right? After all, the video doesn't load all together and become available only when the whole thing is done. It starts loading at 0:00 and continues progressively. I just want to change where it starts loading by telling it not only to play at that point but to start loading at that point, too.

View 1 Replies

Actionscript 3.0 :: FLV Player Component - Buffering Autoplay

Oct 14, 2010

I have an AS3.0 XML flv player that uses a flv component skin/controls. Everything works great, but now the client wants it so that when ever the movie stops to buffer, it automatically starts playing again. Right now, I guess if it has to stop and buffer, you have to hit play to start it again.

[Code]...

View 1 Replies

ActionScript 2.0 :: Buffering - Play The File After 20% Is Loaded

Nov 26, 2003

i made a little buffer script for dynamically loaded mp3s. it's supposed to play the file after 20% is loaded (these files are a couple of MB). anyway, it doesn't play after it's buffered to the 20%. works when i just test movie in flash. doesn't work when i test "streaming" in flash. here's my buff script, etc. let me know if you need anymore info...

[Code]...

View 10 Replies

ActionScript 2.0 :: Making A Buffering Video Player?

Jul 15, 2004

tutorial for making a buffering video player, with scrubber etc that lets the viewer see how much of the video has loaded whilst they watch it. I've been searching for ages but to of no avail!I'm using MX, not MX 2004

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved