This article explains how to connect an ONVIF camera to HVS.
A forum for the development of a global standard for the interface of IP-based physical security products. The ONVIF specification defines a common protocol for the exchange of information between network video devices including automatic device discovery, video streaming and intelligence metadata – interoperability regardless of manufacturer.
To add your device to HVS you'll either need an RTSP url, if available, or the individual parameters of the device.
If the device is rtsp capable, only the streaming url is needed:
Custom streaming RTSP URL
login:password the credentials for the ONVIF device.
hostname IP Address of the device
mediaendpoint Media endpoint – Examples: /axis-media/media.amp or /onvif/services
mediaprofile Media profile – Example: videocodec=h264&videobitrate=1024&resolution=vga
The information needed for non-rtsp capable devices is:
Credentials for the device (user ID and password)
The IP Address and port of the device
(Optional) Streaming endpoint IP
- (Optional) Streaming endpoint port
- Device service endpoint
- Media endpoint
- PTZ endpoint
- Media profile
Discover ONVIF devices
To see the above information of a device we recommend ONVIF Device Manager: (via SourceForge)
ONVIF Device Manager is a Network Video Client (NVC) to manage Network Video Transmitters (NVT), Network Video Storage (NVS) and Network Video Analytics (NVA) devices. Implements Discovery, Device, Media, Imaging, Analytics, Events and PTZ services. Written in C# and uses ffmpeg for media decoding.
On the same network as the device, install the ONVIF Device Manager by running onvifdm.msi. In case of issues refer to the product documentation:
The device must be in "discoverable" mode to be listed in the ONVIF Device Manager
Once installed, launch the Device Manager and refresh the device list.the devices are listed in the ONVIF Device Manager device list.
You can use the VLC Media Player to locally test the streaming feed of an ONVIF camera.
Select the device to add to HVS. If it is an rtsp enabled device select Video Stream and copy the rtsp:// url under the playback window.
Add the Device to HVS
To add a new camera to HVS follow these steps:
- click the cog icon in the far lower left corner and select Cameras.
Click the plus icon to add a new device and add a name, (optional) custom ID, and (optional) custom name. For Camera Type select Onvif and Ptz Camera.
For the camera to be displayed on the map interface select the map icon next to Latitude and Longitude and place the device in its location.
Select the Advanced tab and add the Username and Password for the device (same as used in the ONVIF Device Manager), and streaming rtsp:// URL in the last field.
Try the device with just the rtsp streaming URL first. If that doesn't work add the ONVIF details. Use the IP address instead of the DNS name.
Click the save icon at the top and close the configuration window.
The device should now be discoverable on the map and streaming video when selected.
Required information that will help with support:
- Domain name
- The test you performed (steps) and the errors or the missing functionality you are experiencing
- Credentials to access to remote system/vms/camera
- Available bandwidth in upload