Search code examples
flashactionscript-3memoryvideoflv

FLVs on timeline are glitching out


I have a Movieclip with about five FLV movies embedded on its timeline, one after another.

I am loading multiple instances (about 5-10) of this movieclip onto the stage. Once added to the stage, they each play there timelines in a loop.

The problem is that when one of the instances switch over to playing a new FLV, then some of the other instances "glitch out"! See this image for what the glitch looks like:

alt text
(source: adamharte.com)

This glitch also happens when they first start playing (first load).

More details of Flash:

  • 24fps
  • FlashPlayer 10
  • Actionscript 3

More details of the FLVs:

  • Encoded with On2 VP6
  • 24fps
  • transparent background (alpha channel)
  • dimensions 640x480
  • filesize are about 150KB each
  • FLVs are imported using option: "Embed video in SWF and play in timeline"

Has anyone seen this before? Does anyone have a reason for why this might be happening? And any possibly ways to stop it from happening.

EDIT* It seems to only "glitch" when an FLV is started from a random frame (a frame that is not the first frame). I don't think it always does it, but it does it quite often.


Solution

  • Could be that since the FLVs are very large, that there is not enough memory on the system to cope with all that data. Or the videos are not playing from an I-Frame when started.