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
Similar Posts:
Oct 14, 2009
Does anyone know if it's possible to get your FLV to seek to a point beyond what's already been loaded into the buffer... just like how youTube does it?I want it to seek to the new point, drop all buffered data that it had before and then just start buffering from the new point.I'm NOT (and can't) use a media streaming server - is this possible without it? After a bit of research it's not looking good :sIf you can't do it then I'm thinking I'll have to preload the whole FLV before the user even sees anything!
View 5 Replies
Jul 28, 2011
A website I've recently encoded has HTML5 video that falls back to a Flash video for IE browsers. The MP4 video is played through a SWF file with an FLVPlayBack component, and works perfectly on my company's staging environment. However, once we moved the files to the client's live site, the video's buffering does not work properly. Instead of showing the video controllers and progress bar as the video loads, nothing is shown until the video file is completely downloaded (about 50MB)Here are the settings used for the SWF file and FLVPlayBack Component:
FLVPlayBack:
autoPlay: off
autoRewind: on
[code].....
View 3 Replies
Feb 27, 2011
Ok, so I have tried and tried to figure this out. Of course in the test environment everything works beautifully, but when I test my swf on my site, thats when the sh*t hits the fan.
The problem is my buffer bar wont show up until the video is completly loaded. In flash however, it loads across as the video is downloaded, like it's supposed to.
Go to my site to see what I am talking about. The loader bar appears uder the progress bar, exactly like on youtube. www.blankensteincreations.com
Here is the code that controls it.
Code:
mcVideoControls.mcProgressFill.mcFillGrey.width = nsStream.bytesLoaded * 710 / nsStream.bytesTotal;
Of course that is wrapped in a timer funtion which, I add, works fine.
FLA is attatched as well as the code below so you can see how it works in flash.
Here is my full code:
Code:
const BUFFER_TIME:Number = 8;
const DEFAULT_VOLUME:Number = 0.6;
const DISPLAY_TIMER_UPDATE_DELAY:int = 10;
[Code]....
View 11 Replies
Feb 18, 2010
I have loaded an external video with playback component in Flash CS4.
Now the question is do I need to add streaming script or not?
View 2 Replies
Aug 4, 2011
We have developed flash video player which needs to playe large videos (at least 500 MB videos).We have some issues in the player right now.I am playing a 100 MB + video, it start playing and say it is buffering upto 50% of that video. Then I am closing that page. If I take that video again, it starts downloading from beginning. It never resume downloading from where it buffered previous time. But for small video files, this is looking ok. Is there any size limit a video player can buffer?Is there any better way to play large videos (more than 500 MB). Any other protocol or any other settings in flash player?
View 1 Replies
May 27, 2008
how to set the buffer time for a media component. Like the mediaController or Display?
View 2 Replies
Apr 8, 2009
I tried to look this up, but can't seem to find what I am looking for. How do I hide the FLV Buffer in the beginning and the playback controls that come with it?
View 1 Replies
Apr 6, 2009
Flash version CS3 AS version AS3 Skill level - AS2 Flash 8 - better than Average. Skill level - AS3 - a little better than beginner.
Problem: Creating an FLV movie using CS3 / AS3 FLVPlayback component. Having problems with buffering issues - large FLV file 23 MB
I'd like to add either text or an animated movie clip that displays a "buffering" message before the movie is loaded enough to play AND if the play head catches the buffer, I want it to show again until the movie has rebuffered and then disappear when it starts playing again.
how this can be done with a custom player using netstream, but having a heck of a time finding anything that shows how to do it with the FLVPlayback component.
What I've done:
This is my video as it stands at the moment. [URL]
I have added a progress bar per the instructions in this tutorial [URL] (I used the section titled: "Adding a progress bar component" - the code is identical to what is displayed there.)
However, even though the progress bar is displayed, it is not displayed long enough for enough of the FLV to be buffered to play smoothly.
Hence my interest in adding a 'buffering' message. Either that, or display the progress bar long enough to buffer enough of the movie so that it doesn't stutter or stall during initial playback.
View 1 Replies
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
Apr 8, 2011
With autoHide set to true I would like to have the skin show when a video is loaded then fade away after a couple of seconds.
View 5 Replies
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
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
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
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
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
Nov 28, 2010
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 (I'm not able to post the 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?
I really expect the "buffer when paused" functionality, is it possible to do?
p.s. I'm using red5, not fms, although I haven't touched the difference part of them.
View 3 Replies
Apr 30, 2011
I am developing an webcam recorder and would like to implement the buffer concept in order to avoid the dropping of video frames.[code]...
View 0 Replies
Jan 21, 2012
I have an issue that i'd like some help with I'm a beginner to actionscript 3.0 so i'm sorry if there is any "Obvious" mistake. Oh well, here goes nothing:For my school project, i've done a flash video project which works perfectly fine EXCEPT, which is an issue i did not foresaw which was that when i put my project on an FTP, the video would need time to buffer before it would play. Since i worked with the flash video locally, this was not an issue.
On flash, i have a video that plays and stop with a button. This video is being simultaneously played with a MovieClip. My problem is that, when a video is being buffered, the MovieClip would start without it. The Video and the MovieClip is on different layers and on KeyFrame2. Keyframe1 is a start button.
[Code]...
View 6 Replies
Aug 16, 2010
We purchased the Adobe Flash Media Sreaming Server 3.5.
My question is, the client wants to set the buffer to 30 seconds, so if an error is encountered the live feed feed will not be interupted.
Is this set from the Adobe client that is recording the video or is this a setting on the server?
View 9 Replies
Oct 5, 2010
I just had a very bad user experience here: [URL] The Loading... text appears every 1 second. Is it possible to buffer all the video content before playing it? Or at least a portion of the video content when playback, and at the same time display the percentage of video content loaded?
View 21 Replies
Mar 9, 2011
I want to play an f4v file in flash, however when I play it I want it to already be loaded and buffered before I send the commands to play it.
my purpose is to have some events going on in the SWF movie then it immediately switches to playing a video but it has to be very synchronised. I dont want to play the video and have the person waiting ont he video to load.. I want to load the video in the background beforehand... then when it's time for the video sequence I send the commands to play it and everything is good to go.
View 3 Replies
Aug 27, 2011
I'm new to all this, so please forgive my lack of knowledge My purpose of this is to do high quality video conference. I've set up flash media server, and installed media encoder on another computer, input and output looks very much the same, but on the media player, it has about 1 second delay even on LAN,
is this because of the buffer of the flash player? how can i disable buffer completely?
View 1 Replies
Nov 30, 2010
I need a feature of allowing buffering the video when it's paused, which I cannot find how to do it directly... 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:
[Code]....
View 1 Replies
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 the streaming server is FMS4
View 3 Replies
May 1, 2010
i embed a video in my html page and i want to hide div after complete the video. and a specific time.my video time is 12 sec.
I am using this function
$('#fvideo').fadeOut(12000);
and html code.
<div id="fvideo" class="video">
flash video
</div>
UPDATE
actually what i want is that
flash video fadeOut time should start after buffering completely.
or is there any way to fadeout that div( containing flash video) after buffering and running(once) successfully.
View 2 Replies
May 6, 2009
I have buffer of video and want to pass it to server and then republish it to the client and display that as live video.
View 1 Replies
Jun 16, 2010
I'm currently working on a webcam recorder to record high quality video. I had the recorder working before, but the video quality was quite poor. Instead I'm trying to use a client side buffer and then upload the buffer after recording has stopped. I thought after I unattached the video and audio from the NetStream that either a NetStream.Buffer.Empty or NetStream.Record.Stop event would be sent when the buffer was finished uploading.
What is actually happening after I start recording is two NetStream.Record.Stop events are being sent in a row, so recording never really happens. Also, on the server side I'm trying to save a user name and password into a variable, but I'm not sure how to go about doing that since the application script is just a bunch of callback functions.
View 6 Replies
Feb 8, 2011
I need to increase my buffer size in FMS. My video is running from RTMP and I faces the problem to load. Video stalled between the running. So I need to increase buffer size for running video smoothly.
View 1 Replies
Nov 22, 2011
I have a Net Stream object that I am using to stream video from an Amazon Flash Media Streaming service.The video makes a connection and plays fine but randomly it seems to just freeze and the only way to get it to work again is to re-establish the connection. I have tried to put other videos in that amazon bucket as well and they seem to play fine. this happens when it is in .FLV form and .mp4 format.
I have set the buffer time to be 5 seconds and i watch the output of the buffer to see the % of full it is. when the problem occurs the buffer 5 goes from 100 to 0 and then it throws a Buffer fail error (i'm using OVP framework).I have come to the conclusion that it is either a video encoding problem or perhaps there is a firewall issue that blocks the data from getting through.
View 1 Replies