Nx Witness doesn't recognize the plugin built in step 1-2.
AnsweredI built successfully plugin in step 2 with cmake and put it to
SERVER_DIR/plugins
in my case it's C:\Program Files\Network Optix\Nx Witness\MediaServer\plugins
Nx Witness doesn't recognize the plugin. I restarted server as well.
All necessary packages were installed correctly with suitable versions.
I was hoping somebody could help me
-
Hello,
Try to search server log file for PluginManager messages. Was your plugin successfully loaded?
Here is the article helping to find log file location
Are you compiling debug or release version?
Are running complied plugin on the same machine or on the separate one?
-
It doesn't seem that plugin was loaded successfully.
All the log files inC:\Windows\System32\config\systemprofile\AppData\Local\Network Optix\Network Optix Media Server\log
were modified 5 days ago last time.
Release version is compiled
All the process for building& running are being processed on the same machine -
I see that there are plugins here, but the system recognizes only OpenVINO
Maybe there are additional step to enable plugin except described here Introduction to Creating a Video Analytics Plugin – Network Optix -
Hi,
What is the OS version, VMS version, build, Metadata SDK version you're using?
were modified 5 days ago last time.
It can't be like that. Please check file permissions and VMS customization you're using.
Path for "Nx Meta" and "Nx Witness" customization are different.
It doesn't seem that plugin was loaded successfully.
What is the message? Could you share your log files, please?
-
Hi
Windows 11 pro 10.0.22621
metadata Sdk 5.0.0 R6
Nx Witness VMS 5.0.0.357452023-03-24 09:55:02.846 6444 INFO PluginManager(0x1f6e99369e0): Considering to load Server plugin [C:/Program Files/Network Optix/Nx Meta/MediaServer/plugins/opencv_object_detection_analytics_plugin.dll]
2023-03-24 09:55:02.847 6444 INFO PluginManager(0x1f6e99369e0): Loaded Server Plugin [C:/Program Files/Network Optix/Nx Meta/MediaServer/plugins/opencv_object_detection_analytics_plugin.dll] (main interface nx_sdk_analytics_IPlugin, sdk version "5.0.0 R6")Yes, there are messages, but it's not displayed when I open Camera Settings/Plugins
-
Hello,
According to the log file, the plugin binary was loaded successfully.
There is something inside the plugin, that prevents the Server to display information about the plugin.
Most probably, plugin manifest is missing or broken. Possibly a typo or a needless final comma.
Could you share the entire code of your plugin, please?
-
Hello,
I am trying to deploy a plugin from a tutorial first.
I didn't make any changes. Code was taken here, it's step 2 nx_open_integrations/cpp/vms_server_plugins/opencv_object_detection_analytics_plugin/step2 at master · networkoptix/nx_open_integrations · GitHub -
Hello Viacheslav Hodlevskyi ,
It seems you have (or at least have had) two different customizations of VMS installed on your system:
1. Nx Meta installed to C:/Program Files/Network Optix/Nx Meta/ according to the log file message you've shared.
2. Nx Wintess installed to C:\Program Files\Network Optix\Nx Witness
Please make sure you copy your plugin binary to the proper folder and you check log files in the proper folder.
At the moment, according to your post, you copied plugin binary to the Nx Wintness customization server, however you check log files in the folder of the Nx Meta customization.
-
Hello, yes, I have two different customizations of VMS.
I need to run Nx Witness. I tried to copy binary file to Nx Witness/MediaServer/plugins but there is no log file for Nx Witness in
C:\Windows\System32\config\systemprofile\AppData\Local\Network Optix
There is a log file only for Nx Meta, the path is
C:\Windows\System32\config\systemprofile\AppData\Local\Network Optix\Network Optix MetaVMS Media Server\log\log_file.log -
Hello,
I have two different customizations of VMS.
That's crucial information and should have been provided in the first post. Please, pay your attention next time.
With two customization on the same machine, make sure they don't attempt to run simultaneously on the same port, tcp 7001 be default.
There is a log file only for Nx Meta, the path is
Taking that into account, I'd suppose Nx Witness Media server could not start, just because of the issue described.
If you want to have two customizations on the same machine, please do the following.
1. Change Startup Type for both services "Network Optix MetaVMS Media Server" and "Network Optix Media Server" to "Manual"
2. Change the default port for one of two customizations.
Here is the path in the registry to Server settings.
HKEY_LOCAL_MACHINE\SOFTWARE\Network Optix\Network Optix MetaVMS Media Server
-
Hi,
Here you can find installation guide for Windows
https://support.networkoptix.com/hc/en-us/articles/205752937-Windows-OS-Installation-Guide
Please sign in to leave a comment.
Comments
16 comments