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 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 a camera or
  7. a
  8. 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

  17. the start of the macro was triggered
  18. a macro is initiated by an event

  19. fron
  20. from an input or output (

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

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

  25. command
  26. macro, the action doesn't start.

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

    Condition

    Description

    Timer

  35. (3)
  36. Only a timer value is set. Recording stops

  37. according to the time setting
  38. after a specified time

    Event filter

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

    Timer

  41. (3)
  42. +

  43. Event
  44. event filter

  45. (5)
  46. 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

  47. Timer (3)
  48. Timer + OR checkbox

  49. (4)
  50. +

  51. Event
  52. event filter

  53. (5)
  54. 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

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

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

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

  58. detection tools
    • detector, then the end event

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

  60. tool
    • detector.

  61. Set
  62. In the Prerecord, sec parameter, set the prerecord time

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

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

    • -1

  75. record
    • —record only key frames.

    • 1000

  76. 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
  77. (see step 3)
      • , the frame rate changes for this time.
      • When decimating all video streams except MJPEG, only
  78. keyframes
      • key frames are saved, so we recommend using special values for
  79. 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.
  80. 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