TEST

You can install go2rtc on your Raspberry Pi 4 without Docker using a few terminal commands. It has a web interface and can act as an ONVIF server for your EZVIZ camera stream. GitHub+1

We’ll do it step by step.

Step 1: Install go2rtc

Open the terminal on your Raspberry Pi and paste this entire block:

sudo apt update
sudo apt install -y wget

mkdir -p ~/go2rtc
cd ~/go2rtc

ARCH=$(uname -m)

if [ "$ARCH" = "aarch64" ]; then
  BINARY=go2rtc_linux_arm64
else
  BINARY=go2rtc_linux_arm
fi

wget -O go2rtc \
  "https://github.com/AlexxIT/go2rtc/releases/latest/download/$BINARY"

chmod +x go2rtc

This automatically selects the 64-bit or 32-bit Raspberry Pi binary.

Step 2: Start go2rtc

Run:

cd ~/go2rtc
./go2rtc

If successful, you should see startup messages indicating that the web interface is listening on port 1984.

Keep this terminal open for now.

Step 3: Open the web interface

Open another terminal on your Raspberry Pi and run:

hostname -I

Suppose your Raspberry Pi IP address is 192.168.0.120.

On your Windows PC or Raspberry Pi browser, open:

http://192.168.0.120:1984

Replace 192.168.0.120 with your actual Pi IP address.

The go2rtc web interface should only be accessible on your trusted local network. Do not forward port 1984 to the internet.

Step 4: Add your EZVIZ C6N camera

In the go2rtc web interface, open Config and add:

streams:
  ezviz:
    - rtsp://admin:YOUR_CAMERA_PASSWORD@192.168.0.114:554/ch1/main

Replace YOUR_CAMERA_PASSWORD with the same password that worked in VLC. Save the configuration and restart go2rtc if prompted.

Then open Streams and test the ezviz stream.

Your camera should now be available through the Raspberry Pi at:

rtsp://RASPBERRY_PI_IP:8554/ezviz

The default RTSP server port is 8554. go2rtc.org

Step 5: Test ONVIF

On Windows, open ONVIF Device Manager.

Check whether it discovers the Raspberry Pi’s go2rtc ONVIF server and whether you can open the ezviz stream.

Go2rtc documents ONVIF server support, including testing with ONVIF Device Manager. However, compatibility with your particular CP PLUS NVR is not guaranteed. go2rtc

Once ODM works, we’ll configure Channel 3 of your NVR using the Raspberry Pi’s IP address.

First, confirm installation

What happened after running ./go2rtc?go2rtc started successfullyDownload failedPermission deniedAnother error appeared

Continue setup

Once the camera works through go2rtc, we’ll set it up to start automatically when your Raspberry Pi boots, so you won’t need to keep a terminal open.

Comments are closed