ClonerAlliance Capture SDK

SDK Guides

How to use ClonerAlliance Capture SDK

  1. Invoke SDK Library file in your project

Example c++ code:

#include "C:\Program Files(x86)\ClonerAlliance Capture SDK\include\ACaptureLib.h"
#pragma comment(lib,"C:\Program Files(x86)\ClonerAlliance Capture SDK\lib\ACaptureLib.lib")
  1. Use SDK API to complete your software

  2. Copy the files in the directory of C:\Program Files(x86)\ClonerAlliance Capture SDK\bin to your output directory.

  3. Run and debug your application.

How to develop capture program

Please use the SDK per the steps below:

  1. Initialize library -> Open the device -> Start recording ->Stop recording ->Close the device -> Release library

  2. Change the setting of the device. Please restart your device if you adjust the preview video setting.

  3. If you want to adjust the recording setting, please stop recording first.

  4. For more details, please refer to demo Examples program.

How to improve the recorded video’s quality?

The settings related to video quality are below:

  • Fps:We recommend to select 60fps to reduce video freeze issue.

  • Bitrate: We recommend to select 10M bitrate which can save the most of the details.

  • Speed:Compression speed is the main video quality setting. The higher the value is, the quality is better, but the compression speed is slower. You need an excellent CPU computer to realize it.

  • In addition, the device’s output is also a factor to affect video quality. YUY2’s quality is better than MJPG.

How to release your software?

When developers finish all setting and want to release the software, it can be packed the files in C:\Program Files(x86)\ClonerAlliance Capture SDK\bin and public directly. Please note that each version needs to use different code to register. To be specific, each version needs a new code to register. Or the code will be invalid.

How to register?

The steps of registering API:

Initialize library(API:Initialize)-> Register(API:CA_Register)->Release library(API:CA_Release)

You just need to register once, it will record your registration information automatically. You don’t need to register again.

How to enable GPU acceleration encoder engine?

GPU acceleration encoder engine includes cudax26, amdx264, and interx264. Please install the latest video card driver, then you can select accordingly.