I've been trying to take long exposure (>1s) captures with the raspiraw program by @6by9, but I don't really know in which mode should I put the camera. Ideally, I'd like to capture full resolution (2592x1944) raw images (without Bayer interpolation) with the sensor's default color depth (which is 10bit for OV5647).
I'm setting the "exposure (-e)" parameter to its maximum value (2^20-1), but this doesn't seem to work and it has different behaviours depending on the "mode" parameter.
I've tried the following commands:
- ./raspiraw -md 0 -g 1 -o /dev/shm/out%05d.raw -t 20000 -sr 1 -e 1048575 -ts timestamps.txt
This seems to capture one image every 64ms. This is based on the 'delay' column of the timestamps.txt file. (also, I'm not sure if this is the time between images or the real exposure time).
- ./raspiraw -md 3 -g 1 -o /dev/shm/out%05d.raw -t 20000 -sr 1 -e 1048575 -ts timestamps.txt
In this case the 'delay' column oscillates between 1s, 2s, 3s... sometimes even more..
According to the table of modes in http://picamera.readthedocs.io/en/lates ... nsor-modes, I need to put the sensor in mode 3, where the lower frame rate is 1/6s, which is equivalent to 6s exposure time, so I was expecting to get that exposure time when setting mode 3 and the maximum "-e" parameter... but doesn't seem to be the case...
Any advise on how to get maximum exposure time with raspiraw?
BTW, I'm using a Raspberry Pi 3 with the camera module V1 (OV5647).