Skip to main content

A tool for processing video files using opencv numpy matplotlib vidgear pyffmpeg moviepy and vidgear.

Project description

FFTrix Enterprise Security & Streaming Server

FFTrix is a professional-grade, multi-threaded NVR (Network Video Recorder), AI Surveillance, and Streaming Production server built entirely in Python. It combines high-performance video handling with real-time AI analytics, auto-discovery, PTZ control, and a modern, secure web-based Command Center.

🚀 Key Features

  • Multi-Threaded Node Architecture: Every camera stream runs in its own isolated background thread for maximum stability and low latency.
  • AI Analytics Suite: Real-time Motion Intrusion, Facial Detection, Human Personnel tracking, and License Plate Recognition (LPR).
  • Auto-Discovery & PTZ: WS-Discovery for automatic ONVIF camera configuration and zero-friction Pan/Tilt/Zoom continuous control.
  • Smart Zoning & Alerts: Draw custom security boundaries directly on the video feed to trigger Email and Webhook notifications on high-value intrusions.
  • Enterprise DVR: Automated 24/7 continuous recording with intelligent event flagging, time-ranged Clip Exports, and Auto-Retention cleanup policies.
  • Professional Watermarking: Customizable static or dynamic (floating) alpha-blended text and image overlays for branding and anti-theft.
  • Secure Remote Access: Built-in Zero-Trust tunneling (via pyngrok) and session-based authentication for worldwide secure monitoring.
  • Dynamic Surveillance Matrix: Scalable 1x1 to 4x4 hardware-accelerated monitoring grid.

🛠 Tech Stack

  • UI Framework: NiceGUI (Pure Python Web UI)
  • Streaming Engine: VidGear (High-performance FFmpeg wrapper)
  • Computer Vision: OpenCV and Tesseract OCR (for LPR)
  • Device Management: ONVIF protocol over SOAP
  • Database: SQLite3
  • Automation: uv (Package & Environment Management)

🚦 Quick Start

Prerequisites

  • Python 3.14+
  • FFmpeg installed on your system path.
  • Tesseract OCR (Optional, for OCR mode).

Installation

Using uv (Recommended):

uv add fftrix

Using pip:

pip install fftrix

Running the Server

# Launch the Dashboard (Local Network)
fftrix serve

# Launch with Secure Remote Tunnel (Public Internet)
fftrix serve --remote

# Force CLI Mode (No UI)
fftrix serve --cli-mode --mode motion --source 0

Default Credentials:

  • Username: admin
  • Password: admin
  • Change these immediately using: fftrix user add admin

🛠 Development

To install for development:

git clone https://github.com/your-username/fftrix.git
cd fftrix
uv sync

📖 Documentation

Detailed documentation is available in the docs/ directory:

📄 License

MIT License - see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fftrix-1.2.1.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fftrix-1.2.1-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file fftrix-1.2.1.tar.gz.

File metadata

  • Download URL: fftrix-1.2.1.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fftrix-1.2.1.tar.gz
Algorithm Hash digest
SHA256 5ffea53db448202301b480059b15b8751a5c2ebaf711fd9b9a3d887e8890bec1
MD5 fa93b739f05f9dec6eecb48973c48377
BLAKE2b-256 d590c05d1a2d477404591e0e045eaf88a88762b4ed014e081e4fc36aeb61bd65

See more details on using hashes here.

File details

Details for the file fftrix-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: fftrix-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for fftrix-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 52672617fc16a789f0ed7c0c222ac6f3488afe62f0841a98b5440ee217688403
MD5 4ab3d5fa0e2ed88df7113ad0eacbbd71
BLAKE2b-256 affff72763a07e3339ecb36150283dd1427bd6388a7ca6f9483f6e487888afe8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page