That is certainly feasible. A button could arrange a ru 0 command to pause raspimjpeg releasing the camera interface, do the fixed number of captures and restart raspimjpeg (ru 1).DrMikeG wrote:This work is excellent but this thread is a pain.
I've done my best to read and search the 4000+ posts (with the numerous side tracks onto other projects).
What am I trying to do:
- Capture short time-lapse sequence (1-2 min) at highest possible quality, at the expense of frame rate.
From what I have understood:
1) This project seems to be the main (if not only) web previewer for pi cam
2) raspimjpeg is designed purely for jpeg/mpeg
3) Including raw layer data does not work for time lapse (only single capture)
What I intend to try:
Adding a new button the interface which when pressed will:
a) stop raspimjpeg
b) using raspistill to capture a fixed number of png images (hopefully these will be higher quality / uncompressed)
c) restart raspimjpeg to continue previewing
My questions are:
Q1) Does this sound practical?
Q2) Is there an easier way I have missed?
Many thanks for your time and expertise.
Currently the captures do use a jpeg conversion process in the GPU. Two thought on that; the jpeg quality can be raised to its maximum, it might be possible to add png to the raspimjpeg process.