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 configure Record 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
  4. camera or a
  5. start condition that triggers a macro (see Configuring start conditions).
  6. Click the Image Added button below start conditions.
  7. From the drop-down list, select Camera: Start recording.
  8. In the Camera parameter, select a camera or group of cameras,
  9. the
  10. video from which you want to record to the archive
  11. (1). An implicit selection of a camera is also allowed
  12. . In addition, an implicit camera selection is allowed—Camera that initiated command execution
  13. (see Configuring start conditions)
  14. .
  15. Image Removed
  16. Image Added
    Note
    titleAttention!

    If a macro is

  17. started
  18. initiated by an event from an input or output (

  19. see 
  20. see Configuring start conditions) that is not connected to any camera, you need to select a specific camera

  21. here
  22. for this action. If you select a group of cameras or a camera that initiated the

  23. command
  24. macro, the action doesn't start.

  25. Select
  26. In the Record to parameter, select an archive to
  27. write
  28. record to
  29. (2)
  30. .
  31. Specify
  32. In the parameters of the Finish after group, specify the conditions that end recording.

    Condition

    Description

    Timer

  33. (3)
  34. Only a timer value is set. Recording stops

  35. according to the time setting
  36. after a specified time

    Event filter

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

    Timer

  39. (3)
  40. +

  41. Event
  42. event filter

  43. (5)
  44. 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

  45. Timer (3)
  46. Timer + OR checkbox

  47. (4)
  48. +

  49. Event
  50. event filter

  51. (5)
  52. 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
    titleNote
    • You can set the OR checkbox only if the timer setting is not 00:00:00.
    • An implicit selection of an event is

  53. allowed
    • allowed—Last event for condition that initiated execution

  54. (see Configuring start conditions)
    • . For example, if the event that initiated the execution of the command

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

  56. detection tools
    • detector, then the end event

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

  58. tool
    • detector.

  59. Set
  60. In the Prerecord, sec parameter, set the prerecord time

  61. (6)
  62. in seconds. The maximum prerecord time is 30 seconds.

    Note
    titleAttention!
    • 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
  63. this
    • the value of the prerecord time in a specific macro does not affect the archive settings.
  64. If
  65. 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
  66. record with a specific FPS (see example 2), to
  67. change
  68. the
  69. frame rate
  70. , enter the required frame rate (7)
  71. in some cases. After the macro completes, recording resumes at the frame rate specified in the archive settings.
    You can use special values:
    • 0

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

    • -1

  73. record
    • —record only key frames.

    • 1000

  74. record
    • —record at the standard FPS of the camera.

      Note
      titleAttention!
      • FPS for prerecord doesn't change.
      • If the macro is set to complete some time after a specified event is received
  75. (see step 3)
      • , the frame rate changes for this time.
      • When decimating all video streams except MJPEG, only
  76. keyframes
      • key frames are saved, so we recommend using special values for
  77. them
      • 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.
  78. Click the Apply Image Added button.

Configuration of the Start recording action is complete.

Example use

Example 1

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

Example 2

. All cameras from the the Default Axxon-domain are set to continuously record video with decimation to the archive (see see Configuring recording to an archive). To record A macro records to the archive by events from the Motion detection at full FPS, the following macro must be configured:
Image Removedmotion detector at full frame rate.

Image Added