usb cams suddenly not working

I have 3 machines running RatOS. I’ve noticed that after a recent update that the USB webcam on each machine isn’t working and it’s just a green spinning circle in the web cam interface. Anyone know of a fix?
5 Replies
eastern-cyan
eastern-cyan9mo ago
Should add I am on crowsnest v4 and have done the previous fix.
miklschmidt
miklschmidt9mo ago
No change has been made to RatOS, so i assume it's a third party thing. Is there anything in the crowsnest log?
eastern-cyan
eastern-cyan9mo ago
On all three machines I tried, cd ~/crowsnest make buildclean make build sudo reboot. Seems to have fixed the issue in two. But problem still persists on the minion for some reason. Log attached for the minion.
miklschmidt
miklschmidt9mo ago
[09/06/23 21:37:48] crowsnest: ERROR: Parameter enable_rtsp
rtsp_port not found in Section [cam 1]. Start skipped!
[09/06/23 21:37:48] crowsnest: WARN: Unknown Mode configured!
[09/06/23 21:37:48] crowsnest: WARN: Using 'mode: mjpg' as fallback!
[09/06/23 21:37:48] crowsnest: ERROR: Parameter enable_rtsp
rtsp_port not found in Section [cam 1]. Start skipped!
[09/06/23 21:37:48] crowsnest: WARN: Unknown Mode configured!
[09/06/23 21:37:48] crowsnest: WARN: Using 'mode: mjpg' as fallback!
What does your crowsnest config look like? This just seems to be a case of wrong settings Ah config is of course in the log:
[09/06/23 21:37:42] crowsnest: INFO: Print Configfile: '/home/pi/printer_data/config/crowsnest.conf'
[09/06/23 21:37:42] crowsnest: [crowsnest]
[09/06/23 21:37:42] crowsnest: log_path: /home/pi/printer_data/logs/crowsnest.log
[09/06/23 21:37:42] crowsnest: log_level: verbose
[09/06/23 21:37:42] crowsnest: delete_log: false
[09/06/23 21:37:42] crowsnest: no_proxy: false
[09/06/23 21:37:42] crowsnest:
[09/06/23 21:37:42] crowsnest: [cam 1]
[09/06/23 21:37:42] crowsnest: mode: camera-streamer
[09/06/23 21:37:42] crowsnest:
[09/06/23 21:37:42] crowsnest: enable_rtsp: false
[09/06/23 21:37:43] crowsnest: rtsp_port: 8554
[09/06/23 21:37:43] crowsnest: port: 8080
[09/06/23 21:37:43] crowsnest: device: /dev/video0
[09/06/23 21:37:43] crowsnest: resolution: 1280x720
[09/06/23 21:37:43] crowsnest: max_fps: 15
[09/06/23 21:37:42] crowsnest: INFO: Print Configfile: '/home/pi/printer_data/config/crowsnest.conf'
[09/06/23 21:37:42] crowsnest: [crowsnest]
[09/06/23 21:37:42] crowsnest: log_path: /home/pi/printer_data/logs/crowsnest.log
[09/06/23 21:37:42] crowsnest: log_level: verbose
[09/06/23 21:37:42] crowsnest: delete_log: false
[09/06/23 21:37:42] crowsnest: no_proxy: false
[09/06/23 21:37:42] crowsnest:
[09/06/23 21:37:42] crowsnest: [cam 1]
[09/06/23 21:37:42] crowsnest: mode: camera-streamer
[09/06/23 21:37:42] crowsnest:
[09/06/23 21:37:42] crowsnest: enable_rtsp: false
[09/06/23 21:37:43] crowsnest: rtsp_port: 8554
[09/06/23 21:37:43] crowsnest: port: 8080
[09/06/23 21:37:43] crowsnest: device: /dev/video0
[09/06/23 21:37:43] crowsnest: resolution: 1280x720
[09/06/23 21:37:43] crowsnest: max_fps: 15
So it seems like the crowsnest you're running on the minion isn't v4
[09/06/23 21:37:32] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services.
[09/06/23 21:37:34] crowsnest: Version: v3.0.7-4-g0bdc1bc
[09/06/23 21:37:32] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services.
[09/06/23 21:37:34] crowsnest: Version: v3.0.7-4-g0bdc1bc
That's why it's not working camera-streamer is a v4 feature
eastern-cyan
eastern-cyan9mo ago
Your right. Don’t know how that had come about as did v4 on all 3 machines at the same time. But thank you