Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ k4a_record_write_capture()

k4a_result_t k4a_record_write_capture ( k4a_record_t  recording_handle,
k4a_capture_t  capture_handle 
)
related

Writes a camera capture to file.

Parameters
recording_handleThe handle of a new recording, obtained by k4a_record_create().
capture_handleThe handle of a capture to write to file.
Returns
K4A_RESULT_SUCCEEDED is returned on success
Remarks
Captures must be written in increasing order of timestamp, and the file's header must already be written.
k4a_record_write_capture() will write all images in the capture to the corresponding tracks in the recording file. If any of the images fail to write, other images will still be written before a failure is returned.