ActionScript 1/2 :: Streaming MP4 And Buffer Timeframes

Jul 20, 2010

I have built a video gallery. All videos are stored on a video hosting server. Throughout my timeline, I have various FLVPlayers mapped to their relevant video. The videos are generally from 45 mins to 1 hr 15 mins in length. I am finding that the video doesn't start to play until a player has been sitting there for 5-7 mins. I am assuming this has something to do with the buffer timeframes HOWEVER, when I attempt to access the same MP4's through Google Chrome, they start playing within 10 seconds.

There is no actionscript refering to the videos or onClip handlers. The video players are there and simply refer to URL of the video it should be playing.

View 7 Replies


Similar Posts:


Media Server :: Buffer Entire File While Streaming?

Feb 15, 2010

I have a service running off a FMS and I was wondering how I would get a stream to keep downloading the rest of the file even while streaming. For example, like YouTube downloads the entire video while you're watching it, much like Progressive Download does but I want that from my streaming server.Or even better than that, if I could buffer at least 20 seconds ahead of the current stream position. If I use NetStream.setBufferTime(20) - the stream doesn't play until at least 20 seconds has been buffered, but I want it so that it will play even though it hasn't buffered completely, but will keep buffering while streaming.

View 1 Replies

ActionScript 2.0 :: Increase Buffer Size For Streaming Audio?

Nov 3, 2009

As the piece of music I use on the intro page to my site has become quite lengthy, I decided to stream it rather than imbed the file. I used (AS2):

var mySound:Sound= new Sound();
mySound.loadSound("melange.mp3" , true);
mySound.onLoad = function() {
mySound.start();
}

Which worked fine, the only problem being that after a certain amount of time (which varies depending on computer, bandwidth etc.) the tune will stop and then immediately start again from the top. After this, it will play back fine every time I load the page, until I empty the cache, turn off the computer, etc.

All this leads me to believe that I have a problem to do with buffering. Im thinking that if there was a line of code to override the default buffer size, I might be home free.

View 1 Replies

ActionScript 3.0 :: Flash NetStream.Buffer.Flush When The Streaming Video Is Paused?

Dec 26, 2010

I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right? However, also according to the reference, it shouldn't stop buffering:

Starting with Flash Player 9.0.115.0, Flash Player no longer clears the buffer when NetStream.pause() is called. This behavior is called "smart pause". Before Flash Player 9.0.115.0, Flash Player waited for the buffer to fill up before resuming playback, which often caused a delay.

I'm using Flash Professional to do the debugging, and the traced version number is: MAC 10,0,22,91, and it appears for both FMS4 and red5.

View 1 Replies

Media Server :: Server-side Buffer For Live Dynamic Streaming?

Jul 10, 2009

Finding faults in my reasoning, or expanding the discussion further. We are benchmarking FMS 3.5.x for live dynamic streaming and we have run across an issue. When throttling the client from a high bandwidth (1500kbps) to a low bandwidth (325kbps) via a bandwidth shaper (a physical firewall) it takes a very long (real-) time for the client to see the new stream-quality.
 
During the investigation of this issue we have narrowed this down to:
 
1. when transition is requested from client, the client-side buffer is 1/2 i.e. 4-5seconds.
2. if transition is request on a client with unlimited bandwidth, it takes about 6 seconds for the server to process, find an acceptable switching position and send a "transition.complete" event.
3. on the throttled client however, this event takes much longer.

[Code]...

View 2 Replies

Actionscript :: Implement Adobe HTTP Streaming Spec Without Using Their Streaming Server

Dec 14, 2010

As of Flash 10.1, they have added the ability to add bytes into the NetStream object via the appendBytes method URL...The main reason for this addition is that Adobe is finally supporting HTTP streaming of video. This is great, but it seems that you need to use the Adobe Media Streaming Server (URL...) to create the correct video chunks from your existing video to allow for smooth streaming.I have tried to do a hacked version of HTTP streaming in the past where I swap out the NetStream objects (URL...), but there is always a momentary pause between the chunks. With the new appendBytes, I tried to do a quick mock up with the two sections of video from the preceding site, but even then, the skip still remains.Does anyone know how the two consecutive .FLV files needs to be formated in order for the appendBytes method on the NetStream object to create a nice smooth video without a noticeable skip between the segments?

View 6 Replies

Flash :: Streaming Large Files (streaming Media Server)

Jul 2, 2009

We are streaming a one hour F4V from streaming media server 3.5.2 and for some reason it is seeing our one hour video as being 10 hours long. We have tons of other videos and never ran into this problem in any of the other files. This is the only file that exceeds one hour. This occurs in the default player from the streaming server.

View 1 Replies

ActionScript 3.0 :: Streaming Mp3 Using Mms Network Streaming Protocol?

Jan 8, 2009

Is it possible to stream mp3 files from mms url's like this? [URL]

It throws an error when i try the way i use to load mp3 files (it works with other mp3s):

var sndObject:Sound= new Sound();
var reqObject:URLRequest=new URLRequest("mms://example.streamsvr.com/example.mp3");
sndObject.load(reqObject);

[Code]....

View 1 Replies

Media Server :: Streaming Videos From Virtual Location On Flash Streaming Server

Feb 24, 2010

I have a virtual directory (Storage Area Network) in 'C' drive as well as in "webroot" folder in Flash Streaming Server. What do I need to do to make RTMP videos work from SAN directory on Flash Streaming Server. It works fine for http. RTMP from vod -> application folder works fine. I have done a lot of research and found out that we can use virtual directories for streaming videos. I am unable to find steps on how to use it..

View 4 Replies

Buffer Slower Than Movie?

Nov 19, 2009

I have employed two different methods to embed an flv movie in webpage, but both result in studdering because the movie catches up to the buffer.   I can't figure out what is wrong... is the frame of 30fps rate too high?  is my method of embedding the files and playback wrong?  Or is it just a function of the viewer's internet speed?   

Method 1:
Dreamweaver > Insert Flash Video
FLV size:  13,428kb
Play time: 2:31

[code].....

View 3 Replies

Remove Any Buffer On Video?

Oct 14, 2007

I'm trying to figure out how to REMOVE any buffer on video. So imagine it like this. You have a live stream set up on a server, and a flash app plays that live stream. I need it to use rtsp as well.does anyone know how this is done in flash? or a way in flash to view/show live feeds?

Similar to using VLC Player, and upening up a rtsp feed, it plays in the player. I need that exactly, or very close to using flash.

View 0 Replies

ActionScript 3.0 :: NetStream Buffer In IE?

Oct 27, 2009

i've a very strange problem with a NetStream Buffer only in Internet Explorer (flash player version 10,0,32,18). When I connect to a netstream I use this:

var videoOpe:Video=new Video();
var stream="name live stream";
var nsOpe = new NetStream(nc); //nc is an active netConnection
nsOpe.bufferTime=1;
nsOpe.client=this;

[Code]...

View 1 Replies

IDE :: Can't Get Netstream Buffer To Preload

Apr 8, 2010

I'm trying to make a preloader for the buffer for a 19MB video. I can trace everything, but the math won't do.

Preloading the video itself is no problem. But what I want is to make a xx% preloader for the buffer of this video.[code]...

View 4 Replies

ActionScript 3.0 :: Creating Custom Buffer?

Jul 27, 2009

I would like to show a spinning circle at the start of the video letting people know it is loading until such times as say one third of the video has loaded....then i want to play the video. Once the video starts playing i would like the spinning circle to show again while the video buffers again if the user has a slow internet connection.

View 1 Replies

Professional :: Load Up A Buffer Before Start The SWF?

Sep 23, 2010

My video is a bit jerky at the moment at the beginning. Can I somehow have my adobe swf player load up a generously sized buffer before it starts to play, or is that not the issue? Later on in the video, the jerkiness is not an issue.

View 3 Replies

Flash :: Set A Buffer Graphic Using OSMF?

Jun 29, 2011

I'm building a pretty simple player and have a a buffer size set on my MediaPlayer (mediaPlayer.bufferTime = BUFFER_TIME). That's working but I want to show a graphic whenever it starts to buffer. I have an Event Listener on my mediaplayer to show and hide but it doesn't seem to be working properly.[code]...

View 1 Replies

ActionScript 2.0 :: NetStream Buffer Pause?

Apr 10, 2007

I have a video file FLV which is dynamically loaded using AS NetStream function.Now I want to stop the buffering of the video after a certain amount of bytes are being loaded. For example, the FLV size is 10mb and I want to PAUSE the buffer after the 2mb of bytes are loaded. During the PAUSE of the buffer, the connection should be ON and I should be able to play the video.Is there any way we can PAUSE the buffer and after certain amount of time, we again can START the buffering process? Say it should again start buffering after 2 minutes.

View 2 Replies

IDE :: Cannot Preload Or Buffer The Quicktime Movie

Oct 15, 2009

I have been browsing different tutorials on video here at Kirupa but I always stumble on how to control my quicktime movies. I have a project and it involves loading a couple of quicktime movies. My main problem is that I can not preload or buffer the quicktime movie so that it plays continuously. In the editing stage, when I imported my quicktime movie, I chose a controller to forward and backward the movie scenes, but when you publish it, it's not showing. Please point me to the right direction here Here is the link:[URL]

View 4 Replies

ActionScript 2.0 :: CS3 Using NetStream, Buffer Animation Keeps Reappearing

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 7 Replies

ActionScript 3.0 :: Find Out When Set Video Buffer Is Full?

Jun 27, 2009

I can fade the video in?

I have set: netStream.bufferTime = 10;

and when that buffer is first achieved I want to fade in the video like so:

TweenLite.to(videoSprite, 2, {alpha:1});

the only way I could think of right now is like [code]...

View 1 Replies

ActionScript 3.0 :: Possible To Add A Buffer To A Video That Is Loaded Though FLV Component?

Feb 3, 2011

Works fine however online it takes some time to start and it just has a blank screen for about 7-8 seconds before it starts the videoIs there any way to add a buffering message until it loads the video?I know that buffering is easier to do with NetStream.. but in this case im using Flash's CS5 FLV component which it doesnt give it as an option in the properties...

View 6 Replies

ActionScript 3.0 :: Put Buffer In Dynamic Sound(mp3 File)?

Jul 16, 2009

like row sound we put buffer, like thisbuffer = new SoundLoaderContext(65000);_loop_snd = new Sound(new URLRequest(_mp3), buffer);
how can i put buffer in dynamic sound..as per your code where i can put buffer in below code..
 
_dynamicSound = new Sound();
_dynamicSound.addEventListener(SampleDataEvent.SAMPLE_DATA, onSampleData);
 
the dynamicSound genrated from the row sound, means i modify the row sound.

View 2 Replies

ActionScript 3.0 :: SeekBar Breaks Everything When Seeking Beyond The Buffer?

Dec 9, 2009

I used a template from adobe and modified it to fit my needs. Instead of one long video with cuepoints, I have several videos that I want to switch when the buttons are clicked.verything works great except when the user seeks beyond the buffer (progressive download).hen this happens, everything breaks. All of the buttons, playback, play/pause... everything. You have to refresh the page and start over.My quesiton is, does the seekBar need a custom eventHandler? Shouldn't it work on it's own? Here is my code:
 
import flash.events.*;import fl.video.*;
//-----------------// Video control assignment//-----------------
display.playPauseButton = play_btn;display.stopButton = stop_btn;display.seekBar =

[code].....

View 1 Replies

Media Server :: Deallocate Last Buffer Displayed?

Feb 5, 2010

I am publishing the video over FMS and viewing it on other PC through display video. Now when I stop publishing the video, I am getting the last buffer as still image on the other PC(viewer). I want to know how we can delete that last buffer on viewr PC when publishing stops.

View 1 Replies

ActionScript 3.0 :: Double Buffer Program Is Slowing Down?

Sep 22, 2010

I have a small Dancing Lines program like an old Windows screensaver program and it appears to slow down after about 30 seconds to a minute.I "clear" my buffer by copying a screen sized black symbol to the buffer. If anyone has any ideas about how to make this more efficient and most importantly stop the slow down.

// Variablesvar x0:int;var y0:int;var x1:int;var y1:int;var x2:int;var y2:int;var x3:int;var y3:int;var dx0:int;var dy0:int;var dx1:int;var dy1:int;var dx2:int;var dy2:int;var dx3:int;var dy3:int;var counter:int = 0;var clearBuffer:Buffer = new Buffer();var[code].....

P.S. - Is there a way I can post my code in a smaller box with a scrollbar?

View 7 Replies

ActionScript 3.0 :: How To Buffer Stream When The Video Is Paused

Nov 30, 2010

I just made it clear of the differences between the progressive video and streaming video *^_^* But I do need a feature of allowing buffering the video when it's paused, which I cannot find how to do it directly... I followed an article ( url...) to manage the buffer strategy but it didn't solve my problem. My problem is: if the user has a very slow network condition, he/she might want to just pause the video manually, and wait it to be downloaded until it's 'pretty much', and he/she can watch it without interrupting. But I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right? However, also according to the reference, it shouldn't stop buffering:Starting with Flash Player 9.0.115.0, Flash Player no longer clears the buffer when NetStream.pause() is called. This behavior is called "smart pause". Before Flash Player 9.0.115.0, Flash Player waited for the buffer to fill up before resuming playback, which often caused a delay. I'm using Flash Professional to do the debugging, and the traced version number is: MAC 10,0,22,91; and for the streaming server, I use red5.

View 1 Replies

ActionScript 3 :: How To Create App With Looping Video Buffer

Sep 16, 2011

I'm trying to create an AS3 app with looping, seamless video background. The background is loaded from an flv. The problem thus far is with the seamless bit, because all the video looping tactics I've come accross regarding AS3 always seem to have that short but noticeable pause at the end of the video before going back to the beginning and playing again.

The best way I've determined to deal with this is to play a video and buffer the video frames as BitmapData objects into a queue of a defined length (without adding the video to stage). This way Rendering the video would then really involve popping each of those BitmapDatas into a Bitmap object attached to my stage in a timed manner, which then gets drawn.

Sort of like:
/*VideoBufferer loops the input video and queues frames and then updates*/
var vidbuffer:VideoBufferer = new MyVideo("video.flv",outputImage)
var outputImage:Bitmap = new Bitmap();
stage.addChild(outputImage);
//forgive syntax, this is pseudoCode
timed process that happens X times per second{
outputImage.bitmapData = vidbuffer.popBitmapData();
//returns bitmap data from the queue }

I don't care about sound. However I seem to not know how to implement this desired VideoBufferer class as I don't know how to play a video without adding it to stage and grabbing frames from it. How to implement the frame grabbing side of VideoBufferer?

View 1 Replies

ActionScript 2.0 :: NetStream.Buffer.Empty Not Working?

Jun 25, 2009

I have 9 videos in a gallery. Each one gets displayed in a custom video component. When you navigate to watch a new one a new NetStream is setup.I have 2 problems. Basically if you don't watch the video right to the end and when you select and watch a new one:1. a "buffering video" movieclip does not display correctly (or at all) indicating that NetStream.Buffer.Empty isn't working properly (maybe its referencing the previous movie ???).2. when the next movie is buffered and starts you hear a little split second glitch of sound (which sounds like its from the previous movie).

both these problems seem to indicate that in some way the previous movie is still lingering around and in some way needs to be 'flushed' away so that on the next movie the code to display the 'buffering video' message works properly and you don't get this legacy remnant of sound for a split second.At the beginning of the code for each movie I have placed:

ns.pause();
player.clear();
ns.close();

[code]........

View 0 Replies

ActionScript 3.0 :: Buffer Next Video While The Current Is Playing?

Jun 26, 2009

I have a video in my web background, and I was wondering could I buffer the next video (if the current has finished downloading) while the current one is playing?

View 7 Replies

ActionScript 2.0 :: Video Lags After Buffer Is Complete?

Jul 2, 2009

I'm using NetStream to show my videos, everything works fine except the annoying lagging that I get after the video has buffered. The video simply skips/ jumps to the point that it had buffered to, stops and waits again for the same amount of it to buffer then plays normally.Me changing the seconds that it takes to buffer doesn't effect it. The action script is as follows:

stop();
ns.play("blank");//stops video playing in the background
var nc:NetConnection = new NetConnection();

[code]........

View 0 Replies







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