USB camera stopped working - Insta380 ONER as my web cam

Camera model Insta 360OneR

What is the problem? The camera was running initially but after a few uses now it doesn't want to show any image in the stream!

Screenshot 2020-12-21 121611|612x350

What did you already try to solve it? I am not sure what to do.

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

pi@PrusaMK3S:~ $ journalctl -u webcamd
-- Logs begin at Mon 2020-12-21 00:17:21 PST, end at Mon 2020-12-21 12:03:16 PST
Dec 21 11:47:32 PrusaMK3S systemd[1]: Starting the OctoPi webcam daemon with the
Dec 21 11:47:32 PrusaMK3S webcamd[332]: Starting up webcamDaemon...
Dec 21 11:47:32 PrusaMK3S webcamd[332]: --- Configuration: ---------------------
Dec 21 11:47:32 PrusaMK3S webcamd[332]: cfg_file:      /boot/octopi.txt
Dec 21 11:47:32 PrusaMK3S webcamd[332]: camera:        auto
Dec 21 11:47:32 PrusaMK3S webcamd[332]: usb options:   -r 640x480 -f 10
Dec 21 11:47:32 PrusaMK3S webcamd[332]: raspi options: -fps 10
Dec 21 11:47:32 PrusaMK3S webcamd[332]: http options:  -w ./www-octopi -n
Dec 21 11:47:32 PrusaMK3S webcamd[332]: Explicitly USB device:
Dec 21 11:47:32 PrusaMK3S webcamd[332]: ----------------------------------------
Dec 21 11:47:32 PrusaMK3S webcamd[332]: Found video devices:
Dec 21 11:47:32 PrusaMK3S webcamd[332]: /dev/video10
Dec 21 11:47:32 PrusaMK3S webcamd[332]: /dev/video11
Dec 21 11:47:32 PrusaMK3S webcamd[332]: /dev/video12
Dec 21 11:47:32 PrusaMK3S webcamd[332]: config file='/boot/octopi.txt':USB devic
Dec 21 11:47:33 PrusaMK3S webcamd[332]: /root/bin/webcamd: line 153: printf: 0x:
Dec 21 11:47:33 PrusaMK3S root[442]: Starting USB webcam
Dec 21 11:47:33 PrusaMK3S webcamd[332]: <13>Dec 21 11:47:33 root: Starting USB w
Dec 21 11:47:33 PrusaMK3S webcamd[332]: Running ./mjpg_streamer -o output_http.s
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: starting appl
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: MJPG Streamer
Dec 21 11:47:33 PrusaMK3S webcamd[332]: MJPG Streamer Version: git rev: 501f6362
lines 1-23...skipping...
-- Logs begin at Mon 2020-12-21 00:17:21 PST, end at Mon 2020-12-21 12:03:16 PST. --
Dec 21 11:47:32 PrusaMK3S systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Dec 21 11:47:32 PrusaMK3S webcamd[332]: Starting up webcamDaemon...
Dec 21 11:47:32 PrusaMK3S webcamd[332]: --- Configuration: ----------------------------
Dec 21 11:47:32 PrusaMK3S webcamd[332]: cfg_file:      /boot/octopi.txt
Dec 21 11:47:32 PrusaMK3S webcamd[332]: camera:        auto
Dec 21 11:47:32 PrusaMK3S webcamd[332]: usb options:   -r 640x480 -f 10
Dec 21 11:47:32 PrusaMK3S webcamd[332]: raspi options: -fps 10
Dec 21 11:47:32 PrusaMK3S webcamd[332]: http options:  -w ./www-octopi -n
Dec 21 11:47:32 PrusaMK3S webcamd[332]: Explicitly USB device:
Dec 21 11:47:32 PrusaMK3S webcamd[332]: -----------------------------------------------
Dec 21 11:47:32 PrusaMK3S webcamd[332]: Found video devices:
Dec 21 11:47:32 PrusaMK3S webcamd[332]: /dev/video10
Dec 21 11:47:32 PrusaMK3S webcamd[332]: /dev/video11
Dec 21 11:47:32 PrusaMK3S webcamd[332]: /dev/video12
Dec 21 11:47:32 PrusaMK3S webcamd[332]: config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found v
Dec 21 11:47:33 PrusaMK3S webcamd[332]: /root/bin/webcamd: line 153: printf: 0x: invalid hex number
Dec 21 11:47:33 PrusaMK3S root[442]: Starting USB webcam
Dec 21 11:47:33 PrusaMK3S webcamd[332]: <13>Dec 21 11:47:33 root: Starting USB webcam
Dec 21 11:47:33 PrusaMK3S webcamd[332]: Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video1
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: starting application
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Dec 21 11:47:33 PrusaMK3S webcamd[332]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: Using V4L2 device.: /dev/video10
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: Desired Resolution: 640 x 480
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: Frames Per Second.: 10
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: Format............: JPEG
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: TV-Norm...........: DEFAULT
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: Using V4L2 device.: /dev/video10
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: Desired Resolution: 640 x 480
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: Frames Per Second.: 10
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: Format............: JPEG
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: TV-Norm...........: DEFAULT
Dec 21 11:47:33 PrusaMK3S webcamd[332]: Error opening device /dev/video10: video capture not supported.
Dec 21 11:47:33 PrusaMK3S webcamd[332]: Init v4L2 failed !! exit fatal
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: init_VideoIn failed
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: init_VideoIn failed
lines 1-37...skipping...
-- Logs begin at Mon 2020-12-21 00:17:21 PST, end at Mon 2020-12-21 12:03:16 PST. --
Dec 21 11:47:32 PrusaMK3S systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Dec 21 11:47:32 PrusaMK3S webcamd[332]: Starting up webcamDaemon...
Dec 21 11:47:32 PrusaMK3S webcamd[332]: --- Configuration: ----------------------------
Dec 21 11:47:32 PrusaMK3S webcamd[332]: cfg_file:      /boot/octopi.txt
Dec 21 11:47:32 PrusaMK3S webcamd[332]: camera:        auto
Dec 21 11:47:32 PrusaMK3S webcamd[332]: usb options:   -r 640x480 -f 10
Dec 21 11:47:32 PrusaMK3S webcamd[332]: raspi options: -fps 10
Dec 21 11:47:32 PrusaMK3S webcamd[332]: http options:  -w ./www-octopi -n
Dec 21 11:47:32 PrusaMK3S webcamd[332]: Explicitly USB device:
Dec 21 11:47:32 PrusaMK3S webcamd[332]: -----------------------------------------------
Dec 21 11:47:32 PrusaMK3S webcamd[332]: Found video devices:
Dec 21 11:47:32 PrusaMK3S webcamd[332]: /dev/video10
Dec 21 11:47:32 PrusaMK3S webcamd[332]: /dev/video11
Dec 21 11:47:32 PrusaMK3S webcamd[332]: /dev/video12
Dec 21 11:47:32 PrusaMK3S webcamd[332]: config file='/boot/octopi.txt':USB device was not set in options, start MJPG-streamer with the first found v
Dec 21 11:47:33 PrusaMK3S webcamd[332]: /root/bin/webcamd: line 153: printf: 0x: invalid hex number
Dec 21 11:47:33 PrusaMK3S root[442]: Starting USB webcam
Dec 21 11:47:33 PrusaMK3S webcamd[332]: <13>Dec 21 11:47:33 root: Starting USB webcam
Dec 21 11:47:33 PrusaMK3S webcamd[332]: Running ./mjpg_streamer -o output_http.so -w ./www-octopi -n -i input_uvc.so -r 640x480 -f 10 -d /dev/video1
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: starting application
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Dec 21 11:47:33 PrusaMK3S webcamd[332]: MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: Using V4L2 device.: /dev/video10
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: Desired Resolution: 640 x 480
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: Frames Per Second.: 10
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: Format............: JPEG
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: TV-Norm...........: DEFAULT
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: Using V4L2 device.: /dev/video10
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: Desired Resolution: 640 x 480
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: Frames Per Second.: 10
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: Format............: JPEG
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: TV-Norm...........: DEFAULT
Dec 21 11:47:33 PrusaMK3S webcamd[332]: Error opening device /dev/video10: video capture not supported.
Dec 21 11:47:33 PrusaMK3S webcamd[332]: Init v4L2 failed !! exit fatal
Dec 21 11:47:33 PrusaMK3S webcamd[332]:  i: init_VideoIn failed
Dec 21 11:47:33 PrusaMK3S mjpg_streamer[450]: MJPG-streamer [450]: init_VideoIn failed
Dec 21 11:47:34 PrusaMK3S webcamd[332]: Done bring up all configured video device
Dec 21 11:47:34 PrusaMK3S webcamd[332]: Goodbye...
Dec 21 11:47:34 PrusaMK3S systemd[1]: webcamd.service: Succeeded.
Dec 21 11:47:34 PrusaMK3S systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Dec 21 11:47:34 PrusaMK3S systemd[1]: webcamd.service: Service RestartSec=100ms expired, scheduling restart.
Dec 21 11:47:34 PrusaMK3S systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 1.
Dec 21 11:47:34 PrusaMK3S systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Dec 21 11:47:34 PrusaMK3S systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
Dec 21 11:47:34 PrusaMK3S webcamd[500]: Starting up webcamDaemon...
Dec 21 11:47:34 PrusaMK3S webcamd[500]: --- Configuration: ----------------------------
Dec 21 11:47:34 PrusaMK3S webcamd[500]: cfg_file:      /boot/octopi.txt
Dec 21 11:47:34 PrusaMK3S webcamd[500]: camera:        auto
Dec 21 11:47:34 PrusaMK3S webcamd[500]: usb options:   -r 640x480 -f 10

OctoPrint version --> Version 1.5.2
OctoPi version --> Version 0.17.0, running on Raspberry Pi 4 Model B Rev 1.1

Any help will be appreciated

could be a power related problem

power down the pi, unplug every other usb device (even your printer) and just keep the webcam plugged in
power the pi up again and see if it works

1 Like

Thank you @PrintedWeezl!

I solved the issue by removing the -f part and setting the resolution to 1920x1080

Many thanks for your help!

1 Like