jamesh wrote:I'm not sure MJPEG will be in the V4L2 driver. It still needs to be supported by the underlying encoder to get decent speed out of it. Although I am not sure why it's not supported. Probably because its never been required.
To the OP - the reason you get a black screen if you leave less than 100ms delay between end of one capture and start of next is that the process the system goes through when captuing is as follows :
Run camera in preview mode
Wait for end of frame, switch camera mode to stills capture (takes 1 frame minimum at 30fps = 30-60ms)
Grab frame (assume a max fame rate of 15fps from the sensor itself, means 60ms approx to capture frame)
Switch camera mode to preview (takes 1 frame minimum at 30fps = 30-60ms)
So, that comes to more than 100ms approx.
Okay, Since I'm not using preview, can I keep the camera in stills mode, 15fps would probably be acceptable.
If not do you know If I can feed video frames into the jpeg encoder, or will it only read from the stills port on the camera (Don't wanna waste time trying if its not possible).
Otherwise, I think I might have to pull some kinda frame from the camera and send it off to the OMX jpeg encoder.