Movie Capture

This page shows how to capture movies with connected camera device using RICOH Camera USB SDK.

In order to capture movie, the following preparations are required.

  • Insert the SD card in the camera body
  • Operate the camera body to set the movie mode

For devices that support to capture movie, please refer to Appendix.

Contents

The following classes are used when you capture movie:

CameraDevice

  • The CameraDevice class represents a camera device.
  • This class includes methods for obtaining camera information and operating camera device.

Start Capture Movie

Use the startCapture method to start movie capturing.

StartCaptureResponse startCaptureResponse = cameraDevice->startCapture();
if (startCaptureResponse.getResult() == Result::Ok) {
    std::cout << "Capturing Movie has started. Capture ID: "
              << startCaptureResponse.getCapture()->getId()
              << std::endl;
} else {
    std::cout << "Capturing Movie is FAILED. detail: "
              << startCaptureResponse.getErrors()[0]->getMessage()
              << std::endl;
}

Stop Capture Movie

Use the stopCapture method to stop movie capturing.

Response response = cameraDevice->stopCapture();
std::cout << "StopCapture is "
          << (response.getResult() == Result::Ok ? "SUCCEED." : "FAILED.")
          << std::endl;

How to Focus and Capture, How to Check Capture Status, How to Obtain Captured Image process is the same as Still Image Capture.

See Also