[FlashCodersNY] Any Questions for Adobe?
Craig Swann
info at crashmedia.com
Tue Oct 14 16:33:15 PDT 2008
you'd need the total frames. if you know the bytes current and
total- and compare that against current frame and total frames you
can continually readjust the buffer relatively.
On Oct 14, 2008, at 2:54 PM, Rich Shupe wrote:
> Can I get opinions on a solution, or a better solution, for a video
> issue? I
> may be really over thinking this, so let me know.
>
> I want a reliable way of mapping percent loaded of a progressive
> download
> video to time. (Streaming not available.)
>
> Here's the given: I know I can check bytesLoaded, but let's assume the
> following video: 50% talking head, followed by 50% music video. In
> that
> scenario, assuming VBR, 50% bytes loaded will not equate to 50%
> time loaded,
> because the video is back-heavy when it comes to file size. If I
> check to
> see if 50% bytes is loaded and try to jump to 50% time, I won't be
> able to.
>
> So, what's the best way to know if a TIME is preloaded? Is 1:00
> preloaded?
>
> My current thought is this: If you use the FLVPlayback component,
> and the
> preloader bar shows 50%, you can click at that point and view the
> video at
> 50% time. So, can I just check the width of the progress bar to get
> time
> loaded? If so, is the bytesLoaded/time relationship already done by
> the
> VideoPlayer class?
>
> Rich
> http://www.LearningActionScript3.com
>
>
>
> _______________________________________________
> FlashCodersNY mailing list
> FlashCodersNY at flashcodersny.org
> http://mail.flashcodersny.org/mailman/listinfo/
> flashcodersny_flashcodersny.org
More information about the FlashCodersNY
mailing list