2 Replies Latest reply on Oct 3, 2011 6:06 AM by reindeer4

    FLV_Playback keeps stalling

    reindeer4 Level 1

      I'm using flash cs4 Pro.  I added an FLV_Playback component - (I then downloaded the newer FLV_Playback 2.5 component and got that installed properly) - and I attached a 3 1/2 minute music video that I have on my server.

      The video starts ok but then stalls after about 30-60 seconds; after a while it starts back up but then stalls again after a while.


      Do I need to do some specific buffering that isn't automatically handled by the flash IDE's FLV_Playback 2.5 component?

      And if so, can someone explain how to do that in AS3?

        • 1. Re: FLV_Playback keeps stalling
          adninjastrator Level 4

          The reason your video is stop/starting is because the video bitrate of the video file is higher than your Internet connection download speed...... period.... no different version of FLVPlayback component or even setting the buffer time higher will increase the speed with which you download the video file... nothing in AS3 will correct it...

          The solution... go over to a friend's house that has a REALLY high speed Internet connection and watch the video..  no stop/starting...

          But, since you may also want others to watch the video without the stop/starting... you'll have to grapple with "video bitrate".

          The "video bitrate" of a video file is the MINIMUM amount of data that must continually flow, uninterupted into the video player, for the video player to display an uninterupted video. The stop/start action is not a fault of either the video file itself or the video player .swf... they are both working just fine... the problem is that the player is not receiving input data as fast as needed.

          So a little review about "video bitrate"... which you set in your video editing or video encoding program:

          Video bit rate


          One of the principle of goal setting is to "Begin with the end in mind". In this case it'll be very hard to give good recommendations because the end is not defined. So I'll just make a few assumptions and you can correct me as needed.
          First, I'll assume that since you are converting to Flash, you want to deliver this video over the Internet. If that's true, then we'll have to make some assumptions on the Internet connection download speeds of your potential viewers. Let's just say that most have at least a 1.5Mb connection or faster.
          OK, that would mean that a video bitrate of half that should usually provide a video download that is not interupped by buffering (most of the time anyway). So assuming a video bitrate of 750kbps, what would the optimum display dimensions be?
          Before we decide, here's a little info about bitrate. For highest quality playback, the video bitrate is tied directly to the display dimensions. That is, the larger the display, the more incoming data is required to properly display the video. Think of bitrate in terms of a can of paint. If you have 1 quart of paint, you might be able to do a very nice job on a 32 X 24 foot area. But if you try to stretch that same amount of paint out over a 64 X 48 foot area, the coverage will not be nearly as good and you get poor results.
          In the same way, a video displayed at 640 X 480 pixels will require 4 times the bitrate as a video displayed at 320 X 240 pixels to produce the same quality. So for example a video with a bitrate of 100kbps, displayed at 160 X 120 will produce the same quality results as a video with a bitrate of 1600kbps if displayed at 640 X 480.
          So to boil it all down, video bitrates of 750kbps, even up to 1000kbps can usually get delivered of the Internet on most high speed connections. Higher bit rates may work for really fast connections but will cause problems for viewers with slower connections. Video display size has a direct bearing on the final quality. In the 750 to 1000kbps range, display size should be kept around 450 or 500 width max (and whatever height the aspect ratio calls for). Yes it can be displayed larger, but the quality will suffer.
          Sound like your audio settings are fine, especially for Internet delivery.
          As for framerate, maintain the original raw video framerate for best results. So if the video was shot at 24fps, leave it.
          As for video converters, do you have the Flash 8 Video Converter? It works just fine for video to be delivered over the Internet. Remember, you are taking a Cadillac version of video (h.264 HD) and stuffing it into a Chevy body to get it to work over the Internet.

          Best wishes,


          • 2. Re: FLV_Playback keeps stalling
            reindeer4 Level 1

            Thanks so much for that thorough explanation.  I'd read about this a few times in the past, but now I understand its practical application, and I've bookmarked your post for future reference.


            Re-encoded the video in Adobe Media Encoder to a bitrate of 750 kbps and things work fine now.


            Thanks again.