The webcam stream via the web frontend worked 2 months ago. Now it only shows "Webcam Stream Loading" on a black background. When I use the iPad app the cam works just fine but not on the website.
I also tried to change the USB ports but it didn't help. I have the latest version of Octoprint installed.
Brilliant. That means that mjpg_streamer is running and seems to be happy. I'm guessing that you're seeing two images, one a snapshot and one a video. The second one is something like http://octopi.local:8080/?action=stream . Just the / path from before by itself is some HTML which includes both outputs.
You might want to visit your OctoPrint -> Settings -> Webcam & Timelapse and see if that's been changed from the default.
If you're trying to reach your OctoPrint instance using HTTPS then it's possible that it doesn't like trying to include an HTTP stream as part of that for the webcam. In other words, just try http://octopi.local/ rather than https://octopi.local/ .
ive started the mjpeg streamer in SSH following setting up octoprint tutorial. but i cant get a image from the camera like sydthe. ive enabled the cam in sudo raspi-config (which is a bit different on a raspberry 3a+)
When the streamer is running and the led on the picam is on:
-if i go to http://<your Raspi's IP>:8080/ i get: 501: Not Implemented!
no www-folder configured.
-if i go to `http://<your Raspi's IP>:8080/?action=stream the page keeps loading.
when i kill the streamer the led goes off and i cant reach the camera on the above adresses, so i guess it is working partially.
...? If you can't reach the OctoPrint instance then it sounds like you either need to find out why or start over from the beginning.
If the web interface isn't working then it could be that something went wrong during the original install. It could mean that the haproxy service isn't happy. It could mean that the OctoPrint service didn't startup. I'd just suggest that troubleshooting the webcam connectivity is 2nd place right now versus getting the main software itself.
nah mate you are reading it wrong, everything works except the webcam stream, it keeps loading, doesnt show any image at all. i always use my pie`s ip adress instead of octopi.local because octopi.local doesnt work in my network for some reason. so the raspberry is cofigured right. i can print whatever i want. but the camera doesnt work, searched the whole forum for someone with the same issue and that is this dude that made this tread.
So on a Windows workstation, you might be using IE or the Edge browser. I'm pretty sure that they don't like the inline <img src="whatever" /> technique that OctoPrint uses to display the webcam in the Control tab. Try Chrome or Firefox or anything else and see if that displays the webcam.
Also—even from IE—you can visit http://ipaddress:8080/?action=stream and see if this displays.