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.2.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.2-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fftrix-1.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 07cea8b8226d30c4ab9ab3f22d7755c7c928690aacb9091751add771cb21785e
MD5 b971f77a0f4e74b96c6e600fa6b4ffd5
BLAKE2b-256 cfe9e701d943c2fffb284e04e770853643ddb693637c29bf59ab2a680c8ecf2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fftrix-1.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7468ad5156b08411472235e7e88250c8bf9002ed0d3e7b304d3562bece1862ec
MD5 fa5ad86c9e007dea795a82cac34a0fbe
BLAKE2b-256 c1adf02fdada73acb72da5d33d908f22d5b058d228270206e6885195f6c79bb1

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