Closed hsztul closed 6 years ago
Hi @hsztul. Sorry to hear you're encountering this issue - it sounds like a buffer size might need to be increased in the underlying C port, either MAX_DATA_BUFFER_SIZE
or MAX_REQUEST_BUFFER_SIZE
. That would be my first guess if you're interesting in experimenting with those values. I will need to look into it more carefully to be sure.
I'm also experiencing this (pi zero, camera v2)
I tried to increase the MAX_DATA_BUFFER_SIZE
to 524288 and the MAX_REQUEST_BUFFER_SIZE
to 8192, but still get this Error with the PI Cam V2 on Raspberry Pi Zero.
I am trying to take photos at full resolution of my camera using a Raspberry Pi 3. Setting the size of the image to anything above 1024x768 and a high quality (80) using:
results in a timeout:
I've tried explicitly changing the timeout calling
GenServer.call(Picam.Camera, :next_frame, 10000)
directly (rather thanPicam.next_frame
) but changing the timeout never results in a successful image.Is there a way around this? or something that I'm perhaps doing wrong here?