zigvu / khajuri

Video Pipeline
0 stars 0 forks source link

Mapping from timestamp to framenumber #96

Closed regmiz closed 9 years ago

regmiz commented 9 years ago

Dump map of timestamp to frame_number inside Json

regmiz commented 9 years ago

First cut at 3c067bf259d530c4f6a58752fb59294e818a55c3 in issue96 branch. Currently each json has a timestamp. So, the current dict is from { frameNum ---> Timestamp }. The reverse mapping can be made but the json have to be read in.

eacharya commented 9 years ago

In the new JSON format, we will probably want to keep both frame number and frame timestamp. I have outlined a possible JSON output in issue #97.

eacharya commented 9 years ago

Since timestamp is as inaccurate as frame number in front-end javascript, we do not need timestamp anymore in JSON output. Hence, closing this issue.

An alternative of printing a watermark in each frame during quanta creation is more reliable. A subsequent issue will be created to track that change.