Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General information

This action starts the export of a snapshot frame or a video. You must configure the conditions to start a macro beforehand (see Configuring filters for event-driven macros).

To configure, set up the following parameters:

Configuring an action

To configure the action, 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 export.
  6. In the Export agent parameter, select a server
  7. Export agent (1)select the Server
  8. (formally the Export agent object) to which you want to export
  9. the
  10. a video
  11. recording
  12. (see Configuring Export agent).
  13. Image RemovedCamera (2)
  14. Image Added
  15.  In the Camera parameter,
  16. select a camera
  17. for
  18. , the video from which you want to export.
  19. An
  20. In addition, an implicit camera selection
  21. of a video camera is also allowed
  22. is allowed—Camera that initiated command execution (see Configuring start conditions).
    Note
    titleAttention!

    If

  23. the start of the macro was triggered by the activation of
  24. a macro is initiated by an event from an input or output (see Configuring start conditions

  25. for event-driven macros
  26. ) that is not connected to any camera, you need to select a specific camera

  27. here
  28. for this action. If you select a group of cameras or a camera that

  29. triggered
  30. initiated the

  31. command
  32. macro, the action

  33. will not
  34. doesn't start.

  35. Archive (3)
  36. In the Archive parameter, select an archive
  37. for
  38. , the video from which you want to export.
  39. Set
  40. In the parameter group, specify the export interval

  41. (4). 
  42. :

    Option

    Description

    Image export

    Exports a

  43. snapshot with
  44. frame corresponding to the time

  45. stamp identical to the start time of action.
  46. when the action was started.

    Note
    titleAttention!

    Image

  47. Important! The image
  48. cannot be exported if the

  49. video
  50. camera

  51. does not
  52. doesn't have an archive

    Time schedule

    You

  53. need to
  54. must select a time schedule.

    Exports images from within the time schedule.

  55. Video recording interval
  56. Interval of the exported video − [

  57. Beginning
  58. beginning of the specified time

  59. slot
  60. schedule;

  61. the
  62. end of the specified time

  63. slot
  64. schedule].

    Note
    title
  65. During:

  66. Attention!

    If you don't specify the offset (see step 10c), the intervals from the time schedule are taken over the last 24 hours

    During

    You must

  67. You should
  68. set the export duration in HH:MM:SS. The starting point of the exported video is the

  69. command
  70. action start. End point is defined on the basis of the specified duration

  71. (

  72. Interval
  73. interval [

  74. command
  75. action start;

  76. command
  77. action start + duration])

    Finish after

  78. Select
  79. You must select one or more events

  80. that will trigger export stop
  81. , after receiving which (any of them) export is stopped. The starting point of the exported video

  82. will be
  83. is the

  84. command
  85. action start, the end point

  86. is the moment of receiving any of these events

  87. You can click the
  88. Image Removed button
  89. Image Added button to add additional parameters:
    1. File name

  90. (5)
    1. —name of the exported file.

      Note
      titleAttention!

      You can use the following templates for file names and text comments (see Text templates in the action settings):

      • %startTime% , or [START_TIME], or {startTime}
  91. : the starting
      • —start time of exported interval.
      • %finishTime% , or [FINISH_TIME], or {finishTime}
  92.  : the finishing
      • —finish time of exported interval.

        You

  93. may
      • can use the following templates for macros

  94. triggered
  95. for event-driven macros
      • ):

      • %startEvent%, or [START_EVENT], or {startEvent}
  96. : an event that triggered exporting
      • —event that initiated export start.
      • %finishEvent% , or [FINISH_EVENT], or {finishEvent}
  97. : an event
      • —event that stopped the export.
  98. Comments
    1. Comment that is superimposed as captions over the exported video

  99. (6)
    1. .

    2. Offset

  100. (7)
    1. is a time period used to roll back the start time of exported video. If you set this this parameter

  101. to non-zero
    1. , the time interval of the exported video will be as follows:

    1.  [action start − (duration + offset); action start − offset].
      If

  102. exported video(s) fall into a specific slot on Time
    1. export is performed within a time schedule, this parameter is used to

  103. define the start time for video retrieval. For
    1. determine the period in the past before the action started for which the export must be performed. For example, if you set the

  104. Offset (GUI: Buffer)
    1. offset to 48 hours, all videos from the given

  105. Time
    1. time schedule

  106. slot
    1. recorded within 48 hours before the action start

  107. will be exported.

Example: A macro command for automatically exporting video recordings of all alarm events evaluated by operators as "confirmed".

    1. are exported.

    2. Set the Burn titles checkbox to burn titles on JPEG images and AVI videos.
  1. Click the Apply Image Added button.

Configuration of the Start export action is complete.Image Removed