ActionScript 2.0 :: Netstream Buffering - Loading A Showreel In Flash File

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


Similar Posts:


ActionScript 2.0 :: Buffering Animation Reappearing Over NetStream Loaded FLV?

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

ActionScript 3.0 :: NetStream.time Jumps Ahead When Buffering Playlists?

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

Media Server :: NetStream.time Jumping Ahead When Buffering Playlists?

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

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

ActionScript 2.0 :: Showreel To Play Within Flash Site (not Pop-up)?

Oct 9, 2009

I need a showreel to play within my flash site (not pop-up)It's important that the quality remains pretty good, and i've tried converting it to FLV with no joy (bad quality)Is there anyway round this? Quicktime? Vimeo?

View 3 Replies

Flash :: Professional - Template Movie Gallery - Replace The Big Photos With Videos Of Showreel

Apr 17, 2010

it has interactive picture gallery where you roll over with the mouse and click on the desired photo to see it on bigger size. I would like to replace the big photos with videos of my showreel. you can go and check it out: [URL]. Flash only allows me to exchange for the same file this case pictures.

View 6 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

ActionScript 3.0 :: Error: "NetStream.Play.StreamNotFound" While Playing Mp4 File Using NetStream Object?

Jan 7, 2010

I am using NetStream, NetConnection and Video object to play an mp4 file which is hosted over a web server using http.This is an AIR application and the relevant code is pasted below:

var url:String = <some http url>;
connect_nc = new NetConnection();
connect_nc.connect(null);

[code]........

View 0 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 :: 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 :: Default FLVPlayback - Loading Or Buffering

Sep 17, 2009

Take a look (click on one of the right banners): [URL] The lightbox should almost immediately play the videos, but instead (only) with ie7, the video take a really long time to start. All 3 videos. But only the first time I play them. So, I suppose there's maybe some loading or buffering problem that occurs only with ie7. The swf files are simple default FLVPlayback pointing to a .flv in the server. Any way to optimize the playback so that will start soon in all browsers?

View 1 Replies

Flash :: NetStream.Buffer.Full Not Fired After Call To NetStream.pause?

Jul 6, 2011

I'm making a small video players in AS3, and I've found that after calling NetStream.pause() or NetStream.togglePause(), no status messages are being fired any more.If I click the "pause" button while the video is buffering, I never get the Buffer.Full message.Here is some code:

_connection = new NetConnection();
_connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
_connection.connect(null);[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

Media Server :: File Is Stuck On Buffering On Playout?

May 31, 2011

I followed the instructions located here:when i load the player and put the correct rtmp link, the video is stuck in bufferingI also tried the strobe media playback  and getting the same issue.I also tried playing the sample.flv file located in the vod/media directory and getting the same problem

View 2 Replies

Flash :: Difference 'Music / Video Is Loading' Vs 'Music / Video Is Buffering'?

Dec 1, 2011

What is technical difference between buffering and loading ? Say, i have a video, which is showing loader bar in progress. Then what's happening exactly ? Buffering or Loading ?

View 1 Replies

ActionScript 3.0 :: Show "loading" Animation Whenever Video Is Buffering?

Nov 20, 2011

I'm building a video player, and I'd like the play to show a "Loading, please wait"-type animation whenever the video is buffering and not playing. (This is either when the user enters the page and the video has to buffer a bit before it can start playing, or when the video suddenly stops midway because the internet connection can't load video fast enough.) Is there a way to detect when this happens and show the animation accordingly?

View 1 Replies

ActionScript 3.0 :: How To Show "loading" Animation Only When Video Is Buffering

Nov 20, 2011

I'm building a video player, and I'd like the play to show a "Loading, please wait"-type animation whenever the video is buffering and not playing. (This is either when the user enters the page and the video has to buffer a bit before it can start playing, or when the video suddenly stops midway because the internet connection can't load video fast enough.) Is there a way to detect when this happens and show the animation accordingly?

View 1 Replies

ActionScript 3.0 :: Pause NetStream Loading?

Dec 21, 2009

i have this (becoming-abnoxious) client, for which i make a video player (using the NetStream class), who came out today requesting that instead of starting to load the video only when the user clicks the 'play button, he want the video to begin downloading as the player loads (before the user clicks the 'play' button), but only the first 10 minutes of video (most of his videos are long, even up to an hour), and after that the loading will pause, and will resume (from the same point of course) after 3:30 minutes if the user doesn't click the 'play' button in the meanwhile.

i told him no-can-do: i can pause the download after (give-or-take) 10 minutes of video were downloaded, but once the downloading resumes it will start from squqre-one (using what has downloaded to the browser's cache). his reply for that was 'i don't take no for an answer, find a way'.before i give him the 'no-can-do' again, is there anybody who think that my client request is doable?

View 1 Replies

Actionscript 3 :: Can't Scrub Through FLV Using Netstream.seek() After FLV Finishes Loading

Oct 27, 2010

I'm trying to play an FLV using the Netstream class - standard stuff, really using nothing more complex than things you can find in the help files. I've created a control panel with a bar you can use to click and drag and scrub through the video.

Exporting to Flash Player 9, it's working fine and I can scrub through the video, but only while the FLV is still loading. As soon as it hits 100% the scrubbing (using Netstream.seek()) becomes incredibly unresponsive, almost to the point of crashing the player.

I've killed all ENTER_FRAMES, removed all unnecessary listeners and nullified everything I can think of but something massively resource-intensive seems to be kicking in as soon as the load finishes.

Has anyone ever seen this? I've never come across this and can't find anything similar across assorted forums.

Code below but I don't think the mouse-move drag actions are the problem! Fine in the Flash CS4 IDE, broken in the browser.

// Drag
private function dragVideo(e:MouseEvent):void {
// Match the x position of the dragger to the x position of the mouse
videoControls.progressBar.dragger.x = videoControls.progressBar.barInner.mouseX;

[Code]......

View 1 Replies

ActionScript 3.0 :: Netstream Audio Plays While Video Loading?

Jan 14, 2009

how to get flv's to load up dynamically using xml - it all works well apart from this one problem that i have.

when the thumbnail for the flv is clicked the preloader appears and the flv starts to load - but for some reason the audio begins to play almost immediately - then when the flv actually loads then the audio plays again whilst the initial (unwanted) audio carries on playing!

this is the script for the netstream:

[Code].....

View 1 Replies

ActionScript 2.0 :: Video Paused When Loading Via NetStream Object Within A Function

Apr 1, 2006

I'm having a problem loading an FLV file via the NetStream object.

The following is on frame 1 of my root timeline:

Code:
loadMovieClip();
function loadMovieClip():Void {
// Create new NetConnection object

[Code]....

The code is EXACTLY the same, except it isn't within a function, yet the latter example plays the video correctly, and the first example doesn't.

View 2 Replies

ActionScript 3.0 :: Main Swf Loading Multiple Swf's Containing Netstream Video Clips?

Sep 6, 2011

I have this Main swf that is supposed (via buttons) load external swf's. These external swf's play single videos with code that follows ie:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);

[Code]....

When this video clip has ended I want the main swf to be loaded again.

View 2 Replies

Actionscript 3 :: HTML: Start Sound Playback From URL Mid-file Without Buffering All Sound Data To That Point?

Nov 21, 2010

I have a long mp3 file hosted on a standard apache server (30 minutes long so far, but I would like it to work with longer sounds too).I'd like to start playback of this audio within at a specified point. When attempting to use Flash Actionscript 3, my basic tests show that ALL the audio from the start to the position I choose is buffered before playback (Sound.bytesLoaded was my friend here). If I start one second in, it takes about 3 seconds to start playback, 30 seconds in, takes about 25 secondsObviously with a really long mp3, like skipping playback to the middle of a 3-hour audiobook, this isn't going to be practical.Here's the ActionScript 3.0 code I'm using:

button.addEventListener(MouseEvent.MOUSE_DOWN, function():void {
var s:Sound = new Sound();
var req:URLRequest = new URLRequest("http://example.com/audio.mp3");

[code].....

View 1 Replies

ActionScript 3.0 :: Error On BitMapData.draw() After NetStream.pause() Then NetStream.seek()

Feb 25, 2010

I am working on an app that will take a snapshot of an rtmp stream of an archived video, save it to a file, and ExternalInterface the file name to the hosting page to javascript it up for display.

I actually have all pieces working great. The only time an error is thrown is when I pause the video, seek to somewhere, and then try to take a snapshot. Then there is a runtime error of:
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: mySwf.swf cannot access rtmp://myFlashServer/myApp. No policy files granted access.I've seen post after post of suggestions and have tried them, but without success.

I have the crossdomain.xml and my FlashMediaServer security setup fine (it is actually working, except for this one glitch). It just seems to be the pause-then-seek-then-BitMapData.draw() combination which is creating issues.

Another weird thing: after the error is thrown, if I resume the stream and take a snapshot, it works flawlessly again.

View 5 Replies

ActionScript 3.0 :: Using NetStream AppendBytes With MP4 File

Apr 14, 2011

I am trying to play a mp4 video file with netstream.appendbytes method. But the video downloading. When I load a flv video file, the player play the flv video but when I am trying a mp4 video file, don't loading. flv works, but mp4 don't works.

My code is
import flash.net.URLRequest;
import flash.net.URLStream;
import flash.events.ProgressEvent;
import flash.events.Event;
import flash.utils.ByteArray;
[Code] .....

View 4 Replies

ActionScript 3.0 :: NetStream Have A Different File Path?

Jan 31, 2011

I have a swf that is in a different directory then the index. so I make sure that the xml has the proper relative path to the location of the index. which works fine for all the images that I load in.. simple enough right?but for some reason the NetStream seems to want to use the base url location as the location of the swf instead of the index.. to apply the relative url too..I have never seen this behavior before and was wondering if this is how its supposed to be..I already double checked my xml to make sure it was not doubling up the folder name..but basically the xml is like so..

<video src="foldername/videos/file.flv" />
but when i view it online. the browser is looking for the file here..
domain.com/content/foldername/foldername/videos/file.flv

[code].....

View 4 Replies

ActionScript 3.0 :: Netstream AppendBytes With Mp4 File?

Apr 15, 2011

i am trying to play a mp4 video file with netstream.appendbytes method. but the video down't loading. when i am load a flv video file, the player play the flv video but when i am trying a mp4 video file, don't loading. flv works, but mp4 don't works.my code is

Code:
import flash.net.URLRequest;
import flash.net.URLStream;

[code].....

View 3 Replies

Javascript :: Defer Loading Elements Until Flash Gallery Images From XML File Finish Loading?

Nov 15, 2010

How would you defer loading of other graphics on the page until after the images in a Flash gallery's images.xml file are finished loading?Is there any way to detect for this, or would I only be able to check if the flash swf object is finished loading? I'm pretty sure the swf object would be loaded/ready as with document.getElementById('flashobject').onload = function(){}; before the corresponding images have loaded though, instead of after.

View 1 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







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