[KBA-00605] How to configure H.264 motion detection in Omnicast™ 4.x - Omnicast™ 4.4 - 4.8

series
Omnicast™ 4.4 - 4.8
revised_modified
2011-08-31

[KBA-00605] How to configure H.264 motion detection in Omnicast™ 4.x

This article explains how to configure motion detection when using an H.264 stream in Omnicast™ 4.x.

Summary

H.264 video unit support was first available in Omnicast™ 4.3 GA. However, hardware motion detection (detection performed by the video unit) for these units was only introduced in Omnicast™ 4.4 GA. Software motion detection (detection performed by the Archiver) was introduced in Omnicast™ 4.5 GA.

Choosing a motion detection type

Depending on the unit you are using, motion detection can be configured to use hardware motion detection or software motion detection. This is set in the Config Tool, under the Motion Detection tab of the camera.

  • To select hardware motion detection, choose Full screen (Unit) or Detection Zone (Unit)
  • To select software motion detection, choose Full screen or Detection Zone

If you are unsure which motion detection types are available for your unit, click the Capabilities button to display them.

Configuring hardware motion detection

If you choose Full Screen (Unit) or Detection Zone (Unit), configure the following parameters:
  • Sensitivity
  • Consecutive frame hits
  • Motion on threshold
  • Motion off threshold
To test your configuration, click the Show video button. If available, click the Web Access button to verify the configuration directly on the unit web page. If results are unsatisfactory, modify the parameters until motion detection functions as desired.
NOTE: The Show video button only shows green and red motion blocks if software motion detection is also supported for the unit. If your unit does not support software motion detection, you must verify the configuration by trial and error.

Configuring software motion detection

If you choose Full Screen or Detection Zone, configure the following parameters:
  • Sensitivity (below 50% is recommended)
  • Consecutive frame hits
  • Motion on threshold
  • Motion off threshold
  • H.264 motion detection presets and settings:
    Vector emphasis
    Sets motion detection based on the difference in motion vector values (movement) between consecutive frames.
    Luma emphasis
    Sets motion detection based on the difference in luma values (brightness) between consecutive frames
    Custom
    Depending on your unit, the Vector and Luma emphasis presets may not provide desirable results. If you find you are getting too many or too few motion events, choose this preset and adjust the following slider values until you achieve desired results (values range between 0 and 100; the higher the value, the more motion is detected):
    • Luma weight: Sets motion detection based on the difference in luma values (brightness) between consecutive frames.
    • Chroma weight: Sets motion detection based on the difference in chroma (color) values between consecutive frames.
    • Vectors weight: Sets motion detection based on the difference in vector values (movement) between consecutive frames.
    • Macroblocks weight: Sets motion detection based on the presence of macroblocks in your frame. This setting is useful when you notice motion indicators on still frames. For example, some units will generate frames entirely composed of macroblocks as a new reference point. When this happens, you will see motion blocks covering the whole image. Setting the Macroblocks weight to a lower value will help prevent this.

To test your configuration, click the Show video button. The green and red blocks will indicate motion. If the results are unsatisfactory, modify the parameters until motion detection functions as desired.

General recommendations for motion thresholds

Generally, we recommend choosing a Motion off threshold value that is close to the Motion on threshold value. For example:
  • Motion on= 20, Motion off = 15 (recommended)
  • Motion on= 7, Motion off = 5 (recommended)
  • Motion on = 35, Motion off = 2 (not recommended)
It is NOT recommended to choose motion thresholds of 0 or 1. For example:
  • Motion on = 1, Motion off = 0 (not recommended)
  • Motion on = 40, Motion off = 1 (not recommended)
  • Motion on = 4, Motion off = 3 (recommended)