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
# 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:
- Finds hosts with open RTSP ports (554, 8554, 7447, etc.)
- Discovers available channels on each camera (supports Hikvision, Dahua, Axis, etc.)
- Shows channel status: ✓ OK, ✗ Auth Error, etc.
- 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 |
--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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rtsp_network_scanner-2.5.4.tar.gz.
File metadata
- Download URL: rtsp_network_scanner-2.5.4.tar.gz
- Upload date:
- Size: 51.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f69d9b850a32658868d0545849a0e5d8405f3938c83b0773b52e8595c5353f3
|
|
| MD5 |
240c0cec2c3ada0214da23775c46ea24
|
|
| BLAKE2b-256 |
4363ddb3a280bf556a7bda482b7b18a61a9016888b17da368da491c7f62e0e1e
|
File details
Details for the file rtsp_network_scanner-2.5.4-py3-none-any.whl.
File metadata
- Download URL: rtsp_network_scanner-2.5.4-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab87cf0f012622bc3cf9eadc317076f43c2304190ba4581d25aca4ef75739217
|
|
| MD5 |
e251a73b21b20995f5d029cdf88e8e79
|
|
| BLAKE2b-256 |
563b3631561a471af7c13231b8f7ba91cf16168cbabe6925da347784c51b0c42
|