RTSP Camera Stream Dashboard

1 min read
RTSP Camera Stream Dashboard

After years of reliable camera streaming, I recently upgraded my RTSP Camera Dashboard from a Raspberry Pi to a Dell Mini OptiPlex with Ubuntu. I am still using the Wyze Cameras flashed with the RTSP firmware, which works great as long as your Wi-Fi connection is reliable. I also rewrote the camera streaming software using C++.  This setup lets you live stream four cameras to a monitor, which works great for a DIY home security system.

Setup

  1. Copy the C++ code and create a new file called rtsp_viewer.cpp
  2. Update the 4 RTSP URLs in the rtsp_viewer.cpp file  to be your camera URLS
  3. sudo apt install libopencv-dev libsdl2-dev
  4. g++ rtsp_viewer.cpp -o rtsp_viewer `pkg-config –cflags –libs opencv4 sdl2` -pthread
  5. ./rtsp_viewer
  6. Setup this application to start on reboot