Hi all,
First off, I am almost a newbie in Flash
I am writing an flv player. In this player, I want to be able to jump a specific frame (specified by time). There are a few constraints:
1. The .flv file is external and I have no control whatsoever over its creation (key frames, cuepoints..).
2. The frames I'm jumping to can be non-keyframes
I've tried to use NetStream.seek() and FLVPlayback component's seek method. Both of them only try to jump to the nearest keyframe to the specified time.
I've done lots and lots of googling on this and the general answer I found is: "No, you cannot jump to a non-keyframe, because it's the way flv is". Or something like that.
I almost gave up, and I just recently thought about this: If netstream or FLVPlayback can pause at any frame and start again precisely from that point, then obviously it can start playing from that non-keyframe. This makes me think that there must be a way to jump to that non-keyframe either by:
+) Jumping to it directly (somehow..)
+) Jumping to the previous keyframe and make it play on the background to the specified frame and pause there.
I think Flash engine should be able to do this. However , i hvae very little experience with Flash & actionscript.
Guys, please help me find a solution here, or otherwise someone pls explain to me why this is not possible to achieve? Thanks for reading. Cheers