Webcam stream loading after couple of prints

Camera model
Chinese generic 1080p

What is the problem?
Since I changed to Raspberry 4 a lot of problems with the WebCam. It worked fine for a couple of prints and stopped working. I don' know what more to do.

What did you already try to solve it?
I uploaded everything and I changed octopi.txt with:
camera_usb_options="-r 640x480 -f 3 -y"

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)
Webcam.log

raspi options: -fps 10
http options:  -w ./www-octopi -n --listen 127.0.0.1

Explicitly USB device:
-----------------------------------------------

Found video devices:
/dev/video10
/dev/video11
/dev/video12
/dev/video13
/dev/video14
/dev/video15
/dev/video16
config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found video device$/root/bin/webcamd: line 184: printf: 0x: invalid hex number
/root/bin/webcamd: line 184: printf: 0x: invalid hex number
<13>Oct  3 16:32:32 root: Starting USB webcam
Checking for VL805 (Raspberry Pi 4)...
  - It seems that you don't have VL805 (Raspberry Pi 4).
    There should be no problems with USB (a.k.a. select() timeout)
Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n --listen 127.0.0.1 -i input_uvc.so -r 640x480 -f 10 -d /de$MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
 i: Using V4L2 device.: /dev/video10
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 10
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
Error opening device /dev/video10: video capture not supported.
Init v4L2 failed !! exit fatal
 i: init_VideoIn failed
Done bring up all configured video device

Goodbye...

Starting up webcamDaemon...

Octoprint.log
Attached but I think the more important part is:

2021-10-03 10:41:34,558 - backoff - INFO - Backing off capture_jpeg(...) for 0.8s (requests.exceptions.ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=8080): Read timed out. (read timeout=5))
2021-10-03 10:41:40,409 - backoff - INFO - Backing off capture_jpeg(...) for 0.5s (requests.exceptions.ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=8080): Read timed out. (read timeout=5))

https://drive.google.com/file/d/1uz4NlKWau_AgGR2iBuKSj2Evd6Lg3t_w/view?usp=sharing

Additional information about your setup (OctoPrint version, OctoPi version, ...)

Also if I do the vcgencmd get_camera I obtain:
supported=1 detected=0

That's expected if you are using a USB camera - vcgencmd get_camera will only report about the RPi Camera connected directly to the board in the CSI port.

I change of webcam and it is working fine now :slight_smile: