Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
FLV file stops loading when you pause

FLV file stops loading when you pause

2005-11-02       - By Joe Laffey

 Back
Reply:     1     2     3     4     5  

On Wed, 2 Nov 2005, Joe Laffey wrote:
>>>
>>> Does this happen when you load the FLV manually using NetStream ?
>>>
>>> I am still using Flash Pro MX2004. But I have had very good luck making a
>>> playback mechanism using NetStream. I mainly did this because other
>>> players, like the MediaPlayer in Flash, or Quicktime itself, tend to start
>>> playback WAY too soon when "streaming" (progressive download where it
>>> starts to play before being downloaded all the way). This leads to hiccups
>>> in the playback because the buffer gets emptied. So I built my own player
>>> with a bigger buffer. I measure the bandwidth using a SetTimeout, average
>>> it over the last few seconds, and then calculate the remaining time based
>>> on the bytesLoaded and bytesTotal.
>>>
>>> Hope this is of some help...
>
>
>
>> Actually I am not sure if what I said is right. The clip may still be
>> loading even when I hit pause.
>>
>> Are you able to share any code on how you did things?
>>
>
>
> Here are some code snippets.
>
[snip]

I forgot... If you want to see this working I use it for our visual
effects demo reel here:

http://laffey.tv/demo.html

I have a playback progress bar in there too and a text field that shows
the calculated download speed, etc. You will see what I mean about the
calculated speed being real low to begin with. I am trying to keep that
timeout function as compact as possible, though, to avoid any stuttering.

--
Joe Laffey                |        Visual Effects for Film and Video
LAFFEY Computer Imaging   |        -- ---- ---- ---- ---- ---- -----
St. Louis, MO             |        Show Reel at http://LAFFEY.tv/?s
USA                       |        -- ---- ---- ---- ---- ---- -----
                          |         -*- Digital Fusion Plugins -*-
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Mail here will be rejected --> "Real Trap" <r_trap@(protected)>

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
send message to the list:               mailto:flashpro@(protected)
[FlashPro] list info, subscribe, archive:   http://flash-list.com/
There's also a WebPro mailing list:     http://webdesign-list.com/
cutting-edge sounds for flash:            http://flash-sounds.com/

Earn $52 per hosting referral at Lunarpages.