🇺🇦 We stand with Ukraine! 🇺🇦

4k resolution on pi cam 2.1

Hi, is there any way I can get octoprint/octolapse to capture 4k images on a raspberry pi cam v2.1 module? I've read it can take 4k still photos, and that's what you need for octolapse, of what I've understood.
I've only seen posts on forums on how to upscale it to 1080p, but if it could take 4k it would be nice.
I use a raspberry pi 3b+ if that matters.

Thanks :slight_smile:

See below - you'll have to configure the stream resolution & FPS to something that the camera supports.
https://picamera.readthedocs.io/en/release-1.12/fov.html#camera-modes

Be aware that streaming at 4k will consume quite a lot of bandwidth, using mjpg streams. They eat it for breakfast.

2 Likes

Thanks! I'm trying it out now :slight_smile:

If you are using the raspicam in 'USB mode' you may also need to specify extra kernel module params, as noted here: https://github.com/pikvm/ustreamer#raspberry-pi-camera-example