Skip to content

A comprehensive tool for analyzing Network Video Recorder (NVR) devices and their connected cameras

Notifications You must be signed in to change notification settings

molesza/nvr-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

NVR Analyzer

A comprehensive tool for analyzing Network Video Recorder (NVR) devices and their connected cameras.

Features

  • Multi-brand support: Automatically detects or manually specifies NVR brand (Dahua, Hikvision, ONVIF)
  • Multiple information gathering methods:
    • Direct API calls to NVR configuration endpoints
    • ONVIF protocol for standardized access
    • RTSP stream analysis for reliable fallback
  • Camera screenshot capture: Saves a snapshot from each working camera
  • Overlay text extraction: Uses AI to extract camera names from video overlays
  • Accurate bitrate calculation: Captures short video segments to calculate actual bitrate
  • Comprehensive reporting: Generates CSV reports and detailed logs
  • Multi-NVR scanning: Can scan multiple NVRs in a single run

Quick Start

# Make the script executable
chmod +x nvr-analyzer.py

# Install dependencies
./nvr-analyzer.py --install-deps

# Run the analyzer
./nvr-analyzer.py --ips 192.168.1.100 --username admin --password your_password

Documentation

For detailed documentation, see nvr-analyzer.md.

Requirements

  • Python 3.6 or higher
  • FFmpeg (required for stream analysis and screenshot capture)
  • Python libraries:
    • requests
    • pillow (optional, for image resolution detection)

License

This tool is provided as-is with no warranty. Use at your own risk.

About

A comprehensive tool for analyzing Network Video Recorder (NVR) devices and their connected cameras

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages