qpycam-rtsp Command
The qpycam-rtsp command starts an RTSP streaming server, allowing remote access to the camera feed over a network.
Usage
To start streaming with default settings:
To see all available options:
Commonly Used Options
| Option | Description |
|---|---|
-ct, --camera_type |
Selects the camera type (0: CSI, 1: USB, 2: RTSP). |
-id, --device_id |
Specifies the device ID for USB cameras (default: 2). |
-url, --input_rtsp_url |
RTSP stream URL (only for RTSP cameras). |
-t, --timeout |
Sets the stream duration in ms (0 for infinite). |
For a full list of common options, refer to Common Options.
RTSP Streaming Options
| Option | Description |
|---|---|
--output_ip |
(Required) RTSP server IP address. |
--output_port |
RTSP server port (default: 8900). |
Note
The qpycam-rtsp command does not display video or save files.
Example Usage
-
Stream from the default CSI camera
(Default RTSP URL:
rtsp://192.168.1.100:8900/live) -
Stream from a USB camera (device ID 1)
-
Stream an RTSP input source to another RTSP server