I'm having a similar error here. I have 2 instances of OctoPrint running on a Pi 4B (simultaneous printing works great!) , PiCam2 and an old Microsoft LifeCam on USB. PiCam2 just works.
I can see the stream from the LifeCam if I manually run mjpg_streamer "pointing" at /dev/video1 and punch in the URL on my browser (http://xxx.xxx.xxx.xxx:8081/?action=stream) but adding that URL to the Webcam settings in my 2nd instance of OctoPrint doesn't seem to work. If I click Test, I get a cached image, but there's no stream and not even a video "window" under Control for this instance.
Without the manual start of mjpg_streamer, if I fire up the GUI and run Cheese, I see the LifeCam stream and the PiCam stream is working in the 1st instance of OctoPrint.
I'm sure I'm overlooking something simple, but after 2 evenings of trying, I'm just not seeing it.
After rebooting the Pi this afternoon, the new video stream is all of a sudden working. I now have both the PiCam2 and the USB camera working at the same time. I still have to start the video stream for the USB camera manually, but at least I know it works...
Hi Folks,
I recently rebuilt my Laptop with LinuxMint 20. After sucxessful Installation of OctoPrint with Python 3.x I ran into the same Issue with my C270 Cam. After some searching in the scripts I found some famous copy-/paste errors.
The username for /home/your_username/webcam and Daemon was wrong.
Too easy that I needed some times to figure out the real problem...
Now I need to change some settings in UDEV, to prevent from Using the internal webcam.
Yup same for me. I have the 5MP Camera Module (ribbon cable) and those two commands solved my issue. It also prompted me to upgrade Octoprint again and it broke again. So I won't be doing any updates for a time.
Hi
I'm using Raspberry Pi4 and raspberry pi camera on Octoprint 0.17.0,
but if fails to show any image, I've tried multiple options with no avail.
The latest being:
sudo apt-get update --fix-missing
sudo apt-get upgrade
sudo raspi-config
sudo reboot
I've tried multiple browser all with the same issue.
When I go to control Tab to see webcam image I get: " Webcam stream not loaded"
When I go to /webcam/?action=stream i get "The webcam server is currently not running"
I've already tried editing octopi.txt and enable the cam, but the issue remains.
Well there you are, the camera is not detected. Something is probably wrong with the camera ribbon or the board itself. Make sure it is properly seated and the right way around.
So I thought I'd pop in with my odd findings. I was having a similar problem where the camera (USB Logitech C270) would work one day, and then fail to work on a reboot with no consistency.
I happened to get a new Raspberry Pi kit with a different power supply, and was troubleshooting at my PC with the new power supply. Worked on every start-up. Then I took it to my printer location with the old power supply, and it wouldn't load up. Camera starts ( camera LED on), then shuts down during Octoprint boot.
Moved the new power supply to the printer location and the camera is starting up without issue.
Old Power Supply: Came with Canakit Pi 4 Starter Kit.
New Power Supply: Came with Labists Pi 4 Starter Kit.
After a lot of tinkering with the cable with the pi turned off.
I'm getting:
pi@octopi:~ $ vcgencmd get_camera
supported=1 detected=1
but still no image.
now when i go to "control" i get " Webcam stream loading... "
I've reinstalled octoprint and issue remains.
I have Octopi Version 0.18.0, running on Raspberry Pi 3 Model B Plus Rev 1.3
Ok, I have brand new installs of Octoprint, Feb 17, 2021, everything works except I can't get mjpg-streamer to come up. Within the Octoprint interface, the raspi cam Webcam tab displays the camera feed no issues.