Skip to main content

Scan networks for RTSP cameras, test streams, discover channels

Project description

RTSP Network Scanner

Scan networks for RTSP cameras - finds hosts, ports, and channels in one command.

Install

pip install rtsp-network-scanner

Usage

# Scan local network (auto-detected) - finds cameras, ports, and channels
rtsp-network-scanner scan

# Scan specific network
rtsp-network-scanner scan 192.168.1.0/24

# Scan single host
rtsp-network-scanner scan 192.168.1.100

# Scan with credentials (validates auth, shows codec/resolution)
rtsp-network-scanner scan -u admin -p password

# Check if cameras are actually working (requires ffmpeg)
rtsp-network-scanner scan --check

# Simple output (minimal info)
rtsp-network-scanner scan --simple

# Detailed output (all info)
rtsp-network-scanner scan --detailed

# Skip channel discovery (ports only)
rtsp-network-scanner scan --skip-channels

What it does

One command scans everything:

  1. Finds hosts with open RTSP ports (554, 8554, 7447, etc.)
  2. Discovers available channels on each camera (supports Hikvision, Dahua, Axis, etc.)
  3. Shows channel status: ✓ OK, ✗ Auth Error, etc.
  4. Validates credentials and shows codec/resolution

Example output:

Found 1 camera(s) with 8 channel(s)

+--------------+------+-------------------------+-------------+--------+
| host         | port | path                    | stream_type | status |
+--------------+------+-------------------------+-------------+--------+
| 192.168.1.10 | 554  | /Streaming/Channels/101 | Main        | ✓ OK   |
| 192.168.1.10 | 554  | /Streaming/Channels/102 | Sub         | ✓ OK   |
| 192.168.1.10 | 554  | /Streaming/Channels/201 | Main        | ✗ Auth |
+--------------+------+-------------------------+-------------+--------+

Status indicators:

  • ✓ OK - Channel accessible with provided credentials
  • ✗ Auth - Channel exists but credentials are wrong/missing
  • ⊘ Forbidden - Access denied

Options

Option Description
-u, --username Username for authentication
-p, --password Password for authentication
--check Verify cameras work using ffmpeg
--simple Minimal output (host, port, status)
--detailed Full output (codec, resolution, fps, bitrate)
--skip-channels Skip channel discovery (ports only)
--timeout SECONDS Connection timeout (default: 2.0s)
--workers NUM Concurrent workers (default: 50)
--output FILE Export results (JSON/CSV)
--debug Enable debug logging
--log-file FILE Log to file

Supported Cameras

  • Hikvision - All 8 channels (101-802)
  • Dahua / Amcrest - Multiple channels
  • Axis - VAPIX streams
  • Foscam - Main/Sub streams
  • Generic - Common RTSP paths

Links

License

MIT

Author

Sanjay H

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

rtsp_network_scanner-2.5.3.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

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

rtsp_network_scanner-2.5.3-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file rtsp_network_scanner-2.5.3.tar.gz.

File metadata

  • Download URL: rtsp_network_scanner-2.5.3.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for rtsp_network_scanner-2.5.3.tar.gz
Algorithm Hash digest
SHA256 a30f195fd2104a1935fc4d69b553b6e02e96852e11b971ea3899add429e48018
MD5 80569decd8ec12ecbf026b05f28d6fce
BLAKE2b-256 5ea0f2a716d43ad4ed9363527c2826d796fa8215ca0649124fb52ec34dc69ee5

See more details on using hashes here.

File details

Details for the file rtsp_network_scanner-2.5.3-py3-none-any.whl.

File metadata

File hashes

Hashes for rtsp_network_scanner-2.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6da30925674a34f8309f3e37e728c7ee65509a8b774aad415279b61e1119e882
MD5 82cc01be5041049e63a2613f41bfcfcf
BLAKE2b-256 d84f6c01adca48e912026922f4cd411d44c9bafa6eb95c5fc0f195b905f491fa

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