QPyCam CLI Common Options
Many QPyCam CLI commands share common options for configuring camera input, output settings, and video properties. Below are the frequently 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). |
Video Properties
| Option |
Description |
-sw, --source_width |
Sets the video width (default: 1920). |
-sh, --source_height |
Sets the video height (default: 1080). |
-f, --fps |
Frames per second (default: 30). |
--rotate |
Rotates the video (0: None, 1: 90° CW, 2: 90° CCW, 3: 180°). |
--flip_horizontal |
Flips the video horizontally (True/False). |
--flip_vertical |
Flips the video vertically (True/False). |
General Options
| Option |
Description |
-c, --config |
Specifies a configuration file. See Configuration Guide. |
-t, --timeout |
Sets the stream duration in ms (0 for infinite duration). |
For detailed usage, refer to the specific command documentation: