Meanwhile, I reverted back to the webcamd version of Octopi and Octoprint (0.18.0 and 1.9.0). I was able to get all three cameras working with the article Setting up multiple webcams.
Still, I was wondering what I missed using the new camera stack version...
Again, thanks for helping.
Stephan
I did follow these instructions and have configured all three cameras without problems. But I seem to be able to only see the one on port 8080. How can I access the other cameras (the configuration files are there, showing ports 8081 and 8082).
Thanks
Sorry for missing replying to this one - can you make sure that you have updated the 'Pi Support' plugin, so that the system info bundle can capture the log files of the new camera stack as well? It should be version 2023.5.24.
After that is updated, with your multiple cameras setup, connected and configured as you want, share a new systeminfo bundle and hopefully the logs may shed some light on what is broken.
Hello Charlie. Thanks so much for your support. I have updated all the plugins, including the Pi Support plugin and created a new systeminfo bundle. It is attached to this message.
As before, all three cameras seem to be configured with their .conf files present in /boot/camera-streamer. Hope this helps to find a solution...
Best regards
Stephan octoprint-systeminfo-20230605223156.zip (24.4 KB)
All three cameras are recognised by the system, so that's a good start.
Your 'oldCam' camera doesn't seem to support the YUVY capture mode, only providing JPEG mode. In the config file for that one, try switching FORMAT=YUVY to show FORMAT=JPEG.
Is it the C270 that is working?
I can't see anything obvious for the 'chinaCam' that is an error. Earlier today, I had an issue with my setup where it showed 'server error' when I booted my Pi on my second camera, with no obvious error in the logs. Running sudo camera-streamer-control restart fixed that one and both my cameras were back working again, so give that a try.
So, I changed the oldCam to JPEG. Nothing changed, however
You are correct, the logitech is the camera that works on port 8080. If I try the camera on 8081 (chinaCam) I get "Server Error", and if I try the camera on 8082 (oldCam) I get "Error: Connection failed". That is somehow strange...
I also tried to restart camera-streamer-control like you suggested. No change. Is there anything I can do (or provide any log) to get to the bottom of this?? Again, thank you so much for your effort.
Stephan
Just working through this myself, I needed to change the FORMAT to MJPEG in my case for my random brand of USB cam, had the same server error.
The other thing I changed the the resolution to one I knew the camera supported.
I have editied my haproxy.cfg to try and get the other camera visible under webcam2,
Good to know, that I am not alone in this.
I will try the MJPEG, but I am on vacation right now and I won't have an opportunity to investigate this further until next weekend...