I have created a small tool based on the “Raw video source retriever” sample from the SDK.
I am using it to detect gaps in the recorded video. But, really I am looking to detect gaps only when there was motion detected.
So, for example, if a camera is configured to record video only every 5 seconds when there is no motion detected, I am not too concerned about that. However, if there is a gap of 5 seconds when there IS motion present, than I am concerned about that.
My tool is working pretty good except for those cameras which regularly have gaps like this. When there is no motion.
Does anyone have an idea how I can determined when motion is present in the raw video?
Surely this information is recorded somewhere as Smart Client shows red on the timeline when there is motion. I just have not figured out how to find that information and map it to the time as I scan through the raw video data.