add multi cam support
This commit is contained in:
1 parent
5048dbb1ca
commit
1853360506
11 files changed
+108
-22
No files matched your search
@@ -35,6 +35,32 @@ cmake --build build
|
||||
./build/vizionStreamer
|
||||
```
|
||||
|
||||
### Multi-Camera
|
||||
|
||||
Run one instance per camera, each with its own camera index and socket path:
|
||||
|
||||
```bash
|
||||
./build/vizionStreamer --camera 0 --socket /tmp/vizion_cam0.sock &
|
||||
./build/vizionStreamer --camera 1 --socket /tmp/vizion_cam1.sock &
|
||||
```
|
||||
|
||||
Point the control scripts at a specific instance with `VIZION_SOCKET`:
|
||||
|
||||
```bash
|
||||
VIZION_SOCKET=/tmp/vizion_cam0.sock ./scripts/start_stream.sh
|
||||
VIZION_SOCKET=/tmp/vizion_cam1.sock ./scripts/set_pipeline_udp.sh 192.168.1.100 5001
|
||||
```
|
||||
|
||||
Without the env var, scripts default to `/tmp/vizion_control.sock` (single-camera usage).
|
||||
|
||||
CLI options:
|
||||
|
||||
```
|
||||
-c, --camera <idx> Camera index to open (default: auto-detect VCI-AR0234, else 0)
|
||||
-s, --socket <path> Control socket path (default: /tmp/vizion_control.sock)
|
||||
-h, --help Show help
|
||||
```
|
||||
|
||||
### Start Streaming (Default Pipeline)
|
||||
|
||||
In another terminal:
|
||||
|
||||
Reference in new issue
Block a user