vurmerchant.blogg.se

Octoprint on raspberry pi zero w
Octoprint on raspberry pi zero w





octoprint on raspberry pi zero w

I shall await the the new sticky with interest. I'm happy to hack around to try and get it working for my use case, but a lot of newer users are going to be utterly confused as to why their out of the box camera + New RpiZero 2 doesn't work when they follow any of the million guides online. I think a lot of people will fall foul of this. It is possible to enable the old legacy camera stack under Bullseye (I'm just drafting a sticky post with details), but that won't be the default. I haven't tried it personally, but it is there. Libcamera does have a V4L2 emulation layer to make the output look like a V4L2 device. MotionEye isn't going to understand that. libcamera does all the plumbing to transform those into RGB or YUV frames. If you use "v4l2-ctl -list-formats" you'll see that /dev/video0 supports Bayer formats. So how does one add in a driver/module that allows the new libcamera libraries to expose the camera to something like Motioneye? I may well be using the wrong phrasing here, but I hope that makes sense?Įdit: Or I guess another question would be: Is there a simple command I can run that would stand up a live stream from the camera in a reasonable format? After all, I just want to have a URL I can give to Octoprint. Trying to add in an MMAL camera shows no devices. Adding in a local V4L2 /dev/video0 gives me sort of an output, but it's just mainly gibberish. The only problem is that none of the cameras listed actually work. So I proceeded to install it manually (Motioneye), and it runs fine. In the past I've used MotioneyeOS, but I see that they've not yet built it for the new Zero 2. And yes I know that Octoprint can run on the new Zero 2, but as I have rather a lot of plugins, I felt it best to just use the Zero 2 as an external streaming camera instead. My end goal is to use the Zero 2 to be a streaming webcam that I can then use to address from my Octoprint instance running on my RPi 4. I then went on a google trek to try and find out how to actually get a stream going. I then SCPd that file back to my Mac, and can see it in all it's glory.Įxcellent, so that proves it works at least. Code: Select all libcamera-still -o test.jpg







Octoprint on raspberry pi zero w