Documentation for C-Werk 2.0.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

To configure Record to archive:

  1. Selecting a camera or group of cameras for recording (1). An implicit selection of a video camera is also allowed − Camera that initiated command execution.

    Attention!

    If the start of the macro was triggered by the activation of input or output (see Configuring filters for event-driven macros) that is not connected to any camera, you need to select a specific camera here. If you select a group of cameras or a camera that triggered the command, the action will not start.

  2. Select an archive to write to (2).    
  3. Configuring conditions that end recording.

    Condition

    Description

    Timer (3)

    Only a timer value is set. Recording stops according to the time setting.

    Event filter (5)

    One or several events are set, the timer is set to 00:00:00. Recording stops on any IF event.

    Timer (3) + Intelligent event filter (IF) (5)

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

    Timer (3) + OR flag (4) + IF (5)

    One or several events are set, the timer is set to non-zero, the OR flag is set. In this case, the recording stops on any of the two conditions: after the time interval expires or if an IF event (trigger) occurs. 

    Note

    The OR flag can be set only if the timer setting is not 00:00:00.

    Note

    An implicit selection of an event is allowed − Last event for condition that initiated execution.

    For example, if the event that triggered the execution of the command was the Start time of detection tool trigger from any type of detection tools, then the end event will be the End time of detection tool trigger from the same tool.

  4. Set the pre-alarm recording time (6). The maximum pre-alarm recording time is 30 seconds.

    Attention!

    By default, the pre-alarm recording time interval is set to the value specified in Archive settings (see Configuring recording to an archive).

    The longest pre-alarm recording time available in the Archive settings is used.

    Changing this value in a specific macro does not affect the Archive settings.


  5. If you have cameras in continuous recording mode (see Configuring recording to an archive) and you want to record with specified fps (see example 2) change the frame rate, enter the required frame rate (7). After the macro command completes, recording resumes at the frame rate specified in the archive settings. You can use special codes:

    1. 0 − do not change the current frame rate (default).

    2. -1− record only I-frames.

    3. 1000 − record at the standard fps of the camera.

      Attention!

      Fps for pre-recording will not change.

      If the macro command is set to complete some time after a specified event has been received (see p. 3), the frame rate will change for this Check-in Event-time.

      Attention!

      When you prune by frame dropping, in all video streams except MJPEG, only I-fames (Intra-Coded Frame or Key Frames) are saved, so please use codes: -1 and 1000.

      If you go for a custom frame rate this will lead to dropping some key frames.

      MJPEG video contains only I‑frames (Intra-coded pictures with a complete image), so it makes sense to set a desired frame rate here.

Example 1. A macro-command to initiate VMD-triggered recording to the Archive from any camera within Default Domain.

Example 2. All video cameras from the Default Domain are set to continuously record video at the specified fps by dropping frames (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:

  • No labels