Go to documentation repository
Page History
...
Select a camera or a group of cameras, the video from which you want to record to the archive (1). An implicit selection of a camera is also allowed—Camera that initiated command execution (see Configuring start conditions).
Note title Attention! If the start of the macro was triggered a macro is started by an event fron from an input or output (see Configuring start conditions) that is not connected to any camera, you need to select a specific camera here. If you select a group of cameras or a camera that initiated the command, the action doesn't start.
- Select an archive to write to (2).
Specify the conditions that end recording.
Condition
Description
Timer (3)
Only a timer value is set. Recording stops according to the time setting
Event filter (5)
One or several events are set, the timer is set to 00:00:00. Recording stops when any event from the filter occurs
Timer (3) + Event filter (5)
One or several events are set, the timer is set to non-zero. Recording stops when the set time interval expires after any event from the filter occurs
Timer (3) + OR checkbox (4) + Event filter (5)
One or several events are set, the timer is set to non-zero, the OR checkbox is set. In this case, the recording stops when any of the two conditions occurs first: after the time interval expires or when any event from the filter occurs
Info title Note - You can set the OR checkbox only if the timer setting is not 00:00:00.
An implicit selection of an event is allowed—Last event for condition that initiated execution (see Configuring start conditions). For example, if the event that initiated the execution of the command was the Start time of detection tool trigger from any type of detection tools, then the end event will be the End time of detection tool trigger from the same tool.
Set the prerecord time (6). The maximum prerecord time is 30 seconds.
Note title Attention! - By default, the prerecord time interval is set to the value specified in the archive settings (see Configuring recording to an archive).
- The duration of the prerecord time corresponds to the longest value among the set values.
- Changing this value of the prerecord time in a specific macro does not affect the archive settings.
If you have cameras in continuous recording mode (see Configuring recording to an archive) and you want to record with a specific FPS (see example 2), to change the frame rate, enter the required frame rate (7). After the macro completes, recording resumes at the frame rate specified in the archive settings.
You can use special values:0—do not change the current frame rate (default).
-1—record only key frames.
1000—record at the standard FPS of the camera.
Note title Attention! - FPS for prerecord doesn't change.
- If the macro is set to complete some time after a specified event is received (see step 3), the frame rate changes for this time.
- When decimating all video streams except MJPEG, only keyframes are saved, so we recommend using special values for them -1 and 1000.
- If you specify a custom frame rate, decimation is performed by key frames.
- In MJPEG video stream all frames are key frames, so it makes sense to set an explicit frame rate value for it.
...
