User Tools

Site Tools


terra4d:milestone

Milestone XProtect® Integration

With Terra 4D version 2.7 the Milestone XProtect® VMS was integrated.

Supported features:

  • Live video
  • Playback video
  • Video retrieval
  • Start/stop recording
  • Import camera list
  • PTZ control absolute, continuous, preset, feedback
  • Events

Known issues:

  • wrong colors and very limited frame rate in TERRA 4D version 2.7
  • TERRA 4D version 2.8 introduces a new Milestone control to solve the previous issue.
  • Even at Terra 2.8, Milestone's CPU usage is relatively high if the graphics card's hardware acceleration cannot be used. To avoid this, the graphics card must have the following requirements:
    • Terra4D must run on a 64 Bit Windows operating system.
    • Only Nvidia and Intel graphic cards are supported, no AMD.
    • Hardware accelerated decoding using NVIDIA GPUs requires compute capability version 6.x (Pascal) or newer (but some improvements can be found with compute capability version 5.x like the Geforce 750 Ti). To find the compute capability version of your NVIDIA product, visit the NVIDIA website (https://developer.nvidia.com/cuda-gpus/).
    • Milestone doesn't recommend the use of SLI configuration.
    • If your Nvidia graphic card is not supported by Milestone, try to activate the Intel graphic card (ensure to use the latest available driver to get support for “Intel Quick Sync Video”)

Installation instructions:

  • Milestone Runtime SDK installation on TERRA 4D client and server is required (MIPSDK_Redist_Installer_x86_2018R1.msi)
  • install msxml.msi (MSXML4 SP 3)
  • The free XProtect Essential+ license supports up to 8 cameras, an unrestricted number of users, and unrestricted video retention time. You can upgrade to another product variant in case you need access to more features

Custom alarms configuration:

Every Milestone alarm can raise a Terra4D event. To configure:

  • Create a custom config file [TERRA4D_PROGRAMDATA]\FASTProtect\Terra4D\share\model\customsubsystem\milestone.xml which describes the additional camera alarms.
  • Find required Milestone alarm in Terra4D Log, e.g. Message: [StatusPlugin Milestone] Alarm source 'AXIS P3248-LVE Network Camera (192.168.18.136) - Camera 1', time 5/3/2021 10:07:25 AM, type 'System Alarm', rule 'Axis Loitering', message 'tnsaxis:CameraApplicationPlatform/LoiteringGuard/Camera1Profile1-1', prio High, state New
  • Describe an event in the custom config file: combine Milestone's alarm type, one space, and alarm rule into Terra4D alarm name, chose suitable guitext and description:
    <event name="System Alarm Axis Loitering">
    	<guitext>Axis Loitering</guitext>
    	<description>Axis Loitering</description>
    </event>
  • Repeat points 2 and 3 for all required alarms.
  • Save the config file and restart Terra4D.
  • The complete example:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet href="subsystem.xsl" type="text/xsl"?>
    <types>
    	<type name="Camera">
    		<subsystem name="Milestone">
    			<!-- name = AlarmType + " " + AlarmRule -->
    			<event name="System Alarm Motion Detected">
    				<guitext>Motion Detected</guitext>
    				<description>Motion Detected</description>
    			</event>
    			<event name="System Alarm AxisVMD">
    				<guitext>Axis VMD</guitext>
    				<description>Axis VMD</description>
    			</event>
    			<event name="System Alarm Axis Loitering">
    				<guitext>Axis Loitering</guitext>
    				<description>Axis Loitering</description>
    			</event>
    		</subsystem>
    	</type>
    </types>

The configured custom alarms will appear as events at the camera device in TERRA 4D Configurator.

Tested Milestone Versions

  • XProtect® Express+ 2025 R2
  • XProtect® Corporate 2025 R2
  • XProtect® Essential+ 2018 R1
  • XProtect® Express 2018 R1
  • XProtect® Express+ 2018 R1
  • XProtect® Professional 2018 R1
  • XProtect® Professional+ 2018 R1
  • XProtect® Expert 2018 R1
  • XProtect® Corporate 2018 R1
  • XProtect® Enterprise 2016 R2

see also: https://www.milestonesys.com/solution-finder/fast-protect-gmbh/terra-4d/

terra4d/milestone.txt · Last modified: 2026/02/26 10:39 by editor