balena-io-experimental / balena-octoprint

Remotely control your 3d-printer with Octoprint and balena!
Apache License 2.0
31 stars 44 forks source link

Enabling raspbery pi camera #10

Open minusplusminus opened 4 years ago

minusplusminus commented 4 years ago

Hi,

I was wondering if there are specific settings needed for a rpi camera?

When I looked at https://github.com/nunofgs/docker-octoprint I see that it uses /dev/video0 standard. But I see that /dev/vchiq is available too on the docker.

Kind regards,

Martijn

Awk34 commented 3 years ago

+1

Even after adding start_x=1 and gpu_mem=128, I still can't view the webcam. I get a 404 for the stream test and the following when trying to take a snapshot:

 ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /?action=snapshot
phil-d-wilson commented 2 years ago

@minusplusminus @Awk34

Just thought I would let you know that I've recently got into 3D printing and want to maintain/improve this repo. I also want to get the RPI camera and USB Webcams working in Octoprint with as little friction as I can manage.

I'll try to keep you updated with my progress. :)

Phil