Versions Compared

Key

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

General information

This action starts the export of a frame or a video.You must configure the conditions to start a macro beforehand (see

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).

To configure, set up the following parameters:

  1. Click the Image Added button below start conditions.
  2. From the drop-down list, select Camera: Start export.
  3. In the Export agent parameter, select a server (
  4. Export agent (1)select the Server (
  5. formally the Export agent object) to which you want to export
  6. the
  7. a video
  8. recording
  9. (see Configuring Export agent).
  10. Image Removed
  11. Image Added
  12.  In the Camera parameter,
  13. Camera (2)
  14. select a camera, the video from which you want to export.
  15. An
  16. In addition, an implicit camera selection
  17. of a video camera is also allowed
  18. is allowed—Camera that initiated command execution (see Configuring start conditions).
    Note
    titleAttention!

    If

  19. the start of the macro was triggered
  20. 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

  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. Archive (3)
  26. In the Archive parameter, select an archive, the video from which you want to export.
  27. Set
  28. In the parameter group, specify the export interval

  29. (4). 
  30. :

    Option

    Description

    Image export

    Exports a frame

  31. with
  32. corresponding to the time

  33. stamp identical to the start time of an action. 
  34. when the action was started.

    Note
    titleAttention!
  35. The image
  36. Image cannot be exported if the

  37. video
  38. camera

  39. does not
  40. doesn't have an archive

    Time schedule

    You

  41. need to
  42. must select a time schedule.

    Exports images from within the time schedule. Interval of the exported video − [beginning of the specified time schedule;

  43. the
  44. end of the specified time schedule].

    Note
    titleAttention!
  45.  
  46. If you don't specify the offset (see step

  47. 5c
  48. 10c), the intervals from the time schedule are taken over the last 24 hours

    During

    You must set the export duration in HH:MM:SS. The starting point of the exported video is the action start. End point is defined on the basis of the specified duration (interval [action start; action start + duration])

    Finish after

  49. Select
  50. You must select one or more events, after receiving which (any of them) export is stopped.

  51.  The
  52. The starting point of the exported video is the action start, the end point is the moment of receiving any of these events

  53. You can click the
  54. Image Removed button
  55. Image Added button to add additional parameters:
    1. File name

  56. (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}
  57. : the starting
      • —start time of exported interval.
      • %finishTime% , or [FINISH_TIME], or {finishTime}
  58.  : the finishing
      • —finish time of exported interval.

        You can use the following templates for macros started by a text message from an event source (see Configuring start conditions):

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

  62. (6)
    1. .

    2. Offset

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

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

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

  65. exported video(s) fall into
    1. export is performed within a time schedule, this parameter is used to

  66. 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 offset to 48 hours, all videos from the given time schedule recorded within 48 hours before the action start are exported.

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

    1. 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