CCTV RTSP to html Server

Опубликовано: 24 Май 2026
на канале: LetsDoIt
130
0

Description

Build your own CCTV RTSP to HTML live video server using a Raspberry Pi, Node.js, FFmpeg, and rtsp-ffmpeg. In this video I walk through the full process of streaming a network IP camera to a web browser with low latency — perfect for DIY security systems, monitoring dashboards, kiosk displays, or remote camera feeds.
This project works with most RTSP-compatible CCTV cameras including Hikvision, Dahua, Uniview, Reolink, ONVIF cameras, and many generic IP cams.

🧩 What this project does
✔️ Reads an RTSP stream from a CCTV camera
✔️ Uses FFmpeg to convert the stream for the browser
✔️ Streams video to an HTML page using Node.js
✔️ Works on Raspberry Pi 4 / 5 & Linux PCs
✔️ Runs as a lightweight local video server

🛠️ Technologies used
Raspberry Pi OS / Linux
Node.js & Express
FFmpeg
rtsp-ffmpeg package
HTML5 video player

🚀 Typical Use Cases
🎥 Home CCTV viewer
🖥️ Factory / machine monitoring
🚜 Farming / equipment camera feeds
📡 Remote site monitoring
🧪 Lab or test-bench camera
🖼️ Kiosk display / full-screen monitor

Sample RTSP Stream Format
rtsp://username:password@camera-ip-address:554/stream1
(Replace with your camera’s RTSP path)

💻 Features you can extend later
🔹 Multiple camera support
🔹 Web dashboard viewer
🔹 Authentication login
🔹 ONVIF discovery
🔹 Motion detection
🔹 HLS or WebRTC streaming
Comment below if you'd like videos on these!

#raspberrypi #raspberrypi5 #raspberrypi4 #nodejs #ffmpeg #rtsp #rtspstream #cctv #ipcamera #securitycamera #videoserver #streamingserver #homelab #diyprojects #electronicsprojects #makerprojects #iotprojects #webdevelopment #selfhosted #opensource #techprojects #raspberrypiprojects #codingproject #networkcamera #linuxprojects #edgecomputing