Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.

Previous page Control archive  Start replication Next page

On the page:



General information

This macro allows you to record events to the archive and stop recording after certain conditions are met.

Configuring an action

To configure recording to archive, do the following:

  1. Go to the Programming tab.
  2. In the Event rules or Cycle rules list, click Create... (see Configuring macros).
  3. Select a start condition that triggers a macro (see Configuring start conditions).
  4. Click the  button below start conditions.
  5. From the drop-down list, select Camera: Start recording.
  6. In the Camera parameter, select a camera or group of cameras, video from which you want to record to the archive. In addition, an implicit camera selection is allowed—Camera that initiated command execution.

    Attention!

    If a macro is initiated by an event from an input or output (see Configuring start conditions) that is not connected to any camera, you need to select a specific camera for this action. If you select a group of cameras or a camera that initiated the macro, the action doesn't start.

  7. In the Record to parameter, select an archive to record to.
  8. In the parameters of the Finish after group, specify the conditions that end recording.

    Condition

    Description

    Timer

    Only a timer value is set. Recording stops after a specified time

    Event filter

    One or several events are set, the timer is set to 00:00:00. Recording stops when any event from the filter occurs

    Timer + event filter

    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 + OR checkbox + event filter

    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

    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. For example, if the event that initiated the execution of the command is Triggering start from any type of detector, then the end event is Triggering end from the same detector.

  9. In the Prerecord, sec parameter, set the prerecord time in seconds. The maximum prerecord time is 30 seconds.

    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 the value of the prerecord time in a specific macro does not affect the archive settings.
  10. In the Recording frame rate parameter, enter the required frame rate value if you have cameras in continuous recording mode (see Configuring recording to an archive) and you want to change frame rate in some cases. 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.

      Attention!

      • FPS for prerecord doesn't change.
      • If the macro is set to complete some time after a specified event is received, the frame rate changes for this time.
      • When decimating all video streams except MJPEG, only key frames 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.
  11. Click the Apply button.

Configuration of the Start recording action is complete.

Example use

Example 1

A macro to start recording to the archive when the motion detector generates an event on any camera within the Default Axxon-domain (see Configuring start conditions).

Example 2

All cameras from the Default Axxon-domain are set to continuously record video with decimation to the archive (see Configuring recording to an archive). A macro records to the archive by events from the motion detector at full frame rate.

  • No labels