Patent ID: 7667731

Claim:
A video recorder, comprising: a processor communicating with memory; a loop buffer storing video data of an event captured by a camera, the loop buffer storing the video data for a predetermined duration of time, after which the video data is transferred or discarded; a set of rules stored in the memory, the set of rules describing a first event and a second event, wherein if the first event is not accompanied by the second event, then the set of rules further describes that the contents of the loop buffer are transferred into the memory and if the first event is accompanied by the second event, then the set of rules further describes that the contents of the loop buffer are not transferred into the memory; when the processor determines that the event captured by the camera does not match the first event described by the set of rules, then the processor discards the contents of the loop buffer; when the processor determines that the event captured by the camera matches the first event described by the set of rules and the event captured by the camera is not accompanied by the second event, then the processor transfers the contents of the loop buffer to the memory to provide time-delayed video data, the time-delayed video data only including data preceding the event captured by the camera that matches the first event described by the set of rules and is not accompanied by the second event; and the processor tags the time-delayed video data with metadata describing the event that caused the contents of the loop buffer to be transferred to the memory.