ONVIF-Pi – ONVIF camera on Raspberry Pi

New ONVIF-Pi firmware is available. ONVIF-Pi is a firmware for Raspberry Pi which turns your Pi into an ONVIF camera. Highlight features:

  • Support more video resolutions 1920×1080, 1280×720, and 640×480. (Previous version only supports 1280×720)
  • Support G.711 and AAC-LC audio encoding. You need an USB microphone supported by Raspberry Pi official kernel. Alternatively, it also supports a simulated audio source with 1kHz waveform.
  • Video capture and encoding via gst-rpicamsrc
  • GStreamer RTSP Server (replace Live555)
  • Upgrade to the latest ONVIF specification (v16.12).
  • Root file system on RAM disk

Supported hardware: Raspberry Pi 2B/3B, Pi camera module v1 (OV5647) and v2 (IMX219).

[2017/07/17 Updated]
The firmware passed Profile S conformance test of ONVIF Device Test Tool v17.06.
Download: SD card image and test report

ONVIF account: admin / admin
Console login: root / raspberry

New Release: ONVIF-Pi and ONVIF-Emulator

Since we provide ONVIF Profile S software for IP cameras, we received many requests of demo firmware for popular platforms. Thanks for your long awaiting. We release ONVIF-Pi and ONVIF-Emulator for free download. Both firmwares passed Profile S conformance test of the latest ONVIF Device Test Tool v16.01.


ONVIF-Pi is a demo firmware for popular Raspberry Pi. We test the firmware with the following hardware:

  • Raspberry Pi Model B (BCM2835)
  • Raspberry Pi 2 Model B (BCM2836)
  • Pi Camera Module v1 (OV5647)

At present, we only provide fixed video resolution 1280×720. Maximal bitrate is also limited up to 8Mbps. Actually the VideoCore IV GPU is very powerful and is able to generate H.264@1920×1080 25Mbps video stream. However, the arm11 core of BCM2835 is not powerful enough to output high bitrate RTSP/RTSP stream, especially using TCP mode. On the contrary, 25Mbps is just a piece of cake for newer BCM2836 (quad cortex-A7).

Download links:

  • Firmware Image (build 2016-06-10). Default user name and password are “admin” and “admin”;
  • Test Report (Profile S, ONVIF Device Test Tool v16.01)



If you don’t have Raspberry Pi, we also provide another test firmware (Linux 64bits) for VirtualBox. It uses pre-recorded video files, so frame rate and video quality settings have no effect.

Download links:

  • VirtualBox Image (build 2016-05-29). Default user name and password are “admin” and “admin”;
  • Test Report (Profile S, ONVIF Device Test Tool v16.01)

Note that your host machine must support hardware virtualization (Intel VT-x or AMD-V) to boot a 64bit Linux virtual machine. We would release a 32bit version with better hardware/OS support.

Both firmware have a simple web page that allow users to trigger events manually. We recommend ONVIF Device Manager as Windows client software. You could see event notification using PullPoint subscription.

These two projects are for evaluation and only support mandatory features of ONVIF Profile S. We support more advanced ONVIF features including device I/O, imaging and PTZ services for real IP camera products based on TI DM365/368, TI DM812x, and VATICS Mozart 395S. Please contact us for more details. mailto:info@lingodigit.com

ONVIF camera support of VMS

We test several VMS to check which ONVIF functions are supported. The camera is AXIS P3301 with firmware version 5.40.9. The result is same as our ONVIF v2.2 for DM368.

Milestone XProtect Go is the leader. It support all the functions we listed. Most important, it supports motion detection and input port events well. Both exacqVision and Avigilon claim supporting ONVIF motion event but they are not working in our test. Maybe event topics used by P3301 are not recognized.