[KBA-00971] How to increase the amount of buffered video in Security Desk - Security Center 5.2 - 5.7

series
Security Center 5.2 - 5.7
revised_modified
2018-10-03

[KBA-00971] How to increase the amount of buffered video in Security Desk

This article explains how to increase the amount of buffered video in Security Desk when using the playback function (backward or forward) or viewing archives.

Applies to: Security Center 5.2 - 5.7

Summary

When a user requests video playback or is viewing archives, the workstation downloads the recording from the Archiver. To deliver smooth playback, the workstation buffers the video, and when ready, begins to play the recording. By default, the workstation buffers five seconds of video. You can modify this value to increase or decrease the amount of buffering that takes place.

To modify the amount of buffered video in Security Center 5.3 and later:

  1. Close Config Tool and Security Desk.
  2. Open the ConfigurationFiles folder.
    • 32-bit computers: C:\Program Files\Genetec Security Center 5.x\ConfigurationFiles
    • 64-bit computers: C:\Program Files (x86)\Genetec Security Center 5.x\ConfigurationFiles
  3. Open the GeneralSettings.gconfig file and add the following code within the <configuration> tags:
    <PlaybackCacheConfiguration PlayableCacheLength="00:01:00" 
    MinimumCacheItemLength="00:00:05" 
    ReverseMinimumCacheItemLength="00:00:20" />
    
    NOTE:
    • PlayableCacheLength is the minimum amount of video cached during forward playback (at 1x).
    • MinimumCacheItemLength is the minimum amount of video downloaded each time the cache gets smaller than PlayableCacheLength during forward playback (at 1x).
    • ReverseMinimumCacheItemLength is the minimum amount of video downloaded each time the cache gets smaller than PlayableCacheLength during reverse playback (at 1x).

    The default values should not be increased unless necessary, as it will result in playback taking longer to start.

    Values are automatically adjusted by Security Center when playback speed changes. For example, when using playback at 2x the values are doubled.

  4. Save and close the file.
  5. Restart Security Desk.

To modify the amount of buffered video in Security Center 5.2:

  1. Close Config Tool and Security Desk.
  2. Navigate to your ConfigurationFiles folder.
    • 32-bit computers: C:\Program Files\Genetec Security Center 5.2\ConfigurationFiles
    • 64-bit computers: C:\Program Files (x86)\Genetec Security Center 5.2\ConfigurationFiles
  3. If the GeneralSettings.gconfig file does not exist in the ConfigurationFiles folder, then create it as follows:
    1. Open Notepad.exe
    2. Paste the text below:
      <?xml version="1.0" encoding="utf-8"?>
      <configuration>
        <mediaPlayer ForwardPlaybackBufferThreshold="5" KeyFramesPlaybackBufferThreshold="10"
         ReversePlaybackBufferThreshold="15" />
        <MailServer />
      </configuration>
  4. Save the file as GeneralSettings.gconfig in the ConfigurationFiles folder.
  5. If the GeneralSettings.gconfig file exists, edit the following line:
    <mediaPlayer ForwardPlaybackBufferThreshold="5" KeyFramesPlaybackBufferThreshold="60"
     ReversePlaybackBufferThreshold="15" />
    NOTE:
    • ForwardPlaybackBufferThreshold="5" is the amount of video that Security Desk will buffer (in seconds) during forward playback. By default, the value is at 5 seconds, which means that the workstation will always try to have 5 seconds of buffered video when the user plays the recordings in forward playback.
    • KeyFramesPlaybackBufferThreshold="10" comes into effect when smooth playback is disabled; in other words, when using key frames only. This value tells Security Desk to start downloading the next range of video seconds before the end of the current range.
    • ReversePlaybackBufferThreshold="15" is the amount of video that Security Desk will buffer (in seconds) during reverse playback. The default value is 15 seconds, which means that the workstation will buffer 15 seconds of video when the user plays the recordings in reverse playback.