Webcam stream not working but snapshot is

I'm Rather new to octoprint. running a raspberry pi 3, raspberry pi camera v2.

the snapshot comes up but the stream wont load. Capture

I ran sudo apt-get update and sudo apt-get upgrade
then i ran sudo-rapi-cofig and enabled the camera.

can anyone shed some light on how to get this to work?

Checkout the stream url (your image shows you where to find it).
Seems like the pi ip is missing in the url.

That's actually normal on the default config of OctoPi, it's simply a relative URL.

My bad. Sry @tsd66 :slight_smile:

Are you trying to access the web interface of OctoPrint from Windows? If so, try a different browser like Chrome.

Tried with chrome already, basically the Snapshot shows, but the stream is blank.

How about http://octopi.local:8080/?action=stream from your browser by itself?

Otherwise, cough up some logs.

I had a similar problem. I was able to get a stream working by installing octoprint anywhere and configuring the camera from their web-interface. It seems the install changed something that I couldn't find on my own. Maybe it will help you too.

This worked but with a change. I put the IP address of the pi in the line.
This is the entire line in the stream address:
http://192.168.40.22:8080/?action=stream
You will need to change the IP to your PI's IP
(PI is IP backwards FYI) lol

1 Like

I have trawled the web, learned more about BB coding than I ever thought I would, and none of that worked, not a jot of it, and here you are with the absolute answer. You’re an absolute star Thank you.

That post you refer to is way over 3 years old.
Things have changed.

Are you sure you still run the software of that era?

I know what you mean about the age of the post, and the current flavour of octoprint, though the one piece of information I was missing was the reference to the stream feed http://octopi.local:8080/?action=stream, nothing produced a stream, until I used that method, and there was no information anywhere else, about changing the feed address. I have just purchased a raspicam module 3 noir, and I knew it was working, because I tested it on full blown raspi OS builds, but couldn’t get it to work with octopi 1.9.1. I spent too many hours yesterday trying to get it to work.

So if there is a better way that I missing to get the stream working, I would be really grateful if you could point me in the right direction.

My experience with raspi is very limited, though I have coded on other systems, but believe my understanding of other systems doesn’t help at all when it comes to raspi, as some of the time I end up thinking I know what I’m doing, and get it very wrong, and have to format and reinstall.

Thank you for getting back to me, and for the original post, though maybe not ideal, it does work, and that a vast improvement on the blank stream, I had previously.

I´ve got the same problem as you (original poster) but saw that too late.
O.K., When I put "http://192.168.0.222:8081/video.mp4" into my browser, I can see the stream. But: stupid as I am I can´t figure out what to put into the stream URL inside Octoprint to get it running...

The IP adress of course is the IP adress of the raspi...I am viewing from a laptop...

@3rdEye

You already opened a thread on this topic.

There is no need to link into a 3 year old thread.