PDA

View Full Version : frame accurate flv timecode


adam k
11-21-2006, 03:27 PM
if i encode an FLV with flix and set the keyframes to Fixed at 0, as i understand it there should be a one to one mapping between frames in the source video and keyframes in the encoded FLV.

i need to build a Timecode display and a timeline that displays the MM:SS:FF (where FF = frame number) of the FLV that is playing. the timeline should have a draggable playhead for seeking to an exact frame.

given the NetStream seek method, which only takes full seconds, i'm not sure how to do this. the same is true for NetStream.time , which gives only the full second time of the FLV playback.

i have this all built and working for SWFs, because SWFs are frame based. but i want to make it work for FLV .

could i perhaps embed a CuePoint into each keyframe of the encoded FLV ? and subscribe to the onCuePoint event of the NetStream? any thoughts would be greatly appreciated.

thanks

nik_c
06-24-2007, 07:01 PM
Hi Adma,

Did you ever manage to do this, as I am about to create a very similar frame accurate flv site,

thanks,
Nik