PDA

View Full Version : FLV - cue points


waynebrady
09-15-2006, 07:36 AM
Hey guys,

This is driving me insane. Is there an answer to these problems? I'm trying to stream a FLV video, but I need it to do certain things:

For using NetStream:
How do I get it to go to a designated cue point such as "end"? I've tried Seek(), which brings me to the closest keyframe so that doesnt work.

For using FLVPlayback:
How can I detect when the video has passed a named cue point while playing?

Thanks so much in advance! You will save me a lot of headaches!!

waynebrady
09-15-2006, 05:33 PM
is it true that i cant seek to a specific cue point when doing progressive download/streaming?

im trying to have flash seek to a cue point and play that segment of the video via internet.

=/

sleekdigital
09-15-2006, 05:52 PM
Edit: Thiis is in response to the 2 questions in your first post.

1. Basically flash needs a keframe to resume playback after a seek operation. There are only a few options to improve the situation...
Use a short keyframe interval (lots of keyframes) when encoding the video. Or use RTMP streaming. FCS and FMS have an "advanced seek" option that will generate a keyframe on the fly so that after seeking, playback will start immediately from any position. Note however that FCS can only do this for Flash 7 video (Sorenson codec). For On2 VP6 video you need FMS.

2. Am I to assume that you tried what the documentation tells you and it didn't work? RTFM :)

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003488.html

sleekdigital
09-15-2006, 06:07 PM
Also, you might find this useful...

http://www.flashcomguru.com/index.cfm/2006/5/10/flvkeyframes