Add display option and device-id support to launch-ids.py

- Added --display option for 1/4 sized preview window using autovideosink
- Added --camera-id and --device-id options for camera selection
- Added UDP control commands: SET_CAMERA_ID, GET_CAMERA_ID, SET_DEVICE_ID, GET_DEVICE_ID
- Updated GStreamer idsueyesrc element to support device-id property
- device-id uses IS_USE_DEVICE_ID flag for system enumeration
- camera-id continues to use user-definable ID (0 for first found)
- Updated STATUS command to include camera_id and device_id
This commit is contained in:
yair
2025-11-16 03:19:42 +02:00
parent 245f26e069
commit 8880dbf3cf
3 changed files with 119 additions and 3 deletions

View File

@@ -51,6 +51,7 @@ struct _GstIdsueyeSrc
/* properties */
gint camera_id;
gint device_id;
gchar *config_file;
gint num_capture_buffers;
gint timeout;