Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:

Table of Contents

Column



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 Image Added button below start conditions.
  5. From the drop-down list, select Camera: Start recording.
  6. In the Camera parameter, select

To configure Record to archive:

    Selecting
  1. a camera or group of cameras
  2. for recording (1). An implicit selection of a video camera is also allowed −
  3. , video from which you want to record to the archive. In addition, an implicit camera selection is allowed—Camera that initiated command execution.
  4. Image Removed
  5. Image Added
    Note
    titleAttention!

    If

  6. the start of the macro was triggered by the activation of
  7. 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

  8. here
  9. for this action. If you select a group of cameras or a camera that

  10. triggered
  11. initiated the

  12. command
  13. macro, the action

  14. will not
  15. doesn't start.

  16. Select
  17. In the Record to parameter, select an archive to
  18. write
  19. record to
  20. (2)
  21. .
  22.     
  23. In the parameters of the Finish after group, specify the
  24. Configuring
  25. conditions that end recording.

    Condition

    Description

    Timer

  26. (3)
  27. Only a timer value is set. Recording stops

  28. according to the time setting.
  29. after a specified time

    Event filter

  30. (5)
  31. One or several events are set, the timer is set to 00:00:00. Recording stops

  32. on
  33. when any

  34. IF
  35. event

  36. .
  37. from the filter occurs

    Timer

  38. (3)
  39. +

  40. Intelligent
  41. event filter

  42. (IF) (5)
  43. One or several events are set, the timer is set to non-zero. Recording stops when the set time interval expires after any

  44. IF event (trigger) occurs.
  45. event from the filter occurs

    Timer + OR checkbox + event filter

  46. Timer (3) + OR flag (4) + IF (5)
  47. One or several events are set, the timer is set to non-zero, the OR

  48. flag
  49. checkbox is set. In this case, the recording stops

  50. on
  51. when any of the two conditions occurs first: after the time interval expires or

  52. if an IF event (trigger) occurs. 
  53. when any event from the filter occurs

    Info
    titleNote
  54. The OR flag
    • You can
  55. be
    • set the OR checkbox only if the timer setting is not 00:00:00.
  56. InfotitleNote
    • An implicit selection of an event is

  57. allowed −
    • allowed—Last event for condition that initiated execution.

    • For example, if the event that

  58. triggered
    • initiated the execution of the command

  59. was the Start time of detection tool trigger
    • is Triggering start from any type of

  60. detection tools
    • detector, then the end event

  61. will be the End time of detection tool trigger
    • is Triggering end from the same

  62. tool
    • detector.

  63. Set the pre-alarm recording time (6)
  64. In the Prerecord, sec parameter, set the prerecord time in seconds. The maximum

  65. pre-alarm recording
  66. prerecord time is 30 seconds.

    Note
    titleAttention!
    • By default, the
  67. pre-alarm recording
    • prerecord time interval is set to the value specified in
  68. Archive
  69. longest pre-alarm recording time available in the Archive settings is used
    • duration of the prerecord time corresponds to the longest value among the set values.
    • Changing
  70. this
    • the value of the prerecord time in a specific macro does not affect the
  71. Archive
    • archive settings.
  72. If
  73. 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
  74. record with specified fps (see example 2)
  75. change
  76. the
  77. frame rate
  78. , enter the required frame rate (7)
  79. in some cases. After the macro
  80. command
  81. completes, recording resumes at the frame rate specified in the archive settings.
    You can use special
  82. codes
  83. values:
    • 0

  84. − do
    • —do not change the current frame rate (default).

    • -

  85. 1− record only I-
    • 1—record only key frames.

    • 1000

  86. − record
    • —record at the standard

  87. fps
    • FPS of the camera.

      Note
      titleAttention!
  88. Fps for pre-recording will not
      • FPS for prerecord doesn't change.
      • If the macro
  89. command
      • is set to complete some time after a specified event
  90. has been received (see p. 3)
      • is received, the frame rate
  91. will change
      • changes for this
  92. Check-in Event-
      • time.
  93. NotetitleAttention!
      • When
  94. you prune by frame dropping, in
      • decimating all video streams except MJPEG, only
  95. I-fames (Intra-Coded Frame or Key Frames)
      • key frames are saved, so
  96. please use codes:
      • we recommend using special values for them -1 and 1000.
      • If you
  97. go for
      • specify a custom frame rate
  98. this will lead to dropping some
      • , decimation is performed by key frames.
  99. MJPEG video contains only I‑frames (Intra-coded pictures with a complete image)
      • In MJPEG video stream all frames are key frames, so it makes sense to set
  100. a desired frame rate here.
      • an explicit frame rate value for it.
  101. Click the Apply Image Added button.

Configuration of the Start recording action is complete.

Example use

Example 1

.A macro -command to initiate VMD-triggered to start recording to the Archive from the archive when the motion detector generates an event on any camera within the Default Axxon-domain (see Configuring start conditions).
Image RemovedImage Added

Example 2

. All video cameras from the Default Axxon Domain -domain are set to continuously record video at the specified fps by dropping frames with decimation to the archive (see Configuring recording to an archive). When you have a motion detection event, you need to switch to full fps recording. Configure the following macro to do so:
Image Removed. A macro records to the archive by events from the motion detector at full frame rate.

Image Added

Axxon One operation with Windows Defender software

If you have Windows Defender software installed in your system, some problems can occur when accessing and saving data to the archive, as well as significant slowing down of Search in archive.

As a workaround, you can either disable Windows Defender or add AppHost.exe, AppHostSvc.exe, and vfs_format.exe files to the exceptions list.