Go to documentation repository
The Pre-alarm record mode is the record mode for recording a pre-alarm event for a specified time period before recording an alarm event. Pre-alarm recording is performed at the "hot" record rate. If you don't specify the "hot" record rate, then the recording is performed at the standard record rate.
Attention!
Video isn't recorded in the Pre-alarm record mode for cameras without video compression that are added to the corresponding list in the Video subsystem section of the tweaki.exe utility (see The Settings panel of the Video subsystem section).
By default, the recording in this mode is disabled. To enable the pre-alarm recording, do the following:
The table provides the information on pre-alarm recording options.
Camera state | Recording initiator | Recording |
Armed | Macro | Without pre-alarm recording |
Armed | Manually | Without pre-alarm recording |
Armed | Alarm | With pre-alarm recording |
Armed | Program | With pre-alarm recording |
Disarmed | Macro | Without pre-alarm recording |
Disarmed | Manually | Without pre-alarm recording |
Disarmed | Alarm | NA |
Disarmed | Program | With pre-alarm recording |
In Axxon PSIM, you can perform recording in the Pre-alarm record mode if the camera is disarmed. You can do it using the DoReact("CAM","1","REC","rollback<1>") program (see The Script object. Programming using the JScript language).
If you specify a long pre-record time, it can result in increasing the waste of running memory. The recommended pre-record time is no more than 20 seconds.
To count the memory consumption, figure out the average size of the video signal frame. To do this, you must record the video fragment of 500 frames in length to the archive (maximum size, by default) and use the following formula:
Note that the frame size also depends on the percent of motion in the frame.
You can count the size of the pre-record buffer for one camera if the frame size is known:
General memory consumption in the Pre-alarm record mode is determined by the sum of values received for each camera.
If cameras perform pre-recording with equal frame frequency, you can use the following formula:
Note
Example.
The camera performs pre-recording for 15 seconds with a hot record speed of 25 fps. The size of the 500-frame fragment is 20 MB. You must determine the size of the pre-record buffer for such a camera.
First, you must determine the average frame size:
So, the size of the pre-record buffer is:
Configuring video in the Pre-alarm record mode is complete.