I built a Virtual ONVIF RTSP Server with Custom Camera Layouts

tmushy

Getting the hang of it
Oct 17, 2017
104
47
I wanted to share a project I’ve been working on.

This project was originally built with UniFi Protect in mind, but it has since evolved into something much more. One of my favorite features is GridFusion, which lets you create custom camera layouts and stream them over RTSP as a single, unified view.

My primary use case is Amazon Fire Sticks. Instead of adding multiple individual cameras into TinyCam, I can view all of my cameras in one clean, custom layout using a single stream.

As many of you know, Ubiquiti Protect is a fantastic NVR, but it can be notoriously picky when it comes to third-party ONVIF cameras. Even when those cameras technically “work,” Protect often runs into issues if multiple devices don’t have unique hardware identities.

To solve this, I built Tony’s ONVIF-RTSP Server — a robust gateway that takes any standard RTSP stream and presents it as a fully compliant, high-performance virtual ONVIF camera.

The application also functions as an RTSP proxy, allowing you to pull as many streams as you need without overloading the source camera.

Please note that this project is designed for typical home users, not enterprise environments. Optional web login credentials are supported. MediaMTX and FFmpeg are required, and confirmation prompts are provided before installing FFmpeg, MediaMTX, and Python (pip) dependencies.

Its all open source and can be found at
GitHub - BigTonyTones/Tonys-Onvf-RTSP-Server

I would love your input!
 

Attachments

  • gridfusion.png
    gridfusion.png
    75.9 KB · Views: 9
  • main.png
    main.png
    159 KB · Views: 9
Last edited: