Temporarily using different acquisition stream of camera

I am using a camera in continuous acquisition, but occasionally (periodically), I would like to suspend the acquisition, set different parameters (pixel format), acquire a single frame, rollback the parameters, and resume continuous acquisition.

Is there a way to detach stream from camera, use the temporary one (as in arv_camera_acquisition) and re-attach the other stream to the camera again? Or do I need to properly de-allocate buffers, delete stream, and then create the stream from scratch again?

Hi,

No, it is not possible to swap streams. But it should be possible to pause the stream to change to camera parameters, as long as the buffers are big enough to store the images with the different settings. Have a look at tests/arvroitest.c.

Emmanuel.