Cue points and live streams?
Does anyone know how to embed cue points into a live stream? I have been searching around and trying to figure out how to make it work properly. I have played around with stream.send functions and onmetadata. It works just fine for pre-recorded files with embedded cue points. But I am having problems getting it working with a live dvr stream. It also seems if you modify the metadata keyframe using the stream.send("@setDataFrame"... while you are appending to a file, that the metadata change is only in memory, it does not get flushed to the file. If you stop and restart the stream and start appending the new metadata is not retained.
I am using the dvrcast application to serve and record the streams. The stream is recorded over a period of time, but recording is started and stopped. So the file is actually appended to instead of just over writing. So the problem lies in the metadata, if you actually want to know the exact time something happened and there is a break in the stream there is no way to calculate the actual time. So my thought was ever time the stream is appended to add a cue point that contains a date time stamp when recording began, so the actual time can be determined by calculating the difference between the last time stamp/cue point and the time elapsed.
Also I believe all of this only applies to flv files for f4v files the process would be completely different. Any suggestions?
