VAOC camera, wrong camera, how to swap
For some reasons, my VAOC camera is now swapped with the chamber camera, making the VAOC unusable,
I cannot find a way to force ratos using the VAOC camera.
below is my crowsnest,conf:



4 Replies
[crowsnest]
log_path: /home/pi/printer_data/logs/crowsnest.log
log_level: verbose # Valid Options are quiet/verbose/debug
delete_log: false # Deletes log on every restart, if set to true
no_proxy: false
[cam 1]
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 8554 # Set different ports for each device!
port: 8080 # HTTP/MJPG Stream/Snapshot Port
device: /dev/video0 #/dev/usb-3DO_3DO_NOZZLE_CAMERA_V2_3DO-video-index0 # See Log for available ...
resolution: 1920x1080 # widthxheight format
max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
[cam 2]
mode: camera-streamer # ustreamer - Provides mjpg and snapshots. (All devices)
# camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only)
enable_rtsp: true # If camera-streamer is used, this enables also usage of an rtsp server
rtsp_port: 18554 # Set different ports for each device!
port: 8081 # HTTP/MJPG Stream/Snapshot Port
device: /dev/video2 #/dev/usb-046d_B525_HD_Webcam_0F602A90-video-index0 # See Log for available ...
resolution: 1920x1080 # 320x240 #640x480 # 1920x1080 # widthxheight format
max_fps: 6 # If Hardware Supports this it will be forced, otherwise ignored/coerced.
#custom_flags: # You can run the Stream Services with custom flags.
#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
Solution
SOrted by inverting the addresses,
Try like this
SOLVED
None of what has been posted works for my situation. I have the VAOC cam as well as the 3DO chamber cam. After installing the chamber cam via Mainsail, the VAOC would use that one. I could revise the code and it'd see the VAOC camera, but then I'd lose the chamber camera.
The key, for me, was to look at the end of crowsnest.log file. Both cameras were being recognized, and it gave the names to use for the video feed.
INFO: Detect available Devices
[06/15/25 19:35:47] crowsnest: INFO: Found 2 total available Device(s)
[06/15/25 19:35:47] crowsnest: INFO: Found 2 available v4l2 (UVC) camera(s)
To my surprise, the VAOC camera was being recognized at dev/video2
/dev/v4l/by-id/usb-3DO_Rat_Rig_VAOC_Camera_3DO-video-index0 -> /dev/video2
The chamber camera was being recognized as a nozzle cam dev/video0
[06/15/25 19:35:47] crowsnest: /dev/v4l/by-id/usb-3DO_3DO_NOZZLE_CAMERA_V2_3DO-video-index0 -> /dev/video0
I confirmed this by unpluggingthe 3DO chamber camera from the USB port, and then checked the log, where it found only 1 camera, the VAOC one, still called dev/video2. I reconnected the 2nd camera, and went into crowsnest.config assigning them that way. You can see that I commented out the rtsp because it did not help matters.
Then, clicking the gear icon at the top of mainsail, for settings, I added the RATCAM as shown in the image for lines 1 and 2
/webcam2/?action=stream
/webcam2/?action=snapshot
My exact values ( dev/video2, dev/video0) work for how things got recognized on my machine. Your machine might be different. But just check the crowsnest.log to see what to call each one in your crowsnest.config file.
I hope this helps you or somebody.


