python-detector-worker/start_4_cameras.bat
2025-08-29 19:05:10 +07:00

58 lines
No EOL
1.7 KiB
Batchfile

@echo off
echo ========================================
echo Starting 4-Camera Simulation
echo ========================================
echo.
echo This will open 4 terminal windows for 4 virtual cameras
echo Each camera will use the same webcam but with different ports
echo.
echo Camera URLs will be:
echo Camera 1: http://10.101.1.4:8080/snapshot
echo Camera 2: http://10.101.1.4:8081/snapshot
echo Camera 3: http://10.101.1.4:8082/snapshot
echo Camera 4: http://10.101.1.4:8083/snapshot
echo.
echo Press any key to start all cameras...
pause
echo Starting Camera 1...
start "Camera 1" cmd /k "python multi_camera_simulator.py 1 && pause"
echo Starting Camera 2...
start "Camera 2" cmd /k "python multi_camera_simulator.py 2 && pause"
echo Starting Camera 3...
start "Camera 3" cmd /k "python multi_camera_simulator.py 3 && pause"
echo Starting Camera 4...
start "Camera 4" cmd /k "python multi_camera_simulator.py 4 && pause"
echo.
echo ========================================
echo All 4 cameras started!
echo ========================================
echo.
echo Use these URLs in your CMS:
echo.
echo Camera 1 (Yellow border):
echo ID: webcam-camera-01
echo Snapshot: http://10.101.1.4:8080/snapshot
echo RTSP: rtsp://10.101.1.4:8550/stream
echo.
echo Camera 2 (Magenta border):
echo ID: webcam-camera-02
echo Snapshot: http://10.101.1.4:8081/snapshot
echo RTSP: rtsp://10.101.1.4:8551/stream
echo.
echo Camera 3 (Green border):
echo ID: webcam-camera-03
echo Snapshot: http://10.101.1.4:8082/snapshot
echo RTSP: rtsp://10.101.1.4:8552/stream
echo.
echo Camera 4 (Blue border):
echo ID: webcam-camera-04
echo Snapshot: http://10.101.1.4:8083/snapshot
echo RTSP: rtsp://10.101.1.4:8553/stream
echo.
echo Press any key to exit...
pause