Flv player buffering issue

Hi Everyone....!
              In my flv player,all the functionalities are well.But,one thing is,when player buffering the video,it will automatically taggled into paused state.After buffered full video completely,then only start playing.I was given buffering time=0.1.
My solution::::;
                        By using the setInterval,Every minutes monitoring the loadedBytes.If loaded bytes increased 300Kb(hardcode) compared to previous loaded bytes,I will play() the video manually.
videoMc.addEventListener(VideoEvent.PAUSED_STATE_ENTERED,pausedEntered);
function pausedEntered(Evt:VideoEvent):void {
var setInter=setInterval(checkBytestLoaded,1000)
function checkBytestLoaded():void {
var cl:Number=videoMc.bytesLoaded/1000
  if (cl>(CurrLoading+300)) {
  videoMc.play();
  preLoadMc.visible=false;
  CurrLoading=videoMc.bytesLoaded/1000;
/==================================
It was Ok for buffering issues.But,i cannot differentiate for both(Manually pressed the pause button and automatically paused due to buffering issue).If manually pressed the pause button ,video did'nt play due to above coding.
Now i m waiting for ur solution.Atleast any one!!!
whether the  buffering issues or how to find manually pause button pressed "pause state".?.
thanks in advance...............(sorry for poor English)

Is that the net stream class using actionscript to assign the source?  or import fl.video.*?  All i did was import the video into flash and used action script to stop playing the video when a button is clicked.  As far as video control that is.  Is there an entire method of assigning the source of the video that i am unaware?  If so can you point me in the direction and I'll learn it.  Thanks again you have been very helpful.

Similar Messages

  • Flv audio sync issues & player 9

    Greetings, I've been looking for a solution for weeks, and
    thought I'd give the forums a shot.
    I have a client site with 6 progressively downloaded flv
    clips that play when a button is clicked.
    The flv files are encoded with After Effects 6.5, and the swf
    files are published in Player 8.
    The video clips are made with an alpha channel of a guy
    talking and are about 30 sec to 1 minute long each.
    The problem is audio sync issues on certain computers during
    playback even when the files are completely buffered.
    The other problem is that these flv files won't play on
    computers that have player 9 loaded.
    I'm investigating whether there are audio sync issues when
    encoding flv files from AE 6.5, but still really
    confused about the player 9 issue. I was wondering if there
    are updates to 9 I can recommend to my client
    or if adobe knows of any bugs that are currently being looked
    into.
    Thanks,
    Kevin

    I may just be talking to myself here, but...
    Could there be any difference in the way an flv plays when
    you
    import the flv to the stage, as opposed to playing it
    dynamically
    using the NetStream class? Could this cause any audio sync
    issues? Does Flash Player 9 have any difficulties displaying
    flv files loaded dynamically?
    Any ideas from Adobe folks would be great. Thanks.

  • Flv player works locally but not when uploaded

    Another day, another issue...
    I have a flash movie that includes an flv player with previews and buttons. It reads the content from an xml file.
    It works without problem when I test it locally. Trouble is when I upload it, everything displays correctly but the flv movie file doesn't play. Here's the test link:
    http://www.swsoftware.com/ncjhs/assets/video/flvplayer.html
    XML file is http://www.swsoftware.com/NCJHS/Assets/Video/video.xml
    Flash file is http://www.swsoftware.com/ncjhs/assets/video/flvplayer.fla
    Anyone have any suggestions? I'm new to flash and this forum has been a tremendous help in resolving my (somewhat numerous) problems.
    Sam

    When I tried to view the posted url I got the following
    errors in the order I have listed them.
    CSInit is undefined Line 23
    Line 75 Object Expected
    Line 66 Object Expected
    My Platform.
    IE 7
    Windows XP Pro

  • A collection of FLV downloader, FLV player, and FLV converter for Mac

    [http://www.pavtube.com/christmas2009/]
    A collection of FLV downloader, FLV player, and FLV converter for Mac
    Are you prepared to download FLV videos from YouTube, Google Video, metacafe, Yahoo! Video, Reuters.com, and many other video websites to play on your Mac or portable players, or do some further editing with certain editors? In my experience, assuming you have this idea, you must take advantage of three kinds of tools, including FLV downloader, FLV player, and FLV converter to achieve the goal.
    Of course, I am not speaking this to depress you, but to share my collections of these tools to show my kindness. Sure, just for people who have these needs.
    At first, I’ll introduce you several FLV downloaders for Mac, I have tried all of them, and basically they can achieve my goal of downloading FLV videos online.
    Free FLV downloaders for Mac:
    Web Video Downloader for Firefox
    Free Video Downloader for Mac
    Free YouTube Downloader for Mac
    I also know some free FLV players, and recommend them to you here, hope they can assist you to play FLV videos on your Mac smoothly.
    Free FLV player, Mac OS X:
    Adobe Media Player
    Wimpy FLV Player
    QuickTime, after installation of the Perian video plugin
    SWF & FLV Player
    CorePlayer
    (Tip: the above pieces of software can easily be searched in Google, so I do not give you the links here. I’m sure you can get them with ease.)
    Well, we have gone through the FLV downloaders and FLV players in the above passages, now it’s time to introduce you a FLV converter for Mac. This program I recommend is Pavtube FLV Converter for Mac, which can perfectly convert FLV videos to a wide range of video formats, so that you can do whatever you like with the resulted videos, such as playing on your iPod, iPhone, BlackBerry, PSP, Apple TV, etc. or exporting to iMovie, Final Cut Pro and Final Cut Express to do further editing, or doing something else as you like. But how to use it? You may ask me. Take it easy, a step-by-step instruction is involved in the following part.
    1. Download, install and run this program
    A sky-blue interface will be shown to you as follow:
    2. Add files, set output format and destination folder
    Input FLV files to it by clicking button “Add”, and select a format as the output format in the drop-down list of “Format”, meanwhile, you can press “Browse” to specify the destination folder or just use the path set by default.
    3. Set advanced settings
    Click button[b] “Settings”, the following interface will pop up. You can change the parameters like screen size, bit rate, frame rate, sample rate, etc. to optimize the output videos.
    4. Convert
    This FLV Converter for mac can definitely complete the conversion at a swift speed with excellent quality, also it do not have the problem of audio-video out of sync. Therefore you need not worry about these issues. Moreover, if you want to add watermark as your own logo or reserve your copyright, you can totally do it with this program.
    Ok, the introduction to the three kinds of tools which you may need while dealing with FLV videos is over, sincerely hope they can deliver you useful information, because you know, it’s my original intention.

    Hi Greg,
    So if I understand correctly, your findings are:
    Flash Player 10.1.85.3 + Flash Media Interactive Server = Jerky Video
    Flash Player 10.0.x.x + Flash Media Interactive Server = Smooth Video
    Flash Player 10.1.85.3 + Wowza = Smooth Video
    And what about Flash Player 10.0.x.x + Wowza?
    Also, if you could check the network traffic to confirm if it's Flash Player causing the issue or it is receiving it like that from FMIS.
    Cheers
    --Vikas

  • Has anyone actually been able to build a FLV player with Flex 2?

    I have been playing around with a FLV player in Flex 2, but I
    keep on running into one big problem: I never get a picture. Sound
    is not a problem, and all code seems to do exactly what it should.
    Except for the video showing up... I have tried loads of examples,
    read all of the docs I could get my hands on, but it all ends the
    same: no picture.
    The best solution (imho) I found is listed below, but still
    it does not do what it is supposed to do. Still, I only get audio.
    If there's anyone who's got a player working with the Video
    object using Flex 2 (SDK), I would *love* to hear your solution.
    Michiel.
    The source:
    package Assets {
    import flash.display.Sprite;
    import flash.net.NetConnection;
    import flash.net.NetStream;
    import flash.media.Video;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextField;
    import flash.events.Event;
    import flash.events.TimerEvent;
    import flash.events.NetStatusEvent;
    import flash.utils.Timer;
    public class simpleFlv extends Sprite{
    private var _video:Video;
    private var _stream:NetStream;
    private var _playbackTime:TextField;
    private var _duration:uint;
    private var _timer:Timer;
    public function simpleFlv(){
    _duration = 0;
    _playbackTime = new TextField();
    _playbackTime.autoSize = TextFieldAutoSize.LEFT;
    _playbackTime.y = 20;
    _playbackTime.x = 20;
    _playbackTime.text = "Buffering …";
    _timer = new Timer(1000);
    _timer.addEventListener(TimerEvent.TIMER, onTimer);
    _timer.start();
    public function playMyFlv(flvUrl:String): void {
    _video = new Video();
    var connection:NetConnection = new NetConnection();
    connection.connect(null);
    _stream = new NetStream(connection);
    _stream.play(flvUrl);
    var Client:Object = new Object();
    Client.onMetaData = onMetaData;
    _stream.client = Client;
    _video.attachNetStream(_stream);
    _stream.addEventListener(NetStatusEvent.NET_STATUS,
    onNetStatus);
    addChild(_video);
    addChild(_playbackTime);
    private function onMetaData(data:Object): void {
    _duration = data.duration;
    private function onNetStatus(e:NetStatusEvent): void {
    _video.width = _video.videoWidth;
    _video.height = _video.videoHeight;
    private function onTimer(t:TimerEvent): void {
    if( _duration > 0 && _stream.time > 0 ){
    _playbackTime.text = Math.round(_stream.time) + " / " +
    Math.round(_duration);
    }

    Hi Chielosos,
    In your code, after
    import flash.utils.Timer;
    You may need to add
    NetConnection.defaultObjectEncoding =
    flash.net.ObjectEncoding.AMF0;
    SharedObject.defaultObjectEncoding =
    flash.net.ObjectEncoding.AMF0;
    Hope it works,
    Jeffrey

  • FLV player and flash 10

    Ok,
    i know this is a well known problem but i've really tried everything. I cant get the player to show even after i publish the project.
    i tried plushing for flash 10,9,8 nothing works , i tried changing the actionscript version for AS2, AS3 nothing works.
    is there a workaround here? can i import a FLV player ?
    Thank you

    Hi Greg,
    So if I understand correctly, your findings are:
    Flash Player 10.1.85.3 + Flash Media Interactive Server = Jerky Video
    Flash Player 10.0.x.x + Flash Media Interactive Server = Smooth Video
    Flash Player 10.1.85.3 + Wowza = Smooth Video
    And what about Flash Player 10.0.x.x + Wowza?
    Also, if you could check the network traffic to confirm if it's Flash Player causing the issue or it is receiving it like that from FMIS.
    Cheers
    --Vikas

  • FLV Player Component seemingly not working in Firefox

    I've set up an swf where I have an FLV Player component on stage, pointing to an external flv.
    Offline (on my drive) it works, but online (on my website) it loads the entire flv before displaying anything (..I get the animated barber shop sign scrub bar thing).  Is there any additional coding or setup I need to do for it to allow me to play it even while it is downloading, as it's supposed to?
    I don't get it... I can't seem to get progressive downloading working in ANY format.  I just spent a week trying to get my Quicktime .mov's to Fast Start, and it just isn't happening, despite everything I try.  I had it work ONCE now using QT Pro, but now they aren't working again.
    I gave up on QT, and am trying the FLV route using the FLV Player component... which looked promising, but is now giving me the same issue.
    Any solutions that work would be hugely appreciated.  I've been at this for over a week, and found no answers online so far.
    All I want:
    Clip thumbnails (embedded movies) on my HTML page that don't download until you click play... and when you click play, it starts playing as soon as it has a good enough head start in the load.
    I've tried Fast Start QT's....as well as external FLVs loaded via a swf with a FLV Player component inside.... and neither are working for me for some reason.

    [UPDATE]  Okay, now I got it working for now (...no idea what changed, or if it will continue to work).  Only issue currently is that it's loading the clip right away (on entry of the HTML page),as opposed to when I click Play... so I'll still have the bottlenecking of all the clips loading at once.  Is there some setting in the FLV Player component (or HTML) where I can have them only start downloading the clips when I click play?
    I only want the clips downloaded if the visitor chooses to view the clips.
    Would setting a preview in the FLV Player component do that (...load only the preview frame, and hold off until play is hit)?

  • Avoiding the delay in flv player while switching to other file

    I am working on a project where basically dealing with flv player and videos, am trying to play multiple flv videos of a 3d human character who is speaking out a number like 3550.
    Here we are using multiple video files and joining them like videos where character says 3 then 1000 then  5 then 50.
    The issue here is after every video there is a fraction of second where the character is disappearing from the stage which we can't afford because all the numbers have to be played at once to show it as one single digit.
    I know that this is not a script error but this is how the flv player plays, after one file there will be a delay to play the other.
    What can I do to achieve  my goal and also can how we can download all the required flv files from  server to client machine to avoid a streaming delay (All the videos are of 50 to 60 kb files).
    I am looking for your kind advise and will be great full to you.

    Hi,
    I can't merge these files because the numbers will be dynamic so only at runtime we know the combinations of numbers.

  • Apple TV (2nd gen) - Very Specific Buffering Issue

    I have been watching the threads regularly for a situation similar to mine but I can't see one so I am starting a new one.
    I have Four (4) Apple TVs in the house and a large library of movies, TV shows and personal movies loaded into iTunes on a Window 7 64 bit system with an Intel i7 processor, 12 GB of memory and 2TB of disk space.  Everything seemed to work OK until I got the third Apple TV but that was a year ago and several software upgrades in the past.
    My problem is that when all four (4) Apple TVs are plugged into power, even if the ones I am not using are asleep, I have horrible buffering delays when watching vidoes from iTunes on the Windows PC. I do not have any trouble streaming video from Netflix or the iTunes store directly. When the Apple TV stops to fill buffers it seems to lock up trying and never comes back (I have waited up to 30 minutes). However, if I exit out of the movie as soon as the buffering issue starts, and go back into the video where I left off - it starts playing again within 3 seconds and will carry on for another random period of time in the range of 2 minutes to 10 minutes.
    Before anyone starts responding with the basic stock suggestions, I am a retired IT guy who has put a lot of time and technical effort into trying to find the root cause of this problem. I am very familiar with networking, Windows 7, firewalls, etc.
    The work around is that when I want to watch videos from iTunes on my Windows PC I have to unplug the other three Apple TVs, restart my router and reboot my Windows PC. These three steps together work consistently but omitting any one step may or may not improve the situation. This means that I can't just decide to watch a video from iTunes without 10 minutes of advance prep work - and watching two different videos on two different Apple TVs at the same time only works about 30% of the time.
    Here is some more background information:
    I have two (2) iPhones, one (1) iPad, another Windows 7 64 bit PC, a MacBook Air, and stand alone Internet radio on my network. The problem persists even when all the other devices have been powered off.
    All devices, including the Apple TVs, are running the most current version of software and have ALL patches installed.
    I have upgraded my router (twice) and now have an ASUS RT-N56U dual band router with the Windows PCs both cable connected and the Apple TVs and all the other stuff running wireless.
    I have used netstumbler to detect other networks and have tried various different channels on the router. I am in a low density area and only see two other neighbours with wireless networks.
    I have a 20 MB Internet service connection via cable modem and have no problems watching videos on the Apple TVs from the Internet
    I have relocated the router away from any other elecrical equipment (Apple TVs all show a full strength signal)
    I have tried disabling my MacAfee Security Center virus and personal firewall software (the problem persists), then removing it entirely (the problem persists), then reinstalling only the virus protection component and enabling Windows Firewall (the problem persists).
    I have removed all software from the Windows computer that brand name commercial software - I use Microsoft Office 2010 and Google Chrome as my browser (the problem persists).
    Important - I have moved the complete iTunes library to a 2TB USB hard drive and run iTunes on my MacBook Air with the Windows PCs turned off (the problem persists).
    There is one issue that seems relevant, but might just be a bug in the router management interface. I have set up reserved DHCP addresses for the Apple TVs and the computers to make it easier to identify devices when I am troubleshooting. The DHCP log shows the correct IP addresses being assigned to the correct MAC addresses but the network map screen frequently displays two or more Apple TVs with duplicate MAC addresses. It only happens with the Apple TVs and has never happened with anything else. This is what gave me the idea to turn off all Apple TVs except the one I want to watch and reset the router to clear the other addresses - which seems to be the only consistent way to watch an iTunes video without buffering problems.
    Any ideas would be greatly appreciated. I have invested a lot of time and money in Apple technologies and setting up this home video strategy.  It's very frustrating that it doesn't work reliably.
    Thanks
    Bob T

    I too am having this issue were two of my Apple TVs are showing duplicate MAC Addresses. I have varrified this by looking at the arp -a cache on multiple machines. I believe this is a major bug in the Apple TV software. Can we please get a fix.

  • Apple TV buffering issues with iPhone 4s and iPad 2

    Hi all,
    I just got me an Apple TV 2nd gen (yeah, I know, ordered 2 days before the presentation of the new one). So far so good, the device is up and running, connects just fine to my Airport Express router and all.
    However, if I try to stream a video from my iPad (2) or my iPhone (4S), the results are quite horriffic. The iPad videos would buffer for a very long time before they start and then quite fast after that the buffering problems restart. It's pretty impossible to play a video fluently of more than 20 seconds. If I'd try from my iPhone it's even worse with videos being 1080p, the thing just never plays, eventually the preloading process stops on the mirroring mode is cut.
    I have to point out, all my devices are in the same room (WiFi) so the signal is the best it can be.
    This is honestly quite surprising AND disappointing to be honest, given I bought the device mostly for that, so I can stream videos from my phone and pad.
    Tell me, am I doing something wrong, or the video streaming over those devices is just a marketing gimmick with nothing real behind it?
    Would it matter if I change my router from Airport express to Airport extreme?
    Thanks!

    I have the same issue with ATV3 and iPhone 4S. Everything works properly, no buffering issues when watching netflix, vimeo, youtube BUT when I try mirroring even a small 15sec iPhone movie it stutters and buffers and results to a choppy playback..same with larger mp4 files such as 1-1.5GB, buffers forever and never plays, I just re-encoded the same movie to 700MB and plays perfectly..
    Why Apple, why?..so close..I can accept the bigger movie files issue, but not being able to playback properly an iPhone movie is funny..I recorded a movie with lower bitrate through Filmic Pro (Economy mode, up to 16Mbps)
    and plays properly.
    Is there an upcoming software update going to solve the problem or is it hardware related and therefore not fixable.
    Please don't reply with a network related answer, by 2012 we know how to set up our networks and everything else runs flawlessly.
    I'll apreciate a fast answer, we love Apple, but if it can't play an iphone movie (or a high quality movie from iTunes) it's just not up to my standards.
    Thanks again.
    JP

  • My own built fullscreen mode flv player is not working in Mac OS

    I built a flv player, it is just a normal video player with a
    fullscreen mode.
    The video player is work fine in Window IE, FF, and Safari.
    But not not working in Mac OS X, leopard & tiger &
    May I know what might cause this problem?
    I m usng action script 3, flash cs3 & all my browsers
    already upgrade to latest version of Flash Player.
    Help!!!

    I am running Mac OS X 10.10.1 Yosemite and iPhoto Version 9.6 (910.29). Automatic updates in the Mac App Store is turned on for my iMac and it shows no updates available. I was told directly by Apple Support on the date that I wrote this article (Nov 8, 2014) that there were no Canon drivers and photo transfer software that worked with Yosemite. I was told by Canon that the workaround was to change the communication method from Normal to PTP on the camera, which did provide a solution. At that time I was running Mac OS X 10.10 (because the 10.10.1 update was not yet available) and the most up-to-date version of iPhoto for Mac OS X 10.10 that was available at that time, at least per the Mac App Store. I was told by Canon that the workaround was to change the communication method from Normal to PTP on the camera, which did provide a solution.
    With the Mac OS X 10.10.1 update if the camera is in PTP communications mode the thumbnails now appear in the Import screen in iPhoto almost immediately. If the camera is returned to Normal communications mode; however, it takes forever for the thumbnails to appear. I have been waiting 10 minutes and iPhoto has generated only 14 thumbnails. So it appears that there is still something not working properly between the original Canon EOS Digital Rebel and Mac OS X Yosemite 10.10.1 when the communications mode on the camera is set to Normal.

  • Playing SWF files in FLV Player

    Hi,
                   I would like to know whether swf files can play in an FLV Player or not. If not possible, is there any option for developing an independent swf player. If so, please tell me the technique that can be used to develop swf player.
    Regards,
              Sreelash.

    Thank for your reply friend. I understood what u said. Actually the requirement for the client is to stream swf file as streaming flv file. So I think, in the server side we have to use converter. I meant, if the client put the swf files in the server, the server side program calls the converter before streaming to the client side.
    The functionality what I meant is following:
    1) The client request for an swf file.
    2) In the server side, it is placed as swf files.
    3) Then, programmatically the server side code invokes the converter and convert the swf file to flv file before          streaming.
    4) This is what I meant the use of converter.
    I hope you understood what I meant. Can I have your mail id please. Because in forum not everyone reply for the doubts. Also I am the only action script programmer in my company and I have only 5 months experience. My mail id is [email protected]
    Thanks and Regards,
                  Sreelash.S.

  • Release the memory with stop the flv player

    Hi
    I have a problem with using flash component  flv player. In my project, I have some buttons which every one load a movie. when click a button , at first the before movie was loading should be stoped then the new movie start. I stop the before one with this code:
    flvPlayback1.stop();       
          if(flvPlayback1.parent) {
          flvPlayback1.closeVideoPlayer(1);
       removeChild(flvPlayback1);
    but it seams these codes could not release the memory, because after loading the next movie the memory usage will increase about 0.1G,

    Hi
    I have a problem with using flash component  flv player. In my project, I have some buttons which every one load a movie. when click a button , at first the before movie was loading should be stoped then the new movie start. I stop the before one with this code:
    flvPlayback1.stop();       
          if(flvPlayback1.parent) {
          flvPlayback1.closeVideoPlayer(1);
       removeChild(flvPlayback1);
    but it seams these codes could not release the memory, because after loading the next movie the memory usage will increase about 0.1G,

  • Apple TV 3 Buffering Issues using Ethernet

    I have an ATV3 that is connected via Ethernet with Comcast Xfinity.  I have 30+ dl speeds but am constantly having problems with buffering  It seems to be only movies bought through Apple.  HBO, Showtime, ESPN, Netflx, etc. all seem to work with minimum buffering issues.  I reset it, restored it, brought it in to Apple and received a new one and nothing seems to help.  It is set on automatic for IP address, for DNS, and for video playback.  Any help would be appreciated.
    Thank, Tony

    Those other services use adaptive streaming, iTunes content is fixed rate and needs to load a portion before playback begins. Comcast have been known to throttle iTunes/ATV traffic. Try testing on another network (preferably a controlled one like Apple's)

  • Flv player doesn't work!!!

    Hi,
    I wanna play flv videos (downloaded from youtube) and it seems i'm not able to do so. I installed 'SWF and FLV player' from apple website and it doesn't work and then I installed perian component for quick time and again it doesn't work
    have you got any idea where the problem is?
    thanks

    flv is Flash...have you tried this one: http://www.wimpyplayer.com/products/wimpystandalone_flvplayer.html

Maybe you are looking for

  • Producing NTSC dvd's from PAL projects

    Hi I'm in Australia (PAL) but would like to produce dvd's that can be viewed in the USA. If I produce a NTSC version of my PAL filmed project in idvd, will it work in NTSC dvd players in the USA?

  • Configure a monitored target from one agent to another

    Hi, I am using OEMGC 10.2.0.5 and agent 10.2.0.5/4 My question is . On a particular server I have 3 agents A1,A2,A3 And each agent is monitoring 1 Target(DB and listener) T1,T2,T3. Now I want to configure agent A1 to monitor all targets,so that I can

  • Nested Report Problem

    Hello Gurus, I have created a Classic Nested Report following Dietmar's example from: Nested report howto? I followed the steps to create the nested report: Step 1 - created the package create or replace package UNFUND_PCK as    FUNCTION get_unfund_i

  • Updating my operating system

    I have a Macbook Pro 1.1 2GH with 1 processor Intel Core Duo and I want to upgrade my Operating system  to Tiger and eventually beyond but it does not seem possible because of the the nature on the processor. Is there anything else I can do to upgrad

  • ITunes deleted my apps from my Mac after syncing my iPad

    I have had my iPad for almost a year with no problems syncing (apps,music,etc purchased on my iPad).  I recently tried to sync my ipad and all of a sudden iTunes started deleting all of the apps I had purchased on my ipad.  The apps (Angry Birds,etc)