IPvexa

Self-hosted video management for IP cameras.

  • LinuxUbuntu, Kubuntu, Debian, Arch
  • macOSApple silicon
  • Web browserWeb & phone viewer
Download sourceIPvexa-05e2127-source.zip · 315 KB All 1 download & checksums
Version
build 05e2127
Updated
License
GPL-3.0
Built with
QML
Downloads
1
Mirror

What it does

IPvexa records your cameras around the clock or on motion, with local AI that tells people, vehicles and animals apart. A native desktop app gives you free-form layouts and synced multi-camera playback on a zoomable timeline, while phones and browsers get a lightweight web view. It never contacts the internet: no accounts, no cloud, no containers.

  • Continuous and motion recording without re-encoding
  • Local AI person / vehicle detection
  • Works with Dahua, Hikvision, Reolink, ONVIF, RTSP
  • Hardware decoding: NVDEC, VAAPI, VideoToolbox

Supported systems

  • LinuxUbuntu, Kubuntu, Debian, Arch
  • macOSApple silicon
  • Web browserWeb & phone viewer

Downloads build 05e2127

FilePlatformSizeSHA-256Download
IPvexa-05e2127-source.zipSource Any 315 KB Get
How to verify a download

Every file is hashed as it is mirrored. Drop a file you downloaded here and your browser checks it locally — nothing is uploaded.

Or compare the checksum with the one your system computes:

# Linux
sha256sum IPvexa-05e2127-source.zip
# macOS
shasum -a 256 IPvexa-05e2127-source.zip
# Windows (PowerShell)
Get-FileHash IPvexa-05e2127-source.zip -Algorithm SHA256

Changelog

  1. Mac build: target the installed macOS and set Qt policy QTP0004 (no build warnings)

    05e2127 ·
  2. Installers: get ONNX Runtime from Microsoft's NuGet package when GitHub doesn't have it; Mac: rebuild the app after the folder moves

    47488fb ·
  3. New servers: explain how to add the first camera (web page and macOS installer)

    01cb620 ·
  4. Web: themed timeline length menu that works on phones; header fits phone screens

    4b22a83 ·
  5. Choose where saved video goes; README: calendar, timeline, motion list, saving video

    ac6a693 ·
  6. Save video from a timeline selection: one camera, every synced camera, or one grid video

    4582ef3 ·
  7. Motion view: list every motion clip in the part of the timeline on screen

    bf8c72a ·
  8. Playback controls: large clock and date, round play button, one compact row

    aa50db4 ·
  9. Recording calendar and zoomable timeline on desktop and web

    de41841 ·
  10. Clear alerts and motion events; keep panel button visible; centre the logo

    1423505 ·
  11. Local AI object detection: record motion only for people, vehicles, or both

    3c8a712 ·
  12. README: simpler architecture diagram, feature table headings

    9aa8f97 ·

Documentation

IPvexa logo

IPvexa

Self-hosted video management for IP cameras. Private, offline, and fast.

Continuous and motion recording · local AI person and vehicle detection · native desktop app · synced multi-camera playback · web and phone access

Features · Install · Usage · Web & phones · Configuration · Development · Roadmap


IPvexa records your cameras around the clock or only on motion, and gives you a native desktop app with free-form layouts and synced playback on a zoomable timeline. Browsers and phones get a lightweight web view, and alerts go to the ntfy phone app.

Everything runs on your own hardware. IPvexa never contacts the internet: there are no accounts, no cloud and no containers.

Features

Area Highlights
Recording Continuous or motion-only recording with no re-encoding, so quality is untouched and CPU use stays low. Weekly schedules, per-camera retention, storage limits, and a second disk if you want one.
Live view Free-form layouts with resizable tiles, auto-arrange, digital zoom, tours and video walls on extra monitors. A distraction-free full-screen mode shows only the cameras. Live video stays in real time.
Playback Synced playback of every camera on a zoomable timeline, at 1–16× speed, in reverse and frame by frame. A calendar marks the days with recordings, and a motion list shows every clip in view. Select part of the timeline to save video from one camera, every synced camera, or all of them in one grid video.
Motion Motion detection that learns and ignores swaying trees and flags. It has masks, sensitivity control, and smart search that finds motion in any area you draw.
AI detection Local AI tells people, vehicles and animals apart. Each camera can record and alert only on people, vehicles, people and vehicles, or anything. Parked cars, trees and shadows are ignored. It runs on the server; nothing leaves your network.
Cameras Works with Dahua/Amcrest, Hikvision/Annke, Reolink, OpenIPC, Thingino and any RTSP or ONVIF camera. ONVIF discovery and stream detection, plus PTZ with presets.
Hardware decoding NVIDIA (NVDEC), Intel/AMD (VAAPI) and Apple (VideoToolbox), with automatic fallback to the CPU.
Time sync The server is the cameras' time server (NTP) and corrects any camera clock that drifts, so every camera shows the same time.
Web & phones A no-install web view with live video, playback and events. Phone alerts through ntfy include a snapshot and open the exact moment.
Users Administrator, operator and viewer roles, with per-camera access, playback, PTZ and export permissions, and an audit log.

Install

Linux

Ubuntu, Kubuntu, Debian or Arch. From a clone of this repository:

git clone https://github.com/narl3yyy-svg/IPvexa.git
cd IPvexa
./install.sh

The installer sets up the build tools (it asks for your sudo password), builds IPvexa and installs it as packages: .deb on Ubuntu and Debian, makepkg on Arch. The server runs as a system service under its own ipvexa user and starts at boot. IPvexa appears in the app menu.

When it finishes, it prints the first sign-in password and the address for browsers and phones.

Installer options
Command What it does
./install.sh Install or upgrade the server and the desktop app
./install.sh --client Desktop app only, to view a server on another machine
./install.sh --server Server only, for a headless machine
./install.sh --import-dev Also move a development setup (cameras, users, recordings) into the installed server
./uninstall.sh Remove the programs. Recordings, cameras and settings are kept
./uninstall.sh --purge Remove everything, including all recordings and settings

You can also build packages yourself: ./scripts/build-deb.sh writes them to dist/, and packaging/arch/PKGBUILD works with makepkg -si.

macOS (Apple silicon)

M1 or newer. Install Homebrew first, then:

git clone https://github.com/narl3yyy-svg/IPvexa.git
cd IPvexa
./installmac.sh

The installer adds Go, Qt and FFmpeg with Homebrew. The server is installed as a background service that starts with the Mac, and IPvexa.app goes in /Applications. The first time the app opens, macOS asks for local network access: choose Allow.

A new server starts with no cameras, so the web page shows No cameras on this server yet until you add one. Open IPvexa, sign in to localhost:7480 as admin with the password the installer printed, and click + Add camera. The installer prints these steps at the end of a first install.

Installer options
Command What it does
./installmac.sh Install or upgrade the server and the desktop app
./installmac.sh --client Desktop app only
./installmac.sh --server Server only
./installmac.sh --uninstall Remove the programs. Recordings and settings are kept
./installmac.sh --purge Remove everything, including all recordings and settings

The app uses Homebrew's Qt and FFmpeg, so run the installer again after brew upgrade. Intel Macs are not supported.

[!NOTE] The macOS installer is new. Please open an issue if anything goes wrong.

Updating

git pull && ./install.sh        # Linux
git pull && ./installmac.sh     # macOS

You can update while IPvexa is running. The server restarts by itself, with a few seconds' break in recording. Reopen the desktop app afterwards.

Usage

Open IPvexa, sign in with the password the installer printed, and change it from the user menu.

Cameras and layouts
  • Add a camera: click + Add camera in the tree, pick the brand, and enter the address and login. Detect streams reads the stream addresses over ONVIF, and Find cameras scans the network.
  • Layouts: drag cameras onto the grid.
    • Drag a tile to move or swap it, or drag its corner to resize it.
    • Drag the border between two tiles to change their sizes. Double-click a border to make them equal again.
    • Auto-arrange fills the screen with no empty tiles.
    • Layouts are tabs and save automatically.
  • Tiles: hover over a tile for its toolbar: smart search, info, full screen, settings and remove.
    • Double-click a tile to maximize it.
    • The scroll wheel zooms; drag to pan.
    • Right-click for Maximize frames (no black bars), Stretch video to tiles, or Open zoomed area as new tile.
  • Full screen: the toolbar button (or F11) shows only the live cameras, edge to edge. Double-click a camera there to fill the screen with it. Esc goes back.
  • Tours and video walls: Tour cycles through the layout tabs. To put a layout on another monitor, right-click its tab and choose Show full screen on.
Live view quality
  • Quality: Auto / High / Low in the toolbar applies to the whole layout. Each tile's AUTO/HD/SD button overrides it.
  • Live smoothing: Fast / Smooth / Smoothest trades a little delay for even motion. Smooth (about 0.6 s) suits most Wi-Fi cameras; Smoothest (about 2.5 s) hides longer Wi-Fi pauses. If the app falls behind for a moment, it catches up to real time within a second or two.
  • On-demand streams: high-quality streams are only pulled while someone watches them (unless they are being recorded). That halves the load on Wi-Fi cameras.
  • Hardware decoding: the tile's info shows which decoder is in use (NVDEC, VAAPI, VideoToolbox or CPU). With an NVIDIA GPU, the server also runs motion detection on the GPU. Set IPVEXA_NO_HWDEC=1 to use the CPU only.
Timeline and playback
  • Colors: green is recorded footage, red is motion and amber flags are bookmarks.

  • Navigating: the ruler shows the day above the time. Scroll or double-click to zoom, drag to pan, click to jump, or drag the strip underneath to move through the days. Hover over footage for a picture preview. The length menu (for example 1h ▾) shows 1 hour, 1 day, 1 week or the whole day.

  • Calendar: click the date beside the clock. Days with recordings are marked (red when there was motion) and only those can be picked. Hover a day to see the hours recorded and the motion count. Picking one shows the whole day and plays from its first footage.

  • Motion list: the Motion tab in the right panel lists every motion clip in the part of the timeline on screen, with a thumbnail, the time, the length and what the AI saw. All / People / Vehicles filters it, the clip being played is highlighted, and clicking a clip plays it.

  • Saving video:

    1. Shift+drag on the timeline to select a part (or right-click › Start selection here / End selection here). Drag the edges of the blue band to adjust it.
    2. Right-click any video, or click Save… in the bar above the timeline.
    3. Choose just this camera, every synced camera as separate files, or every synced camera in one grid video with names and the date and time. Change… picks the folder; the app remembers it.

    Single and separate files are copied as recorded, so they are ready in seconds. The grid video is made on the server and takes about as long as the clip. Up to 2 hours at a time.

  • Bookmarks: right-click the timeline to bookmark a moment.

  • Sync: plays every camera on the layout at the same moment. With Sync off, only the selected camera plays back and the others stay live.

  • Controls:

    • The large clock shows the time of the playhead, and LIVE or Go live sits on the right.
    • ⏮ ⏭ jump between events, −30 / +30 skip 30 seconds, and ‹| |› (or , and .) step one frame.
    • 1× steps through 2×, 4×, 8× and 16×, and ◂◂ plays backwards.
    • Space plays and pauses, ← / → jumps 10 seconds, and L goes live.
Motion detection and recording
  • Motion: camera settings › Motion turns detection on, sets the sensitivity and lets you paint areas to ignore. Things that keep moving in place, such as trees and flags, are learned and ignored. Motion only counts once something moves across the picture or comes closer.
  • Recording: Always or Only when there's motion. Motion-only recording keeps 10 s before and after each event; the buffer is adjustable.
  • Schedules: a weekly schedule can switch the mode at set times.
  • Low-quality stream: Also record the low-quality stream makes playback in small tiles smooth.
  • Smart search: click the magnifier on a tile and drag a box. The timeline then shows only motion inside it.
AI object detection
  • Choose what counts: camera settings › Motion › Motion counts for: Anything that moves, People, Vehicles, or People and vehicles.
  • How it works: while there is motion, the server looks at a few pictures a second with an object detection model. With a filter set, the event only starts (and is recorded and notified) once a wanted object is seen moving. Swaying trees, shadows, rain and animals don't count. Objects that stand in the same place, such as parked cars, are learned and ignored too.
  • Labels: every motion event lists what moved, for example person, car. The event list shows PERSON, VEHICLE or ANIMAL, and phone alerts say "Person moving at 14:02".
  • Speed: the server times the model at start-up. Fast processors use YOLOX-S, the more accurate model. Small mini PCs switch to YOLOX-Tiny (about 80 ms on an Intel N150). Only pictures with motion are analysed.
  • Setup: the installer downloads ONNX Runtime and the YOLOX models from their official releases and checks their checksums. Without an internet connection, motion works as before without the filter; run the installer again later to add it. Set IPVEXA_NO_AI=1 to turn AI off.
Users and permissions
  • Managing users: user menu › User management.

  • Roles: Administrator, Operator and Viewer, with per-user camera lists and playback, PTZ and export permissions.

  • Audit log: admins also get one.

  • Forgotten password: an admin can reset it in User management, or run this on the server:

    sudo -u ipvexa ipvexa-server -data /var/lib/ipvexa passwd admin

Web and phones

Open http://<server>:7480 in any browser. No app or plugin is needed.

  • Live and playback: a camera grid, and a single-camera view with the same timeline, calendar and controls as the desktop app. Tap the timeline to play from a moment (a gap jumps to the next recording), pinch or double-tap to zoom, and pause keeps the picture on screen.
  • Motion list: below the timeline, every motion clip in view, with All / People / Vehicles filters.
  • Saving video: tap Select, drag on the timeline (or Shift+drag with a mouse), then Save video downloads that part of the camera in the original quality.
  • Full quality where possible: H.264 plays everywhere and H.265 on many phones. Otherwise the page falls back to a lighter picture stream. SD / HD switches between the substream and the main stream.
  • Runs indefinitely: if a stream is interrupted, the page reconnects by itself within seconds. It also renews the connection every 30 minutes without a visible gap.
  • ⛶ Full screen: shows only the cameras. Move the mouse or tap to get the exit button.
  • Phone alerts: user menu › Phone notifications walks you through the ntfy app.
    • Rules can cover motion, a camera going offline or coming back, and a nearly full disk, for chosen cameras, days and hours, with cooldowns.
    • They can also add bookmarks and call webhooks, for example for Home Assistant.
    • Each alert carries a snapshot, and tapping it opens that moment.

Configuration

Server settings (user menu, for admins):

  • the recordings folder
  • how long footage is kept
  • the motion buffer
  • how much of the disk to keep free
  • an optional storage limit for all footage
  • how long motion events are kept
Recordings on a second disk

The server may write under /var/lib/ipvexa, /mnt, /media, /srv and /data. Create a folder owned by the ipvexa user, then enter it in Server settings:

sudo mkdir -p /mnt/disk2/ipvexa && sudo chown ipvexa:ipvexa /mnt/disk2/ipvexa

New recordings go to the new folder. Older footage stays where it is and still plays.

Camera time sync

The server is also a time server (NTP), so cameras without internet access keep the same time as the server.

  1. In each camera's Date & Time settings, turn on NTP and enter the server's address with port 123. Server settings › Camera clocks shows the address to use.

  2. If the server's firewall is on, allow NTP from the camera network:

    sudo ufw allow from 192.168.1.0/24 to any port 123 proto udp

The server also checks every camera's clock every 30 minutes over ONVIF. It corrects any clock that is 2 seconds or more off, but only while its own clock is synchronized. Health shows each camera's clock and where it gets its time.

Ports and files

Linux macOS
Web, API and app TCP 7480 TCP 7480
Time server for cameras UDP 123 UDP 123
Data and recordings /var/lib/ipvexa /Library/Application Support/IPvexa
Service systemctl status ipvexa-server sudo launchctl print system/org.ipvexa.server
Logs journalctl -u ipvexa-server /Library/Application Support/IPvexa/server.log
AI model and runtime /var/lib/ipvexa/ai /Library/Application Support/IPvexa/ai

Remote access

IPvexa never contacts the internet (only the installer downloads its build tools and AI model). To reach it away from home, connect to your network with a VPN such as WireGuard or Tailscale, then open http://<server-lan-ip>:7480.

Warning

Don't forward port 7480 on your router. Exposing a camera system directly to the internet is a serious security risk.

Architecture

flowchart TB
    C["IP cameras<br/>RTSP · ONVIF"] -->|video| S["ipvexa-server · Go<br/>recording · motion · live hub · SQLite"]
    S -->|live · playback · API| A["IPvexa desktop app<br/>Qt 6 · C++"]
    S -->|web view| B["Browsers & phones"]
    S -->|alerts| N["ntfy"]
    S -.->|NTP time| C
Loading
Folder Contents
server/ ipvexa-server (Go). It records with FFmpeg, detects motion and objects (AI), streams live and recorded video, sends alerts, and serves the API and web view.
client/ IPvexa desktop app (Qt 6, QML and C++, with FFmpeg and hardware decoding).
packaging/ systemd unit, desktop launcher and icon, Arch PKGBUILD and macOS app info.
scripts/ Install, packaging and development helpers.

Goals, design decisions and the roadmap are in PLAN.md.

Development

Run from source:

# Server: data in ~/.local/share/ipvexa; the first admin password is saved there
cd server && go build -o bin/ipvexa-server ./cmd/ipvexa-server && ./bin/ipvexa-server -debug

# Desktop app
cd client && cmake -S . -B build -G Ninja && cmake --build build && ./build/ipvexa

Tests:

cd server && go test ./...
cd client && cmake --build build --target layout_tests pacer_tests && ./build/layout_tests && ./build/pacer_tests
App options for testing and support
  • --seek <minutes>: start in playback that many minutes ago
  • --open <users|password|notifications|audit|settings|addcamera|events|tour|wall:<screen>|fullscreen:<tile>>: open a screen on start
  • IPVEXA_DEBUG=1: show FFmpeg messages and live timing
  • IPVEXA_NO_HWDEC=1: decode on the CPU only

License

IPvexa is free software under the GNU General Public License v3.0.

The AI files the installer downloads keep their own licences: ONNX Runtime is MIT-licensed (Microsoft), and the YOLOX models are under the Apache License 2.0 (Megvii).

↑↓ navigate↵ open