I will need to display the frames of an FLV at different rates.
Here are some examples:
- the user will ‘scrub’ through the flv frames(front/back)
- the flv will need to play at half the speed on a user interaction.
Currently I’m using LoaderMax and it’s VideoLoader object to load and play FLV files.
I’ve tried using the playProgress property, but only the keyframes of the FLV are displayed. I got the same result with the basic setup(using the NetStream class)
As a workaround, I playback the FLV once, and cache BitmapData instances in which I draw/cache each frame of the video. After this is done, I use the BitmapData Vector to update a Bitmap on stage. Scrubbing/changing speed works fine with this method, but still the user needs to see(wait for) the sequence once, while it gets cached, which I don’t like.
Any better ideas on how to do this ?
Any tips are useful,
Thanks!
I’ve seen this done before but the video was imported into the flash ide and we manipulated the time line for the scrubbing. I believe we had a second version of the video for the slow motion play back version and switched between the two movieclips. Fairly low-tech method and wasn’t without it’s issues but we got round them. I have a feeling you’re going to struggle to do this with a plain old flv using progressive download.