Expanding our number of existing CCTV camera integrations which include: HikVision, Milstone, OnSSI, SeeTec, TVT and Dahua.
Utilising two tools, we have developed a way to show a live feed from a Ganz CCTV platform.
- VcPop is a popup tool that shows a live feed from a GANZ CCTV camera
- VcTrigger is a tool that is able to start VcPop on a remote computer.
Both tools are controlled via command line parameters. The easiest way to these parameters are working is by creating a shortcut to the tool and adding the parameters to the Target box in the shortcut properties.
VcPop:
- Copy VcPop and VcTrigger.exe to the GP10 workstation.
- Create a shortcut or .bat script to run the exe with the required parameters to test that the connection to the camera is working correctly.
- The first parameter is always "StreamLive", and all the following connection parameters are optional. Ignored parameters will use the default value and any text with spaces will need to be surrounded by quotation marks. Replace the square bracket text with the relevant information.
Parameter
Full text
Shorthand text
Default
Remote VMS server IP address
--host [HOSTNAME]
-h [HOSTNAME]
localhost
Remote VMS server port number
--port [PORT NUMBER]
-o [PORT NUMBER]
8080
Username
--username [USERNAME]
-u [USERNAME]
Admin
Password
--password [PASSWORD]
-p [PASSWORD]
(None)
Camera channel number
--channel [NUMBER]
-c [NUMBER]
0
Use HTTPS/TLS (0=Off / 1=On)
--secure [0 or 1]
-s [0 or 1]
0 (Off)
Alert message
--alert [MESSAGE]
-a [MESSAGE]
- The command should look something like this:
C:\VCPOP\vcpop.exe StreamLive -h 194.245.79.4 -o 8080 -u Admin -p 1234 -c 2 -s 0
- The file 'vcpop.exe.config' also contains the following settings for every popup window.
window_width: Adjusts popup window size.
alert_blink_speed: Speed of the blinking alert message in milliseconds (0=Off).
snapshot_dir: Directory to save snapshot images.
VcTrigger:
- Copy VcTrigger.exe to the GP10 server.
- All the parameters for VcTrigger are optional. Ignored parameters will use the default value and any text with spaces needs to be surrounded by quotation marks. Replace the square bracket text with the relevant information
Parameter for Listener
Parameter for Sender
Full text
Shorthand text
Default
Listening IP address.
Target IP address.
--ipaddress [ADDRESS]
-i [ADDRESS]
(Local IP)
Listening Hostname.
Target Hostname.
--hostname [HOSTNAME]
-n [HOSTNAME]
Listening port number
Target port number
--port [PORT NUMBER]
-p [PORT NUMBER]
65432
Command to be sent
--command [COMMAND]
-c [COMMAND]
- On the GP10 workstation, VcTrigger will be set up as a Listener. On the server it will be set up as a sender. Create a shortcut with the parameters if you do not want to listen on the local IP and default port.
- Double-click on VcTrigger.exe (or the shortcut if you created one) and it will start in the system tray.
Left-click on the icon to get information on which IP and Port it’s listening on and right click to open the menu. - In GP10 on the server create a global reflex with the action Run local program.
In the upper field insert the path to VcTrigger.exe. - In the lower field insert the parameters for the target IP or hostname, the port (if different from default) and the VcPop command.
Precede the command with "start" to open the popup without the command prompt window.
The command will have spaces, so it will need to be enclosed in double quotes.
If the command already has existing double quotes, like the example below, these quotes must be ‘escaped’ by preceding them with a backslash ( \ ) to prevent them from interfering with the outside quotes. - Finally click Test Actions to confirm that the command is running correctly on the workstation, and then continue setting up your alarms to trigger the global reflex when activated.
If you require more information, please contact [email protected].
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article