sdchoni
January 11, 2022, 12:00am
1
Camera model
Logitech C922x
What is the problem?
Webcam Stream not loaded
What did you already try to solve it?
Originally I was on 64bit Raspberry pi and thought that was obviously the problem. Now I'm on 32bit and I'm still running into the same issue
Logs (/var/log/webcamd.log
, syslog, dmesg, ... no logs, no support )
Processing: syslog...
syslog.log (1.1 MB)
Additional information about your setup (OctoPrint version, OctoPi version, ...)
Followed steps from here:
This is a wiki node that every user of this forum at trust level 1 or higher can edit. Find problems, typos, or incorrect information? Please contribute.
Heads-up
If you want to get OctoPrint up and running as fast as possible, it is highly recommended to take a look at OctoPi , which is an SD card image based on Raspbian already prepared with OctoPrint, Webcamsupport, HAProxy and SSL. Just download it, flash it to an SD card and you are good to go -- you can follow this excellent vβ¦
Hi
First of all I would suggest to use the Octopi image. The cam should work out of the box with it.
Back to your issue: Did you create the webcam startup script? If yes - please post the output of sudo systemctl status webcamd
.
Also which streaming url are you using?
sdchoni
January 11, 2022, 12:57am
3
pi@raspberrypi:~ $ systemctl status webcamd
β webcamd.service - Camera streamer for OctoPrint
Loaded: loaded (/etc/systemd/system/webcamd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-01-10 17:57:29 CST; 1h 16min ago
Main PID: 605 (webcamDaemon)
Tasks: 3 (limit: 4915)
CPU: 218ms
CGroup: /system.slice/webcamd.service
ββ605 /bin/bash /home/pi/scripts/webcamDaemon
ββ625 ./mjpg_streamer -o output_http.so -w ./www -i input_uvc.so -r 1920x1080 -f 30
Jan 10 17:57:30 raspberrypi mjpg_streamer[625]: MJPG-streamer [625]: HTTP TCP port........: 8080
Jan 10 17:57:30 raspberrypi mjpg_streamer[625]: MJPG-streamer [625]: HTTP Listen Address..: (null)
Jan 10 17:57:30 raspberrypi mjpg_streamer[625]: MJPG-streamer [625]: username:password....: disabled
Jan 10 17:57:30 raspberrypi mjpg_streamer[625]: MJPG-streamer [625]: commands.............: enabled
Jan 10 17:57:30 raspberrypi mjpg_streamer[625]: MJPG-streamer [625]: starting input plugin input_uvc.so
Jan 10 17:57:30 raspberrypi mjpg_streamer[625]: MJPG-streamer [625]: starting output plugin: output_http.so (ID: 00)
Jan 10 17:57:40 raspberrypi webcamDaemon[625]: i: select() timeout
Jan 10 17:57:40 raspberrypi webcamDaemon[625]: i: cleaning up resources allocated by input thread
Jan 10 17:57:40 raspberrypi mjpg_streamer[625]: MJPG-streamer [625]: select() timeout
Jan 10 17:57:40 raspberrypi mjpg_streamer[625]: MJPG-streamer [625]: cleaning up resources allocated by input thread
octopi.local/webcam/?action=stream
and
(pi local ip address)/webcam/?action=stream
Trying to use PINN with this, tbh I probably should have used the image, but I was stubborn
try http://<your Raspi's IP>:8080/?action=stream