Documentation for Monitoring PSIM 1.0 (english)

Previous page Request for video frames from an object  Automated video clip loading Next page

The Search in archive component allows you to request small video clips from an object on the Agent of Control side. For that, follow these steps:

  1. Search by titles or clips as described above.
  2. The search results are shown as a list of entries. Right click on the required entry. A context menu opens. The menu has two items: Video query and Frame query.
  3. Select the Video query menu item. A dialog form for the request opens. There is another way to open this form: select an entry from the list and click Video.
  4. The Date and time (1) and Camera (2) fields are filled in automatically.
  5. Use the Length (sec) field (3) to limit video clips.

    Note.

    If the Not used value is selected in the Export to avi parameter (5), then one or more clips will be exported which contain the specified time interval relative to the date and time. In the context of a single clip, it's impossible to request only a part of it.

    If you try to set the value of the Length (sec) field to over 120, the value of 120 is offered. This is done to remind the user that such requests can export a big data file from a video archive on Agent of Control side. If you want to turn this limitation off, click Settings in the lower-left area of the Search in archive area. In the window that opens, change the value of the Maximum length of loaded video clip, sec field.

  6. If you want to decrease network load, set the Bandwidth __ KBps field (4) to the appropriate value.
  7. The Export to avi parameter (5) allows you to select the format and codec of the requested video clip:

    1. Not used − the video clip will be exported as an archive with a set of directories and files from the VIDEO folder.

    2. Original − the video clip will be exported to an avi-file without transcoding.

    3. Xvid − the video clip will be exported to an avi-file with the Xvid codec.

    4. DivX − the video clip will be exported to an avi-file with the DivX codec.

    5. x264 − the video clip will be exported to an avi-file with the x264 codec.

      Attention!

      The export to an avi-file with the specified codec is performed on the Agent of Control side using the AviExport.run module and the required codec should be installed. Otherwise, an error Frame or video clip is not found (archive export error) will be received.

  8. In the Start area, select the time for sending the request: Immediately or Schedule (6).

  9. Set the waiting time by using the Data receive timeout, sec. field (7).

    Attention!

    If you request a clip that is longer than one minute, you have to increase the value of the Data receive timeout, sec. parameter. It is necessary to do it, because it takes time to export a large video clip on the Agent of Control side. 

  10. If the Open immediately check box (8) is selected, the data is put into the video archive and shown immediately. Otherwise, the data is only sent to the archive. To view such data, use the Monitoring reports component.

  11. After you fill in all the fields, click New (9).
  12. You will get to the Loads tab where the task performance process is displayed. While the video clip is being downloaded, it file size, loaded size, and transfer rate are shown. You can pause the download at any moment by clicking Pause.

    Note.

    In case data have stopped coming during the download, for example if connection with the object is lost, download will be restarted after a random time interval from 1 to 60 seconds. In case of the attempt failure, attempts will be made at intervals of 1 minute. Information on the time remaining to the restart is displayed in the Comment field. Any time you can restart loading manually using the Start button. 


  13. If the Open immediately check box was selected, then the downloaded clip will be played in the following way:
    1. on the Server of Control and the Additional workplace using the Axxon Player utility, if the Not used value was selected in the Export to avi parameter.
    2. on the Server of Control using the program specified in the AVI-files player parameter (see Configuring reaction to snapshots and videos), if a value other than Not used was selected in the Export to avi parameter.
    3. on the Additional workplace using the program specified in the AVI-files player parameter (see Interface of Additional workplace configuration tool), if a value other than Not used was selected in the Export to avi parameter.

The successfully completed task is marked in green. Double click such entry to see the corresponding frame or play the corresponding video clip. It is also possible to go to the folder with downloaded videos. For this right-click the corresponding frame and select the Show in folder item.

The Search in archive component supports the download resume function. If the connection to Agent Of Control breaks during a download, the task status changes to Network Error after two minutes' time-out. The Comment field shows the information that the data is no longer being transferred. Ten seconds later the system start periodic attempts to resume the download. It tries to do it every minute. After the connection to Agent Of Control is reestablished, the data is downloaded not from the beginning, but from the point where the connection was lost. The download resume function uses temporary files. They are saved both on Agent of Control and on Server of Control. These files are stored for three days. After that, they are removed. For example, if you start a download, then click Pause, and resume the download five days later, the download starts from the beginning.

Note

To change the storage period for the temporary files, it is necessary to create the StoreVideoFiles string parameter in the Windows OS registry and set the required number of days as its value.
For details, see Registry keys reference guide, for more information about working with the registry, see Working with Windows OS registry.
Then it is necessary to restart the Videosrv.exe module.

If you want to remove old tasks from the task list, go to Loads tab and click Delete button. Tasks are stored in the database for max. 100 days. If you want to limit the number of tasks that are shown in the Loads tab, use the Task archive size (days) parameter in the Settings window opened by Settings button in the lower left corner of the Search in archive screen (see step 5).

Attention!

If Axxon PSIM closes, all tasks with the Loading status are paused. Start these tasks manually to resume download.