GetMadTools All guides Download Madconfig

MadToolsGuidesONVIF discovery

Network guide

What is ONVIF, and how do you find ONVIF cameras?

Short answer

ONVIF is the standard that lets cameras and NVRs from different brands work together. ONVIF tools find cameras by sending a WS-Discovery message on UDP port 3702; every ONVIF camera on the same network segment answers. If nothing answers, ONVIF is usually turned off, the camera is on another VLAN, or a firewall blocks the reply. Then fall back to MAC vendors and camera ports.

What ONVIF is

ONVIF (Open Network Video Interface Forum) is an industry standard for IP video. A camera that supports it can be found, configured and streamed by an NVR or video software from a different manufacturer. That is how a Dahua NVR can record a Hikvision or Axis camera.

Support is grouped into profiles. The ones you meet most:

ProfileWhat it covers
SBasic live video streaming, PTZ control, audio
TAdvanced streaming (H.264/H.265), imaging settings, motion and tampering events
GRecording and storage on the device, playback
MAnalytics metadata (objects, faces, plates)

"ONVIF compatible" on a datasheet means little on its own; check which profiles the camera and the NVR both list. Profile S is what nearly every camera supports.

How ONVIF discovery works

The searching tool sends a WS-Discovery Probe as multicast to 239.255.255.250 on UDP port 3702. Every ONVIF device on the same network segment replies with its address and the URL of its ONVIF service, usually http://<camera-ip>/onvif/device_service on port 80 (some brands use another port, such as 8000, 8080 or 2020).

Two consequences matter in practice:

How to find ONVIF cameras

  1. From the NVR: most NVRs have Add camera → Search with an ONVIF option. It is the quickest if the NVR is on the camera network.
  2. ONVIF Device Manager (Windows, free): it lists every ONVIF device that answers discovery, shows live video and lets you check the stream and settings with the camera's ONVIF login.
  3. Your VMS or recording software: most have an ONVIF scan in the "add device" dialog.

Run these from a PC on the same VLAN as the cameras, and allow the program through Windows Firewall when asked, otherwise the replies are dropped.

Discovery finds nothing: the usual reasons

How to enable ONVIF on a camera

  1. Find the camera's IP (see how to find an IP camera's IP address) and open it in a browser.
  2. Look under Network → Advanced for Integration Protocol, Platform Access or ONVIF. Names differ by brand.
  3. Enable ONVIF. On many cameras (Hikvision, for example) you also create a separate ONVIF user; the normal admin login is not always accepted over ONVIF.
  4. Check the camera's clock: ONVIF logins can fail when the camera's time is far off from the NVR or PC. Turn on NTP.

Finding cameras that don't answer ONVIF

Discovery is only one way in. Cameras still reveal themselves by their MAC vendor (Hikvision, Dahua, Axis, Reolink, Uniview…) and their open ports: RTSP 554, Hikvision 8000, Dahua 37777, XMeye 34567. These checks work whether ONVIF is on or off.

Madconfig does those checks in one scan and puts cameras and recorders in a Camera / NVR group. To be clear: Madconfig does not send ONVIF discovery, so use it to find every camera's IP, then use ONVIF Device Manager to confirm ONVIF on the ones you need.

Madconfig overview counting hosts, cameras and firewalls found on an office network
Madconfig finds cameras by MAC vendor and video ports, with or without ONVIF.

FAQ

What port does ONVIF use?

Discovery uses UDP 3702 (multicast). Commands then go to the camera's web service, usually port 80 at /onvif/device_service.

Is ONVIF the same as RTSP?

No. RTSP carries the video stream. ONVIF is the control layer: it finds the camera, reads its settings and tells software which RTSP address to use.

Is ONVIF a security risk?

Only like any other login on the camera. Use a strong, separate ONVIF user, keep firmware updated, and never forward camera ports to the internet. Turn ONVIF off if nothing uses it.

How do I check an ONVIF camera is working?

Add it in ONVIF Device Manager and open live video, or test its RTSP stream in VLC; see how to check an IP camera.

Find every camera, ONVIF or not

Madconfig · free download · every feature for 5 days · Windows 10 / 11