Skip to main content

Quick start

CCNVR is a network video recorder that does everything in a single process: device onboarding, live view, recording storage and playback.

Pick one of the four deployment methods below. The first visit always opens the setup wizard — set the language, local addresses and admin password there.

MethodBest forArtifact
WindowsDesktops, industrial PCsccnvr-windows-amd64-<version>.zip
LinuxProduction, auto-start on bootccnvr-linux-amd64-<version>.zip
DockerServers, NAS, quick trialsImage ccnvr/ccnvr:latest
Feiniu fnOSx86_64 NAS, native app lifecycleManual-install ccnvr-v<version>-x86.fpk

Windows deployment​

  1. Extract ccnvr-windows-amd64-<version>.zip to any directory.
  2. Double-click start.bat.
  3. Open http://127.0.0.1:16188.

To stop: double-click stop.bat.

Notes
  • Use start.bat, do not double-click ccnvr.exe directly. start.bat also launches the watchdog process, which restarts the service after a crash.
  • Do not kill ccnvr.exe alone from Task Manager — the watchdog will bring it back. Always stop with stop.bat, which terminates both the watchdog and MediaServer.
  • Windows Firewall prompts on first start — you must allow it, otherwise other machines on the LAN cannot reach it.
  • Only Windows system DLLs are required; no .NET or VC++ runtime needed.

Linux deployment​

1. Extract and start​

unzip ccnvr-linux-amd64-<version>.zip -d ccnvr-linux-amd64
cd ccnvr-linux-amd64
chmod +x ccnvr ffmpeg start.sh stop.sh MediaServer/MediaServer ai/bin/ccai
sudo ./start.sh

The start script prints the access address of every NIC on the machine. Open http://<ip>:16188.

2. Common commands​

./start.sh                # Start in background (survives terminal close)
./stop.sh # Stop
./start.sh status # Process status and health check
sudo ./start.sh service # Install systemd service: auto-start + auto-restart

Upgrades are done in the web console under System info → Version & upgrade — no need to extract the package over the existing files.

Notes
  • No root needed by default. All default ports are above 1024. Only if you change a distribution port to a privileged port (<1024, e.g. RTSP 554) do you need sudo, or sudo setcap 'cap_net_bind_service=+ep' ./MediaServer/MediaServer.
  • Do not mix sudo and a normal user. Once started with sudo, configs/config.toml is owned by root and a normal-user start can no longer read it. Always use sudo, or fix it with sudo chown -R $(id -un):$(id -gn) ..
  • Requires glibc ≥ 2.31: Ubuntu 20.04+ / Debian 11+ / CentOS Stream 9+.
  • A static ffmpeg ships in the package — nothing to install.

Docker deployment​

CCNVR publishes a Linux/amd64 image. Choose where Docker runs, then choose an online or offline package. The four paths below are complete; follow only the one that matches your host.

HostOnline packageOffline package
Windows + Docker DesktopWindows onlineWindows offline
Linux + Docker EngineLinux onlineLinux offline

Before you start​

  • Windows: install Docker Desktop and switch to Linux containers.
  • Linux: install Docker Engine and the Compose plugin.
  • Both: allow TCP 16188 in the host firewall and keep the /data volume mounted.
  • Windows uses compose.bridge.yaml and bridge networking. Linux uses compose.yaml with host networking.

Windows + online package​

  1. Download ccnvr-docker-online-v<version>.zip from the download page.
  2. Extract it and open PowerShell in the extracted folder.
  3. Pull the image and start CCNVR:
docker compose -f compose.bridge.yaml up -d
  1. Open http://localhost:16188 and complete the setup wizard.

Windows + offline package​

  1. Download ccnvr-docker-offline-v<version>.zip from the download page.
  2. Extract it and open PowerShell in the extracted folder.
  3. Load the bundled image:
Get-ChildItem .\image\*.tar.gz | ForEach-Object { docker load -i $_.FullName }
  1. Start CCNVR:
docker compose -f compose.bridge.yaml up -d
  1. Open http://localhost:16188 and complete the setup wizard.

Docker Desktop cannot use host networking. ONVIF auto-discovery does not work across the bridge network; add cameras with their RTSP URLs.

Linux + online package​

  1. Download ccnvr-docker-online-v<version>.zip from the download page.
  2. Extract it and enter the folder:
cd /path/to/ccnvr-docker-online-v<version>
  1. Pull the image and start CCNVR with host networking:
docker compose -f compose.yaml up -d
  1. Open http://<server-ip>:16188 and complete the setup wizard.

Linux + offline package​

  1. Download ccnvr-docker-offline-v<version>.zip from the download page.
  2. Extract it and enter the folder:
cd /path/to/ccnvr-docker-offline-v<version>
  1. Load the bundled image:
for f in image/*.tar.gz; do docker load -i "$f"; done
  1. Start CCNVR with host networking:
docker compose -f compose.yaml up -d
  1. Open http://<server-ip>:16188 and complete the setup wizard.

Host networking keeps SIP/RTP and ONVIF multicast discovery working. Allow TCP 16188, UDP 15060, and the RTP port range required by your deployment. When GB28181 cascade is enabled, also allow TCP + UDP 15061.


fnOS deployment​

The native fnOS package targets x86_64 devices and does not require Docker. CCNVR and its bundled CCAI analysis service run as processes managed by the fnOS application lifecycle.

  1. On the download page, select fnOS and download the manual-install ccnvr-v<version>-x86.fpk.
  2. Open App Center on the fnOS desktop, choose Manual installation, and upload the .fpk file.
  3. After installation, open CCNVR from the fnOS desktop. The CCNVR setup wizard opens in a new browser tab.
  4. Allow TCP 16188 on the LAN firewall. Add the other ports only when you use the corresponding protocols.

CLI alternative:

appcenter-cli install-fpk ccnvr-v<version>-x86.fpk
fnOS-specific notes
  • Use the .fpk distributed for manual fnOS installation. Standard Linux ZIP packages and Docker images do not install the desktop entry or fnOS lifecycle scripts.
  • fnOS currently distributes this release through manual installation rather than the public App Center listing.
  • Upgrade from fnOS App Center. In-app self-upgrade is disabled for the native package so that fnOS remains the owner of the application lifecycle.
  • Ports 16198 and 18090 are internal services. Keep them on loopback and do not expose them through port forwarding or a reverse proxy.
  • Configuration, the database and recordings are preserved during a package upgrade. The first uninstall keeps user data; remove it explicitly only after confirming that it is no longer needed.

First-run setup​

The first visit opens the setup wizard:

  1. Language
  2. Network — GB28181 SIP advertised IP (LAN IP for local deployments, public IP for internet-facing ones), media server IP (127.0.0.1 is fine for a local install)
  3. Product name
  4. Admin password — default account admin, password admin; the default password cannot be kept

The wizard does not appear again.

Upload the .lic file under System info → License; it takes effect immediately without a restart. Without a license, CCNVR runs as the free edition (5 channels by default). Channels beyond the licensed count can still be managed and deleted, but not previewed or played back.


Xiaomi / Mi Home cameras​

Choose Xiaomi / Mi Home when adding a camera, then scan the displayed QR code with the Mi Home app and confirm on your phone. CCNVR encrypts the account token and keeps it on the server inside the /data volume; it is never sent to the browser.

You can add multiple Xiaomi accounts without a fixed account limit. Each device keeps its source account, so playback and reconnects continue to use the correct credentials after switching accounts in the UI.

If QR login is unavailable, use the account and password fallback and select the matching region. The camera and CCNVR must be on the same LAN, and the server must be able to reach Xiaomi cloud services. Linux Docker deployments must use host networking; Docker Desktop bridge networking cannot provide the required camera P2P connection.

On C700, pan/tilt controls are available while live video is active. Two-way audio is experimental and uses 48 kHz stereo Opus; microphone access requires HTTPS or the documented local-address exception.


Channel folders​

Open a channel card’s action menu and choose New folder to create a personal folder containing that channel. Drag a channel onto a folder or choose Move to folder from its action menu. Deleting a folder returns its channels to their default grouping.

Dropping onto an automatic device folder prompts you to create a custom folder with the same name and move the displayed channels into it.

Folders support two levels. Creating a folder from a channel in a top-level folder places it inside that folder. You can also drag a channel directly onto a subfolder in the same view.

On the video wall, click a folder to expand it. Drop a folder onto the wall to replace the current view with its direct channels, starting from the first pane. Unused panes stay empty. On narrow screens, open the channel list from the toolbar and tap a channel to place it in an available pane.

Ports​

On a cloud server, open these in the provider's security group as well as the host firewall — the security group is the most commonly missed step.

PurposePortProtocolRequired
Web console + ONVIF SOAP16188TCPYes
GB28181 SIP signaling15060TCP + UDPFor GB28181
GB28181 cascade signaling (optional)15061TCP + UDPOnly when cascade is enabled
GB28181 media31100-31200TCP + UDPFor GB28181
RTSP distribution25540TCPOptional (enable in Settings)
RTMP push / distribution19350TCPOptional (enable in Settings)
WebRTC media31300TCP + UDPOptional (enable in Settings)
ONVIF WS-Discovery3702UDPOptional (LAN discovery)

If you use Cloudflare or another CDN: only HTTP(S) can be proxied (orange cloud). RTSP, RTMP, WebRTC and GB28181 need a DNS-only (grey cloud) hostname or a direct connection to the origin IP.

Optional ports are off by default; enable them under Settings → Stream distribution. Web playback, snapshots and recording do not depend on them.

Upper platforms are added under Settings → GB28181 Cascade; nodes are stored in the local database. Cascade supports catalog subscription, live playback and recording playback/download. When adding an upper platform, use the Local Cascade ID assigned by that platform or start with the suggested ID and edit it before saving.

After setup, saving a new GB28181 host address or SIP port restarts CCNVR. A warning icon appears if the host IP is missing from the server’s network interfaces.

Fresh installs with bundled CCAI enable the analysis service by default. Configure channel rules on the AI video analysis page. See Use built-in AI video analysis.


Troubleshooting​

SymptomCause
GB28181 devices keep timing out and the server logs no SIP traffic at allUDP 15060 is not open in the security group / firewall
ONVIF devices are not discovered on the LANDocker is on a bridge network; switch to --network host
Device registers but shows no videoRTP range (31100-31200) UDP is blocked, or Sip.Host / Media.SDPIP is not set to the public IP
License upload returns invalidNo license public key built into the server, or the license does not match this device code
Linux start says it cannot read config.tomlA previous sudo start changed the file owner to root

See FAQ, Contact and the API reference for more.

The built-in continuous recording plan and new recording plans default to 30 days of retention.