ActionScript 3.0 :: Audio Player Buffering - Stutter Start

Oct 24, 2010

I have a music player playing a live radio stream. Everytime the player loads the radio stream, it has a stutter start and then it buffers for a few seconds (how long depends on your internet connection speed) and then it continues playing. I want a buffering icon to appear during this brief buffering period. Watching the sound.position, I see that its increasing pauses at approximately the 0.4 second mark when the stream buffers.

When buffering finished it continues counting up to infinity as the stream plays. I thought maybe it would be possible to write an IF statement saying if the current sound.position is equal to what it was a second or split-second ago (i.e., it's not increasing, the stream is stopped for buffering), display the buffering icon. But I don't know how to write this IF statement.

View 5 Replies


Similar Posts:


ActionScript 2.0 :: MP3 Streaming Player - Audio Buffering Visual?

Nov 28, 2009

I have written a little MP3 streaming player. Nothing big. But on some file, it takes longer to fill enough of the buffer before starting to play. My construct is fairly simple...

var player:Sound = new Sound();
player.onLoad = function(success:Boolean):Void {
if (success) {
// do something;
}}
player.loadSound(musicURL,true);

Since I have specified streaming, this will auto play as soon as the buffer is full. What I'd like to do is play a little animation or something while the buffer is filling so the user won't think the player has hung.

View 9 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 :: 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

Automatically Start Buffering, But Don't Play Until Button Is Manually Clicked?

May 25, 2009

I'm trying to accomplish two things:
 
1)  Have an swf file automatically start buffering as soon as the webpage loads, without it also auto-playing the video.

2)  Implimenting a 'youtube' style play button which will manually start the playback (regardless of how much of the video has been buffered).
 
P.S.  I'm using CS4 if that matters.  I have a pretty solid html/photoshop/video background, but flash is almost entirely new to me.

P.P.S.  I'd like this to be compatible with older versions of the flash player as well, if at all possible.

View 3 Replies

Media Server :: Start Buffering And Fetch Meta Without .play()?

Nov 22, 2010

I want to get the meta from an FMS server and start buffering (really I just want the first frame).  Is there any way to do this other than calling play() and waiting for meta to call pause?

View 2 Replies

Flex :: Start Buffering A Video Display From An Intermediate Point?

Jan 31, 2011

I am trying to use Flex Video Display as a preview player. The player is streaming the video from the server.While The buffering is not complete, if we try to drag the play head to an area beyond buffered region, the player will drag the playhead back to the current playing position. I need to implement the player like you tube video player which allows to drag to anywhere in the track even when data is not fully buffered.Is there a way for doing this.

View 1 Replies

Flash :: Start And Stop Audio From The Middle Of Audio Track?

Apr 25, 2011

I have a single audio file, I'd like to avoid cutting it up.

I know I can use the sound class, mySound.play(150), to start at 150ms but haven't come across a way to stop the audio say after 500ms or at 650ms.

View 2 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 :: 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 :: 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

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

Asp.net :: Skinnable Audio Player (or Something Similar To Windows Vista Audio Control In Task Bar) For The Web?

Mar 11, 2010

Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?

A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.

View 1 Replies

ActionScript 1/2 :: Audio To Not Play When Moved To New Position For Audio Player

Aug 25, 2009

I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
 
[Code]...

View 5 Replies

Flash :: Audio Player That Can Play Binary Audio Streams?

Apr 13, 2011

My server is streaming binary audio data (mostly mp3 files) to a client (a browser). This client stores the audio data in memory.

What I'm looking for is a flash audio player that I can input the binary audio data so that it can play the audio file.

Preferably, the flash client is merely a bridge to Javascript so that I can handle everything in Javascript and simply use Flash's audio features, but this is not a requirement.

View 1 Replies

Html :: Flash Audio Player For M4a (AAC) Audio File Embedded?

May 15, 2007

I'm looking for a (free) flash player that I can embed in my site and use to play a .m4a (.mp4 with AAC audio) file that will be obtained using a URL (i.e. it's not local to the server hosting the web page).I've tried searching on google for one, but either I'm searching wrong or no one has made such a thing. Ideally this would be very simple (small user interface with play button and maybe a progress bar) and it would be easy to have multiple instances of on an html page (can create the player with an <object> tag).

View 7 Replies

IDE :: Progress Bar For An Audio Player Streaming Audio From Wowza Server?

Feb 24, 2011

I am new in action script 3.0. i am trying to build an audio player which will stream audio(mp3 etc.) from wowza media server. the player needs to have a play button, stop/pause button, a play progressbar and a volume scroll bar. i am using NetStream object to paly the audio

View 1 Replies

Professional :: Cannot Seem To Get The Audio To Start Playing Upon Entry

Sep 9, 2011

I have a sound control file that works great, however, I cannot seem to get the audio to start playing upon entry. I have tried the using the code:: samplesound.play();and it plays but when you click the play button, the audio repeats and the sound file that started upon entry do not respond to the controls.URL...

View 3 Replies

Professional :: Timing To Start Audio / Video In Flash

Mar 11, 2011

I have a Flash animation that starts with an audio clip imported. When that's done it goes to a video. After that another audio clip plays, but I can't get it to start when it's supposed to. It keeps coming in too early even though its keyframe is after the movie ends. In fact I had to move the audio's keyframe about 1500 frames past where it should be to get it to come in at the right time. My Flash movie is 24 FPS. The .mov file being referenced in the FLVPlayback is 23.98 FPS. What's going on here?

View 7 Replies

ActionScript 3.0 :: Getting External Audio And Video Files To Start At The Same Time?

Jan 16, 2010

I've got a swf which uses AS 3 to load separate audio (mp3) and video (flv) files. The reason they're separate is because the audio is just background music while the video is navigatable. The video kinda goes along with the audio, but it's not imperative that the two sync perfectly. However, the audio always starts playing before enough of the video has loaded to begin streaming.I'm at a loss as to how to get the two to at least START at the same time.

View 14 Replies

ActionScript 2.0 :: Avoid Stutter When Scroll Map?

Jul 30, 2009

iam using following code to scroll map. when scrolling horizontal or vertical, it scrolls perfect without any jerk(stutter) but when scroll diagnol this stutter happens.

Code:
function scrollMap(){
var p = {x:0, y:0};
var minX=(stageW/2)-32;
var maxX=(stageW/2)+32;

[code]...

View 0 Replies

ActionScript 3.0 :: Stutter With Animating Loaders From XML

Jun 29, 2011

I am essentially loading images from an XML file and animating them to continuously scroll across the stage. I have finally got the code working decently well, the biggest problem is a slight stutter in my Tweens. I am using the Tweener class and I am animating loaders as follows...

Code:
xml = XML(event.target.data);
xmlList = xml.children();
imageCount = xmlList.length();
for(var j:int = 1; j < 11; j++){
imageLoader = new Loader();
imageLoader.name = ""+(j);
[Code] .....

Do you think that the Tweener class is causing the occasional stutter/shake from the images or the fact that I am animating the loaders themselves. I am aware there is bitmap smoothing but I cannot do that with loaders.

View 0 Replies

Professional :: Animation Stutter Effect On MouseOver

Aug 17, 2010

I'm trying to create some simple buttons for a splash page. I've followed a tutorial at [URL] in order to achieve the desired effect, but there seems to be a problem: the rollOver action seems to work, but if one keeps their mouse cursor towards the left edge of the button, the animation stutters indefinitely. Here's my button: [URL]

View 3 Replies

IDE :: CS5 - Remove Jitter / Stutter In Video Loop?

Nov 29, 2010

I'm doing a project that uses a looping video clip sized 1280x720 - but I just can't get flash to play this without a stop and a jitter when it loops. I've tried various implementations of looping code, currently I'm using a very simple variant: on the FLVPlayback component, I have

Code:
on (complete) {
this.play();
}

and that's it. There's nothing else in the scene, at all.

I've even tried using video at the size, yet that too stutters on loop. Is there any way to eliminate this, as it spoils the illusion of a continuous loop entirely. I'm using CS5 right now (recently upgraded from CS3).

edit: I'm using a PC that EASILY should be able to run HD video, if I check the Task Manager, it's using around 3-4% of the CPU, yet I still get poor performance and stutter on loop!

View 4 Replies

ActionScript 3.0 :: MP3 Player Button - Start Over The Top

Jun 24, 2009

I've made a very basic mp3 player with simple play and stop buttons and it works just fine. However I have noticed that when you click play again while the song is playing it plays the song again from the start over the top. Same if you click it 3 times 4 etcetc. I have no idea how to disable the button while the song is playing/until the user clicks stop. This is the code I have on the play button:

on (release) {
weddingSound = new Sound(this);
weddingSound.attachSound("wedding");
weddingSound.start(0, 99);
}

This is the final part of a website I built and the owner is holding out on payment until this is done

View 1 Replies

ActionScript 2.0 :: MP3 Player Auto - Start ?

Mar 2, 2011

I am using a flash mp3 player on my website and trying to code it to not autostart when loaded. Here is the code:

stop();
playlist = new XML();
playlist.ignoreWhite = true;[code]....

View 1 Replies

Can Start Player From Position 'pause'

Feb 22, 2008

- how can I start the player from the position "pause" (so without playing a song when I open the flash) (and so with the button in position "play")

- I would like to add the button "previous track".. what code I need to create into the "mp3player.as"? (I think the button is the same of next but with "negative image" and with different names..)

- for a button like "stop" what I have to do? (a button with a simple action like: stop(); or stopAllSounds(); ?) (I've tried but without success...)

View 3 Replies

Media Server :: Dynamic Streaming Video Stutter?

Mar 23, 2010

When using Flash Media Live Encoder 3 to dynamically stream live video, the subscribing to it is "jumpy", for lack of a better term. I have no issues with swapping between bitrate streams on pre-recorded video, but when I use live feeds one of the streams seems corrupted. I've tried various bitrate settings and different people experience the video differently, but about half the time, one of the streams is all tiling and stuttering.
 
Example: If publishing 3 streams (200kb/s, 600kb/s, and 1200kb/s) and the bandwidth drops, causing a downshift from 1200 to 600, after the transition the 600 is in this weird stuttering 1 second loop and persists to do this until the dynamic stream requests a switch to one of the other streams.I've tried reinstalling FMIS, FMLE and no matter what I do, there seems to be a 50/50 chance that a viewer will experience this. What's so weird to me, is I'll watch it in 2 separate player instances on the same machine and one of them gets the stuttering on the 600 stream and the other one doesn't.

View 3 Replies

Professional :: Mask Causing Animation To Reset / Stutter

Jun 2, 2011

For some reason when the mask fully reveals the art, the waves stutter (frame 26) and restart their animation from frame 1. I've included a link to download the CS4 flash file. [URL]

View 1 Replies

ActionScript 3.0 :: Get Audio Into A Player?

Jul 31, 2009

Is there a script available that would allow me to pull audio from a server while still maintaing control of it with my buttons?

View 1 Replies







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