Abdul Qabiz wrote:
> Hi,
> 
> 1. Is it possible to force the flash player to just load both videos
>> into main memory (or PageFile) at start up?
> 
> 
> You can set the buffer-time to a large number, 

Thanks Abdul,

I entirely overlooked this property!

Interestingly when setting this property to a very large value, initial 
load only gets slow for the film encoded with the older sorenson codec. 
Initial load is >90 seconds for a  70MB/23 minutes film when trying to 
buffer it completely (just for testing purposes) from harddrive, not 
dvd). I'm not sure why it takes so long, since neither CPU nor disk 
access time seem to be the bottleneck.

The VP6 encoded film loads very fast, even when bufferTime is set to 
totalTime.

Anyways, first tests show good results when buffering only the VP6 film. 
At least for small films that can be buffered entirely. Well, I guess 
I'll have to play around a bit more, probably re-encode all films to 
VP6, but this definitely helped, thanks!

 > Generally seek algorithms are kindda complex.. Also depends on video
 > encoding, bitrate etc...

Well, I kind of thought that seeking should be very fast for constant 
bitrate (cbr) encoded videos. I believe the VP6 codec is alway cbr. 
After all, for cbr vids, it should be trivial to calculate the exact 
file offset for any given frame. Then readhead positioning should only 
take a few milliseconds for HDDs and a couple 100 ms for DVDs.

For vbr things get potentially more complicated, I believe most codecs 
just generate a keyframe <-> offset table which is loaded before 
playback and enables fast (keyframe-) seeking.

Anyways, thanks again for your help!

Ben








Reply via email to