ActionScript 3.0 :: Flvplayback, Rewinding With .seek(0) Getting An Audio Pop - How To Clear Buffer

Sep 28, 2011

I have an flvplayback component on the stage of a parent flash project. One can preview a video that has some text overlaying it that the user entered in a previous scene.  Dynamic cuepoints sync the video with the overlaying text.If the viewer doesn't like the preview they can go back to the previous scene, edit the text, and rewatch/preview the video with the overlaying text to make sure they like it.
 
I'm running into an issue when they stop watching the video preview, they go back to the previous scene and they return to the video preview scene. I stop the video with a .stop() and I rewind it with a .seek(0) but when they return to the video player and rewatch the video there's a brief audio pop. I'm assuming the pop is a bit of video/audio left in the buffer of the flvplayback component.
 
My question is - is there a way or what is the best way to clear the buffer of the flvplayback component when I rewind the video so it can be replayed?Is there a better way to rewind an flvplayback to the beginning other than .stop() & seek(0) so I don't get a audio pop when it's replayed?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Video FLV Seek Beyond Loaded Buffer Like YouTube

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

ActionScript 3.0 :: FLVPlayback: Seek Is Not Accurate Enough

Jul 18, 2011

My FLV is paused and I do a seek to FLVPlayback.playheadTime-1. This i.e. equals to 22-1=21. It works, but than VideoEvent.PAUSED_STATE_ENTERED is called and my trace shows playheadTime = 22 and nothing changed. If I seek to playheadTime+1. This i.e. equals to 22+1=23 my onPaused trace shows playheadTime = 24 and my FLV advanced 2 sec. not 1. So there is always 1 sec. added to playheadTime and its cut to absolut .000 numbers.
 
It seems like FLVPlayback alligns my seek into blocks of 2 seconds. But I need to position more accurately and jump in half seconds even.
 
[Code].....

View 6 Replies

Flvplayback Seek Bar Sticking In Browser When Using Loader?

Jun 30, 2009

I have a fla (Home) with a flvplayback component. If I load it using a loader using this script

var loader:Loader = new Loader();var req:URLRequest = new URLRequest("Home.swf");loader.load(req);addChild(loader);stop();

when I preview it in Firefox or IE and click on the seek bar or volume bar the control slider 'sticks' to the mouse cursor instead of jumping to the spot where I clicked. If I just compile it and play it in Flashplayer the seek bars work as expected. If I preview Home.fla directly they also work properly.Could this be a loader-flvplayback bug?

View 3 Replies

ActionScript 2.0 :: FLVPlayback Ideal Value For Buffer Time?

Jan 11, 2008

I wanted to know if there is any ideal value for the buffer time for a video streaming. What factors determine the video player's buffertime so that the video plays smoothly at the client end. I'm using a buffer time of 6 sec. My video is expected to be between 1 - 7 min. and The player is be hosted on a public website, which means the audience could be with varying internet bandwith. How do i know if 6 sec is perfect for my audiences or not. Is there bright idea?

View 1 Replies

ActionScript 1/2 :: Hide Buffer And Controls Of The FLVPlayback Component?

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

ActionScript 3.0 :: Displaying Buffer Message/ Mc With FLVPlayback Component

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

ActionScript 3.0 :: VideoError:1003: Invalid Seek At Fl.video::FLVPlayback/seekToNavCuePoint()

Sep 4, 2009

I am using an flv file with navigation cue points.  When I try clicking on a button I created to go to "EndOfMovie" I get the following error: VideoError: 1003: Invalid seek at fl.video::FLVPlayback/seekToNavCuePoint()at vectorVideo_fla::MainTimeline/skipToEnd()

[Code]...

View 1 Replies

Professional :: FLVPlayback Buffer: Video Loads Invisibly Until Fully Loaded?

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

ActionScript 1/2 :: FLVPlayback: Disabling VolumeBar, Seek, Play/pause, Mute, Fullscreen Buttons?

Feb 15, 2012

Is there a way to disable/enable the buttons in FLVPlayback component? I got a flv files loaded into a fla file and the swf file then loaded onto the main fla file which where I want to disable/enable the FLVPlayback button at certain time.

View 7 Replies

ActionScript 2.0 :: Clear Flvplayback And Play Movie Again

Dec 18, 2009

I have this code as a preloader for flvplayback and it work ok

[Code]....

I have the flvplayback (flvplayer) inside a movieclip (mcfilm) all this I have in a function so I can easy call it when I need the movie to run. The problem is that it run the first time but if I stop it with a button and want to play it again, nothing happend, it just say loading (the mcladdar show)

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

FLVPlayback Plays Audio But No Video?

Jul 30, 2009

this one is really doing my head in and any advice (even vague thoughts) would be really great.I have an FLVPlayback component on the stage and I am loading 8 FLVs in to 8 separate video players within it. I then play the first one and when it ends I randomly select which to play next.Everything seems to work fine except that each time I run it one or two of the clips play back with only audio only and no video. It is not the same clip each time but whichever one it is will consistently fail to playback untill I re publish when it chooses a differrent clip to fail on.I am publishing for FP8 from CS4 on a Mac and it fails when I test movie as well as in FF and Safari.
 
If anyone has any ideas on this at all please shout them out or I am heading for the forrest never to return

View 3 Replies

ActionScript 1/2 :: FLVPlayback Audio But No Video When Streaming?

Aug 7, 2009

I have a flash program that loads an external flv dynamically. I first create an empty movie clip then I attach an instance of the FLVPlayback component using Moviclip.attachMovie();. Then i control the FLVPlayback component with AS2. I have a play and pause button, a scrubber, and a loading progress bar.  None of these are components. When I publish and preview the file in Flash CS4, Adobe Flash Player 10, and all my internet browsers everything works fine, all the buttons, the multiple functions of the scrubber, and even the loading progress bar.

However when I uploaded all the files from my computer to my company's server and tested it from there, I recieved audio but no video. All of the various controls still worked for the audio but I couldn't see anything on the stage. If I waited for the loading progress bar to complete and then reloaded the external flv then I got video, but the purpose of this program is to stream the video and I cannot have the users waiting for a preloader.

If you want to look at my FLVPlayback code here it is:

_root.createEmptyMovieClip("lesson_mc",-16381);
lesson_mc.attachMovie("FLVPlayback","lesson_video",0);
lesson_mc.lesson_video.contentPath = page.attributes.url;
lesson_mc.lesson_video.autoSize = true;

[code]....

View 4 Replies

ActionScript 2.0 :: FLVPlayback Does Not Display Visual, Just Audio?

Oct 31, 2006

I'm working on a Flash Projector CDROM with around 10 FLVs. These FLVs are loaded dynamically into the SWF projector using actionscript from the CD. There are 10 buttons to load each movie into the same FLVPlayback instance.

However, when I click the button to view/load the FLV, sometimes the video does not display but the audio can be heard playing. Furthermore this is happenning erratically and on randomly. It seems to get worse as the CD has been playing for a longer period.

This sounds like an issue of Flash clogging the computer's memory. Is there a way to get around this without using a 3rd-party software like Jugglor? [URL]

View 2 Replies

ActionScript 2.0 :: FLVPlayback Does Not Display Visual Just Audio?

Dec 12, 2003

I'm working on a Flash Projector CDROM with around 10 FLVs. These FLVs are loaded dynamically into the SWF projector using actionscript from the CD. There are 10 buttons to load each movie into the same FLVPlayback instance.However, when I click the button to view/load the FLV, sometimes the video does not display but the audio can be heard playing. Furthermore this is happenning erratically and on randomly. It seems to get worse as the CD has been playing for a longer period.This sounds like an issue of Flash clogging the computer's memory. Is there a way to get around this without using a 3rd-party software like Jugglor?

View 1 Replies

Rewinding A Movie That Contains Cue Points And Swfs?

May 19, 2009

I'm building a presentation that utilizes cue points to bring in external swfs.I don't have the first clue as to how to rewind through the original presenation so that it includes the external swfs in the rewinding process.Here's the code for the presentation:

display.autoPlay = true;
display.activePlayControl = true;
display.controllerPolicy = "on";

[code].....

View 1 Replies

ActionScript 2.0 :: Rewinding Imported Videos?

Aug 5, 2004

Rewinding imported videos: I can remember a book that showed me how to do it, but i can't remember how.

View 2 Replies

ActionScript 3.0 :: Graphics Clear() Doesn't Clear Bitmap Data From BeginBitmapFill()?

Jul 30, 2011

I'm working on a game whose background has many layers that each scroll at different speeds.

Inside each layer I have a Sprite, I've started using graphics.beginBitmapFill, but what I've found is that the graphics.clear() function doesn't actually clear the contents set by the previous call to graphics.begin.BitmapFill. Each frame, I adjust the matrix to shift the layer as needed.  Then, I call graphics.clear() and graphics.beginBitmapFill() with the adjusted matrix. Since my layers have alphas in the bitmap, I can see the contents that was drawn the previous frame.

View 3 Replies

ActionScript 2.0 :: CS3 Playing And Rewinding Buttons That Respond To Each Other

Feb 17, 2010

Basically I have a series of animated movie clips that need to play when they are triggered by a button (button 1)....

(This bit I can do...But the next bit is tricky:

Then, the animated movie needs to rewind, when the button (button 1) is clicked on again, or triggered by clicking another button (button 2). - I have also figured out the rewind part using a movie controller [code]...

View 7 Replies

ActionScript 2.0 :: Tween Class - Rewinding Tweens

Nov 30, 2009

i've followed several tween classes tutorials across the internet. here's what I'm currently trying to do: there will be three buttons (let's name it A,B,C). when the user click A, it will move to X,Y coordinate on the stage (i've succeeded and have done it). then, when the user click B, B will now move to the same coordinate (succeeded too).

what i failed to do is when the user click B, i want A to return to its original position. do i have to use rewind or yoyo method to do this? how? can someone show me? this is my actionscript on frame 1: *info: top_mc is button A instance, mid is button B and btm is button C*

[Code].....

View 2 Replies

ActionScript 2.0 :: Rewinding MP3 For Few Seconds On One Button Click

Apr 17, 2007

I just completed the "Playing Sounds using ActionScript" tutorial. I figured out a button to rewind the sound to the beginning. Is there a way to also rewind the sound, say two or three seconds each time the user clicks the rewind button? I've been using Flash since v4, but haven't ventured too far into ActionScript beyond the Movie Controls.

View 3 Replies

ActionScript 2.0 :: Playing/rewinding In Movie Clip

Jun 19, 2008

I rendered a 3d cube spinning in different directions using cinema 4d. I imported the entire sequence into flash as a movie clip. My goal is to set up buttons that will take you to certain points of the cube sequence. i.e. frame 1 scene is top of cube-the user presses a button and the cube animates to a different side-information pops up.Basically i have 3 buttons, they all animate the cube to different sides of it. I would like to animate back to the first side of the cube if the "home" button is pressed.

im attempting to use if else and currentFrame, but im having some trouble. I also tried using prevFrame(); instances when a button is pressed but didn't know how to stop it when the cube got to a specific side. Below is an example of my code.

[code]...

View 3 Replies

Flash :: Actionscript - Remove The Audio - Put The Audio Into A Byte Array And Then Re-add The Audio To The Flv Video?

Aug 6, 2010

If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?

View 1 Replies

ActionScript 3.0 :: Line.clear - Doesn't Clear The Line When Mc1 Moved?

Jan 1, 2012

[Code]...

doesnt clear the line when mc1 moved ? How solve tihs problem?

View 1 Replies

Professional :: Video On Site - Showing Error - Warning : The Linkage Identifier 'FLVPlayback' Was Already Assigned To The Symbol 'Video/FLVPlayback',?

Apr 27, 2010

I have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
 
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.

I really don't know what that refers too.

View 1 Replies

Media Server :: Fms 3.5.2 - Video / Audio Streaming Application - Audio Stops Or Lags Behind

Aug 25, 2009

I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)

Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.

I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.

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

CS4 Media Encoder Audio - Audio Sound Stops After A Few Seconds From The Beginning?

Aug 4, 2009

I am converting from .FLV's to .F4V. Video outputs fine but the audio sound stops after a few seconds from the beginning.I have tried many different settings for the audio with no luck. Also, tried on a colleague's machine who is running CS3, which works fine, so something is buggy in CS4...

View 1 Replies

ActionScript 3.0 :: Audio Synchronization - If The Audio Were On The Timeline You Could Set Sync Params To Stream?

Mar 11, 2010

Because the player optimizes framerate, antialiasing etc dependent on the performance capabilities of the platform upon which it is running, it was nearly impossible to ensure animation syncronization w/ audio. If the audio were on the timeline you could set sync params to stream, but if the audio is loaded programically forget it .. well until AS3 ..The following code throttles the player framerate to lock step the animation to the audio .. not perfect but the principal works ..

View 1 Replies







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